Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 679493a

Browse files
committed
#339 #340 Registered new commands
1 parent 2d32afe commit 679493a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/main/java/com/marklogic/appdeployer/command/CommandMapBuilder.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import com.marklogic.appdeployer.command.cpf.DeployCpfConfigsCommand;
1616
import com.marklogic.appdeployer.command.cpf.DeployDomainsCommand;
1717
import com.marklogic.appdeployer.command.cpf.DeployPipelinesCommand;
18+
import com.marklogic.appdeployer.command.data.LoadDataCommand;
1819
import com.marklogic.appdeployer.command.databases.DeployContentDatabasesCommand;
1920
import com.marklogic.appdeployer.command.databases.DeployOtherDatabasesCommand;
2021
import com.marklogic.appdeployer.command.flexrep.DeployConfigsCommand;
@@ -27,6 +28,7 @@
2728
import com.marklogic.appdeployer.command.mimetypes.DeployMimetypesCommand;
2829
import com.marklogic.appdeployer.command.modules.DeleteTestModulesCommand;
2930
import com.marklogic.appdeployer.command.modules.LoadModulesCommand;
31+
import com.marklogic.appdeployer.command.plugins.InstallPluginsCommand;
3032
import com.marklogic.appdeployer.command.restapis.DeployRestApiServersCommand;
3133
import com.marklogic.appdeployer.command.schemas.LoadSchemasCommand;
3234
import com.marklogic.appdeployer.command.security.DeployAmpsCommand;
@@ -128,6 +130,11 @@ public Map<String, List<Command>> buildCommandMap() {
128130
cpfCommands.add(new DeployPipelinesCommand());
129131
map.put("mlCpfCommands", cpfCommands);
130132

133+
// Data
134+
List<Command> dataCommands = new ArrayList<>();
135+
dataCommands.add(new LoadDataCommand());
136+
map.put("mlDataCommands", dataCommands);
137+
131138
// Flexrep
132139
List<Command> flexrepCommands = new ArrayList<Command>();
133140
flexrepCommands.add(new DeployConfigsCommand());
@@ -159,6 +166,11 @@ public Map<String, List<Command>> buildCommandMap() {
159166
replicaCommands.add(new ConfigureForestReplicasCommand());
160167
map.put("mlForestReplicaCommands", replicaCommands);
161168

169+
// Plugins
170+
List<Command> pluginCommands = new ArrayList<>();
171+
pluginCommands.add(new InstallPluginsCommand());
172+
map.put("mlPluginCommands", pluginCommands);
173+
162174
// Tasks
163175
List<Command> taskCommands = new ArrayList<Command>();
164176
taskCommands.add(new DeployScheduledTasksCommand());

0 commit comments

Comments
 (0)