Skip to content

Commit de2ecf6

Browse files
committed
#558 simplifying code based on review
1 parent e078a66 commit de2ecf6

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

quick-start/src/main/java/com/marklogic/quickstart/service/EntityManagerService.java

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
import java.util.regex.Pattern;
6666

6767
@Service
68-
public class EntityManagerService implements DeployUserModulesListener, ValidateListener {
68+
public class EntityManagerService {
6969

7070
private static final String UI_LAYOUT_FILE = "entities.layout.json";
7171
private static final String PLUGINS_DIR = "plugins";
@@ -198,7 +198,7 @@ public EntityModel saveEntity(EntityModel entity) throws IOException {
198198
entity.setFilename(fullpath);
199199

200200
// Redeploy the flows
201-
dataHubService.reinstallUserModules(envConfig().getMlSettings(), this, this);
201+
dataHubService.reinstallUserModules(envConfig().getMlSettings(), null, null);
202202
}
203203
}
204204

@@ -386,14 +386,4 @@ private Map<String, HubUIData> getUiData() throws IOException {
386386

387387
return uiDataList;
388388
}
389-
390-
@Override
391-
public void onDeploy(String status) {
392-
// No action needed
393-
}
394-
395-
@Override
396-
public void onValidate(JsonNode validation) {
397-
// No action needed
398-
}
399389
}

0 commit comments

Comments
 (0)