This repository was archived by the owner on Sep 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
main/java/com/marklogic/appdeployer
test/java/com/marklogic/appdeployer Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,13 @@ public AppConfig newAppConfig() {
118
118
logger .info ("Flexrep path: " + prop );
119
119
c .setFlexrepPath (prop );
120
120
}
121
+
122
+ prop = getProperty ("mlGroupName" );
123
+ if (prop != null ) {
124
+ logger .info ("Group name: " + prop );
125
+ c .setGroupName (prop );
126
+ }
127
+
121
128
return c ;
122
129
}
123
130
Original file line number Diff line number Diff line change @@ -56,7 +56,8 @@ public void allProperties() {
56
56
p .setProperty ("mlConfigDir" , "src/test/resources/sample-app/empty-ml-config" );
57
57
p .setProperty ("mlSimpleSsl" , "anyvalue" );
58
58
p .setProperty ("mlModulesDatabaseName" , "my-modules" );
59
-
59
+ p .setProperty ("mlGroupName" , "other-group" );
60
+
60
61
sut = new DefaultAppConfigFactory (new SimplePropertySource (p ));
61
62
AppConfig config = sut .newAppConfig ();
62
63
@@ -75,6 +76,7 @@ public void allProperties() {
75
76
assertNotNull (config .getRestSslContext ());
76
77
assertNotNull (config .getRestSslHostnameVerifier ());
77
78
assertEquals ("my-modules" , config .getModulesDatabaseName ());
79
+ assertEquals ("other-group" , config .getGroupName ());
78
80
}
79
81
80
82
@ Test
You can’t perform that action at this time.
0 commit comments