@Override
 public void preProcessModule(Module module) {
   assertEquals(
       "module commonContext should not contain any Plugins",
       0,
       moduleCommonContext.getBeansOfType(Plugin.class).size());
   Properties properties = new Properties();
   properties.setProperty("xd.stream.name", module.getDeploymentMetadata().getGroup());
   module.addProperties(properties);
 }
 private void configureProperties(Module module) {
   Properties properties = new Properties();
   properties.setProperty("xd.stream.name", module.getDeploymentMetadata().getGroup());
   module.addProperties(properties);
 }
Beispiel #3
0
 private void configureProperties(Module module, String group) {
   Properties properties = new Properties();
   properties.setProperty("xd.stream.name", group);
   module.addProperties(properties);
 }