diff --git a/src/main/java/org/gcube/informationsystem/icproxy/profiles/ServiceEndpointProfile.java b/src/main/java/org/gcube/informationsystem/icproxy/profiles/ServiceEndpointProfile.java index f733cb8..fe161a2 100644 --- a/src/main/java/org/gcube/informationsystem/icproxy/profiles/ServiceEndpointProfile.java +++ b/src/main/java/org/gcube/informationsystem/icproxy/profiles/ServiceEndpointProfile.java @@ -18,9 +18,6 @@ public class ServiceEndpointProfile { private String platform="d4science"; @Getter @Setter - private String platformVersion="1.0.0"; - @Getter - @Setter private String accessPointName; @Getter @Setter (AccessLevel.PROTECTED) diff --git a/src/main/java/org/gcube/informationsystem/icproxy/resources/ServiceEndpointResource.java b/src/main/java/org/gcube/informationsystem/icproxy/resources/ServiceEndpointResource.java index c817dc3..fc99bce 100644 --- a/src/main/java/org/gcube/informationsystem/icproxy/resources/ServiceEndpointResource.java +++ b/src/main/java/org/gcube/informationsystem/icproxy/resources/ServiceEndpointResource.java @@ -92,7 +92,7 @@ public class ServiceEndpointResource { if (Objects.nonNull(resourceProfile) && isRoleEnabled()){ ServiceEndpoint newResource= new ServiceEndpoint(); ServiceEndpoint.Profile profile=newResource.newProfile().category(resourceProfile.getCategory()).name(resourceProfile.getName()); - ServiceEndpoint. platform=profile.newPlatform().name(resourceProfile.getPlatform()).version(resourceProfile.getPlatformVersion()); + ServiceEndpoint. platform=profile.newPlatform().name(resourceProfile.getPlatform()).version(1).minorVersion(0).platformVersion(0).revisionVersion(0).buildVersion(0); ServiceEndpoint.AccessPoint ap=new ServiceEndpoint.AccessPoint(); ap.name(resourceProfile.getAccessPointName()); ap.address(resourceProfile.getAccessPointAddress());