This repository was archived by the owner on Sep 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
main/java/com/marklogic/appdeployer
test/java/com/marklogic/appdeployer Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
group =com.marklogic
2
2
javadocsDir =../gh-pages-marklogic-java/javadocs
3
3
version =3.1-alpha4
4
- mlJavaclientUtilVersion =3.1-alpha4
4
+ mlJavaclientUtilVersion =3.1-alpha6
5
5
mlJunitVersion =3.1-alpha1
6
6
Original file line number Diff line number Diff line change @@ -75,6 +75,12 @@ public AppConfig newAppConfig() {
75
75
c .setSchemasDatabaseName (prop );
76
76
}
77
77
78
+ prop = getProperty ("mlTriggersDatabaseName" );
79
+ if (prop != null ) {
80
+ logger .info ("Triggers database name: " + prop );
81
+ c .setTriggersDatabaseName (prop );
82
+ }
83
+
78
84
/**
79
85
* Defines the MarkLogic host that requests should be sent to. Defaults to localhost.
80
86
*/
Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ public void allProperties() {
111
111
p .setProperty ("mlContentDatabaseName" , "my-content-db" );
112
112
p .setProperty ("mlModulesDatabaseName" , "my-modules" );
113
113
p .setProperty ("mlSchemasDatabaseName" , "my-schemas-db" );
114
+ p .setProperty ("mlTriggersDatabaseName" , "my-triggers-db" );
114
115
p .setProperty ("mlSchemasPath" , "/my/schemas" );
115
116
p .setProperty ("mlDeleteForests" , "false" );
116
117
p .setProperty ("mlDeleteReplicas" , "false" );
@@ -186,6 +187,7 @@ public void allProperties() {
186
187
assertEquals ("my-content-db" , config .getContentDatabaseName ());
187
188
assertEquals ("my-modules" , config .getModulesDatabaseName ());
188
189
assertEquals ("my-schemas-db" , config .getSchemasDatabaseName ());
190
+ assertEquals ("my-triggers-db" , config .getTriggersDatabaseName ());
189
191
assertEquals ("/my/schemas" , config .getSchemasPath ());
190
192
assertFalse (config .isDeleteForests ());
191
193
assertFalse (config .isDeleteReplicas ());
You can’t perform that action at this time.
0 commit comments