Skip to content

Commit b742b5f

Browse files
bsrikanSameeraPriyathamTadikonda
authored andcommitted
DHFPROD-4119: hubDeploy now deploys lsqt configurations
1 parent 64c5b0c commit b742b5f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

marklogic-data-hub/src/main/java/com/marklogic/hub/dhs/DhsDeployer.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import com.marklogic.appdeployer.command.tasks.DeployScheduledTasksCommand;
1515
import com.marklogic.appdeployer.command.temporal.DeployTemporalAxesCommand;
1616
import com.marklogic.appdeployer.command.temporal.DeployTemporalCollectionsCommand;
17+
import com.marklogic.appdeployer.command.temporal.DeployTemporalCollectionsLSQTCommand;
1718
import com.marklogic.appdeployer.command.triggers.DeployTriggersCommand;
1819
import com.marklogic.client.ext.SecurityContextType;
1920
import com.marklogic.client.ext.helper.LoggingObject;
@@ -183,6 +184,7 @@ protected List<Command> buildCommandsForDeveloper(HubConfig hubConfig) {
183184

184185
commands.add(new DeployTemporalAxesCommand());
185186
commands.add(new DeployTemporalCollectionsCommand());
187+
commands.add(new DeployTemporalCollectionsLSQTCommand());
186188
commands.add(new DeployTriggersCommand());
187189
commands.add(new LoadSchemasCommand());
188190
commands.add(new DeployScheduledTasksCommand());

marklogic-data-hub/src/test/java/com/marklogic/hub/dhs/DeployAsDeveloperTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import com.marklogic.appdeployer.command.tasks.DeployScheduledTasksCommand;
1414
import com.marklogic.appdeployer.command.temporal.DeployTemporalAxesCommand;
1515
import com.marklogic.appdeployer.command.temporal.DeployTemporalCollectionsCommand;
16+
import com.marklogic.appdeployer.command.temporal.DeployTemporalCollectionsLSQTCommand;
1617
import com.marklogic.appdeployer.command.triggers.DeployTriggersCommand;
1718
import com.marklogic.client.ext.SecurityContextType;
1819
import com.marklogic.hub.DatabaseKind;
@@ -182,14 +183,15 @@ public void buildCommandList() {
182183
assertTrue(commands.get(index++) instanceof LoadUserArtifactsCommand);
183184
assertTrue(commands.get(index++) instanceof DeployTemporalAxesCommand);
184185
assertTrue(commands.get(index++) instanceof DeployTemporalCollectionsCommand);
186+
assertTrue(commands.get(index++) instanceof DeployTemporalCollectionsLSQTCommand);
185187
assertTrue(commands.get(index++) instanceof DeployScheduledTasksCommand);
186188
assertTrue(commands.get(index++) instanceof DeployAlertConfigsCommand);
187189
assertTrue(commands.get(index++) instanceof DeployAlertActionsCommand);
188190
assertTrue(commands.get(index++) instanceof DeployAlertRulesCommand);
189191
assertTrue(commands.get(index++) instanceof GenerateFunctionMetadataCommand);
190192
assertTrue(commands.get(index++) instanceof DeployProtectedPathsCommand);
191193

192-
assertEquals(14, commands.size(),
194+
assertEquals(15, commands.size(),
193195
"As of ML 10.0-3, the granular privilege for indexes doesn't seem to work with XML payloads. " +
194196
"Bug https://bugtrack.marklogic.com/54231 has been created to track that. Thus, " +
195197
"DeployDatabaseFieldCommand cannot be included and ml-config/database-fields/final-database.xml " +

0 commit comments

Comments
 (0)