Fixed bug on updated
This commit is contained in:
parent
f298f59dc5
commit
1dbf73bc41
|
@ -686,10 +686,7 @@ public class GCoreISConfigurationProxy {
|
||||||
public ServiceCatalogueConfiguration updateOnIS(ServiceEndpoint serviceEndpoint) throws Exception {
|
public ServiceCatalogueConfiguration updateOnIS(ServiceEndpoint serviceEndpoint) throws Exception {
|
||||||
RegistryPublisher registryPublisher = RegistryPublisherFactory.create();
|
RegistryPublisher registryPublisher = RegistryPublisherFactory.create();
|
||||||
String id = serviceEndpoint.id();
|
String id = serviceEndpoint.id();
|
||||||
if(catalogueConfiguration.getID().compareTo(id)!=0) {
|
|
||||||
catalogueConfiguration.setID(id);
|
catalogueConfiguration.setID(id);
|
||||||
}
|
|
||||||
|
|
||||||
serviceEndpoint = createServiceEndpoint(serviceEndpoint);
|
serviceEndpoint = createServiceEndpoint(serviceEndpoint);
|
||||||
registryPublisher.update(serviceEndpoint);
|
registryPublisher.update(serviceEndpoint);
|
||||||
return catalogueConfiguration;
|
return catalogueConfiguration;
|
||||||
|
|
Loading…
Reference in New Issue