File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
marklogic-data-hub/src/main/java/com/marklogic/hub/deploy/commands Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ private DefaultModulesLoader getStagingModulesLoader(AppConfig config) {
6868 modulesLoader .setModulesManager (getModulesManager ());
6969 return modulesLoader ;
7070 }
71-
71+
7272 @ Override
7373 public void execute (CommandContext context ) {
7474 AppConfig config = context .getAppConfig ();
@@ -115,7 +115,6 @@ else if (dirStr.matches(startPath.toAbsolutePath() + "[/\\\\][^/\\\\]+$")) {
115115 Modules modules = entityDefModulesFinder .findModules (dir .toFile ());
116116 DocumentMetadataHandle meta = new DocumentMetadataHandle ();
117117 meta .getCollections ().add ("http://marklogic.com/entity-services/models" );
118- meta .setFormat (Format .JSON );
119118 for (Resource r : modules .getAssets ()) {
120119 StringHandle handle = new StringHandle (IOUtils .toString (r .getInputStream ()));
121120 entityDocMgr .write ("/entities/" + r .getFilename (), meta , handle );
You can’t perform that action at this time.
0 commit comments