From a4b40481fbff05aded978014962d94ca13c91308 Mon Sep 17 00:00:00 2001 From: Alex Karpovich Date: Thu, 25 Jun 2026 18:59:19 +0300 Subject: [PATCH 1/2] [*] CI, clean-up --- .github/workflows/release.yml | 2 ++ .../deltix/qsrv/config/QuantServiceConfig.java | 18 +++++++----------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 53a3bacf..332cece3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -151,6 +151,8 @@ jobs: with: java-version: 11 distribution: 'temurin' + - name: Build with gradle + run: ./gradlew build - name: Publish jars run: > ./gradlew :java:timebase:aerondirect:publish :java:timebase:commons:publish :java:timebase:s3:publish diff --git a/java/timebase/commons/src/main/java/com/epam/deltix/qsrv/config/QuantServiceConfig.java b/java/timebase/commons/src/main/java/com/epam/deltix/qsrv/config/QuantServiceConfig.java index def6478e..33cd6bc8 100644 --- a/java/timebase/commons/src/main/java/com/epam/deltix/qsrv/config/QuantServiceConfig.java +++ b/java/timebase/commons/src/main/java/com/epam/deltix/qsrv/config/QuantServiceConfig.java @@ -189,32 +189,28 @@ public void setPropertySoft (String key, Object value) { setPropertySoft (myType, key, value); } + /** + * @param key property key + * @return String value of the property, null if value is not present. + */ public String getString (String key) { return (getString(key, null)); } /** - * * @param key property key * @param defaultValue default value - * @return String value of the property, null if property is not present. + * @return String value of the property, defaultValue if property is not present. */ public String getString (String key, String defaultValue) { - String fullName = prefix(myType) + key; return (getString(myType, key, defaultValue)); } /** - * * @param key property key - * @param useSystemDefault use system variable with same name as default value - * @return String value of the property, null if property is not present. + * @param defaultValue default value + * @return Integer value of the property, defaultValue if property is not present. */ - public String getString (String key, boolean useSystemDefault) { - String fullName = prefix(myType) + key; - return (getString(myType, key, useSystemDefault ? System.getProperty(fullName) : null)); - } - public int getInt (String key, int defaultValue) { return (getInt(myType, key, defaultValue)); } From 609e19fa298de667ea3c16686e8b8e49ca7adb43 Mon Sep 17 00:00:00 2001 From: Alex Karpovich Date: Thu, 25 Jun 2026 19:02:17 +0300 Subject: [PATCH 2/2] [*] CI --- .../buildtools/SonatypeCentralPortalUploadRepositoryTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/java/deltix/buildtools/SonatypeCentralPortalUploadRepositoryTask.java b/buildSrc/src/main/java/deltix/buildtools/SonatypeCentralPortalUploadRepositoryTask.java index 6f420f0b..555125b5 100644 --- a/buildSrc/src/main/java/deltix/buildtools/SonatypeCentralPortalUploadRepositoryTask.java +++ b/buildSrc/src/main/java/deltix/buildtools/SonatypeCentralPortalUploadRepositoryTask.java @@ -168,7 +168,7 @@ private static int uploadRepository(URI apiUri, String bearer, String repository int status = -1; HttpURLConnection conn = null; try { - String endpoint = apiUri.resolve("/manual/upload/repository/" + repositoryKey + "?publishing_type=automatic").toString(); + String endpoint = apiUri.resolve("/manual/upload/repository/" + repositoryKey + "?publishing_type=user_managed").toString(); conn = (HttpURLConnection) new URL(endpoint).openConnection(); conn.setConnectTimeout(CONNECTION_TIMEOUT); conn.setReadTimeout(CONNECTION_TIMEOUT);