add SE status and GHN definition

This commit is contained in:
Roberto Cirillo 2023-02-17 15:49:25 +01:00
parent 83240cb40f
commit c11fb3b44d
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ public class ServiceEndpointResource {
ServiceEndpoint newResource= new ServiceEndpoint();
ServiceEndpoint.Profile profile=newResource.newProfile().category(resourceProfile.getCategory()).name(resourceProfile.getName());
profile.newPlatform().name(resourceProfile.getPlatform()).version((short)1).minorVersion((short)0).revisionVersion((short)0).buildVersion((short)0);
profile.newRuntime().hostedOn(resourceProfile.getHost());
profile.newRuntime().hostedOn(resourceProfile.getHost()).status("ready").ghnId("");
ServiceEndpoint.AccessPoint ap=new ServiceEndpoint.AccessPoint();
ap.name(resourceProfile.getAccessPointName());
ap.address(resourceProfile.getAccessPointAddress());