add SE status and GHN definition
This commit is contained in:
parent
83240cb40f
commit
c11fb3b44d
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue