@Test public void assertUpdate() { CloudJobConfigurationPOJO cloudJobConfig = CloudJobConfigurationBuilder.createCloudJobConfiguration("test_job"); configService.update(cloudJobConfig); verify(regCenter).update("/config/job/test_job", YAML); }
public void update(final CloudJobConfigurationPOJO cloudJobConfig) { regCenter.update( CloudJobConfigurationNode.getRootNodePath(cloudJobConfig.getJobName()), YamlEngine.marshal(cloudJobConfig)); }
CloudJobConfigurationService { public void update(final CloudJobConfigurationPOJO cloudJobConfig) { regCenter.update( CloudJobConfigurationNode.getRootNodePath(cloudJobConfig.getJobName()), YamlEngine.marshal(cloudJobConfig)); } }
CloudJobConfigurationService { public void update(final CloudJobConfigurationPOJO cloudJobConfig) { regCenter.update( CloudJobConfigurationNode.getRootNodePath(cloudJobConfig.getJobName()), YamlEngine.marshal(cloudJobConfig)); }  }
CloudJobConfigurationService { public void update(final CloudJobConfigurationPOJO cloudJobConfig) { regCenter.update( CloudJobConfigurationNode.getRootNodePath(cloudJobConfig.getJobName()), YamlEngine.marshal(cloudJobConfig)); }  void add(final CloudJobConfigurationPOJO cloudJobConfig); void update(final CloudJobConfigurationPOJO cloudJobConfig); Collection<CloudJobConfigurationPOJO> loadAll(); Optional<CloudJobConfigurationPOJO> load(final String jobName); void remove(final String jobName); }
CloudJobConfigurationService { public void update(final CloudJobConfigurationPOJO cloudJobConfig) { regCenter.update( CloudJobConfigurationNode.getRootNodePath(cloudJobConfig.getJobName()), YamlEngine.marshal(cloudJobConfig)); }  void add(final CloudJobConfigurationPOJO cloudJobConfig); void update(final CloudJobConfigurationPOJO cloudJobConfig); Collection<CloudJobConfigurationPOJO> loadAll(); Optional<CloudJobConfigurationPOJO> load(final String jobName); void remove(final String jobName);  }