add SE runtime definition
This commit is contained in:
parent
6f7dd0e4f2
commit
83240cb40f
|
@ -28,4 +28,7 @@ public class ServiceEndpointProfile {
|
|||
@Getter
|
||||
@Setter (AccessLevel.PROTECTED)
|
||||
private String accessPointPass;
|
||||
@Getter
|
||||
@Setter (AccessLevel.PROTECTED)
|
||||
private String host;
|
||||
}
|
||||
|
|
|
@ -111,6 +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());
|
||||
ServiceEndpoint.AccessPoint ap=new ServiceEndpoint.AccessPoint();
|
||||
ap.name(resourceProfile.getAccessPointName());
|
||||
ap.address(resourceProfile.getAccessPointAddress());
|
||||
|
|
Loading…
Reference in New Issue