Skip to content

Commit 031c99a

Browse files
committed
fixing indentation.
adding 2 files I missed before
1 parent 8c4d1cc commit 031c99a

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

marklogic-data-hub/src/main/java/com/marklogic/hub/DataHub.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,9 @@ private List<Command> getCommands(AppConfig config) {
322322
commands.add(new DeployRestApiCommand(hubConfig.finalHttpName, hubConfig.finalPort, hubConfig.finalDbName, hubConfig.finalForestsPerHost));
323323
commands.add(new DeployRestApiCommand(hubConfig.tracingHttpName, hubConfig.tracePort, hubConfig.tracingDbName, hubConfig.tracingForestsPerHost));
324324

325-
commands.add(new UpdateRestApiServersCommand(hubConfig.stagingHttpName, "/com.marklogic.hub/staging-rewriter.xml"));
326-
commands.add(new UpdateRestApiServersCommand(hubConfig.finalHttpName, "/com.marklogic.hub/final-rewriter.xml"));
327-
commands.add(new UpdateRestApiServersCommand(hubConfig.tracingHttpName, "/com.marklogic.hub/tracing-rewriter.xml"));
325+
commands.add(new UpdateRestApiServersCommand(hubConfig.stagingHttpName));
326+
commands.add(new UpdateRestApiServersCommand(hubConfig.finalHttpName));
327+
commands.add(new UpdateRestApiServersCommand(hubConfig.tracingHttpName));
328328

329329
// Modules
330330
commands.add(new LoadModulesCommand());

marklogic-data-hub/src/main/java/com/marklogic/hub/commands/LoadModulesCommand.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import com.marklogic.client.modulesloader.impl.XccAssetLoader;
2323
import com.marklogic.client.modulesloader.xcc.CommaDelimitedPermissionsParser;
2424
import com.marklogic.client.modulesloader.xcc.DefaultDocumentFormatGetter;
25-
import com.marklogic.client.modulesloader.xcc.DocumentFormatGetter;
2625
import com.marklogic.client.modulesloader.xcc.PermissionsParser;
2726
import com.marklogic.xcc.Content;
2827
import com.marklogic.xcc.ContentCreateOptions;

marklogic-data-hub/src/main/resources/ml-modules/root/com.marklogic.hub/lib/flow-lib.xqy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ declare function flow:run-plugin(
692692
$flow-type,
693693
$trace-input,
694694
if ($data-format = 'application/xml') then
695-
$resp
695+
$resp
696696
else
697697
($resp, null-node{})[1],
698698
$duration

0 commit comments

Comments
 (0)