Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down
Loading