Skip to content

Commit 133d2db

Browse files
authored
Merge pull request #2528 from adobe/2524-fix-property-overrides
Fix legacy property overrrides.
2 parents aaa42bf + f73b585 commit 133d2db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

server/src/main/java/com/adobe/testing/s3mock/S3MockApplication.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ public class S3MockApplication {
6161
/**
6262
* Property name for passing a comma-separated list of buckets that are to be created at startup.
6363
*/
64-
public static final String PROP_INITIAL_BUCKETS = "com.adobe.testing.s3mock.domain.initialBuckets";
64+
public static final String PROP_INITIAL_BUCKETS = "com.adobe.testing.s3mock.store.initialBuckets";
6565
private static final String LEGACY_PROP_INITIAL_BUCKETS = "initialBuckets";
6666

6767
/**
6868
* Property name for passing a root directory to use. If omitted a default temp-dir will be used.
6969
*/
70-
public static final String PROP_ROOT_DIRECTORY = "com.adobe.testing.s3mock.domain.root";
70+
public static final String PROP_ROOT_DIRECTORY = "com.adobe.testing.s3mock.store.root";
7171
private static final String LEGACY_PROP_ROOT_DIRECTORY = "root";
7272

7373
/**
@@ -212,9 +212,9 @@ private static Map<String, Object> translateLegacyProperties(Map<String, Object>
212212
translateLegacyProperty(translated, PROP_ROOT_DIRECTORY, LEGACY_PROP_ROOT_DIRECTORY);
213213
translateLegacyProperty(translated, PROP_INITIAL_BUCKETS, LEGACY_PROP_INITIAL_BUCKETS);
214214
translateLegacyProperty(translated,
215-
"com.adobe.testing.s3mock.domain.retainFilesOnExit", "retainFilesOnExit");
215+
"com.adobe.testing.s3mock.store.retainFilesOnExit", "retainFilesOnExit");
216216
translateLegacyProperty(translated,
217-
"com.adobe.testing.s3mock.domain.validKmsKeys", "validKmsKeys");
217+
"com.adobe.testing.s3mock.store.validKmsKeys", "validKmsKeys");
218218
translateLegacyProperty(translated,
219219
"com.adobe.testing.s3mock.httpPort", "http.port");
220220
return translated;

0 commit comments

Comments
 (0)