fix platform version field
This commit is contained in:
parent
5b9f1d927f
commit
d53a917c45
|
@ -92,8 +92,7 @@ public class ServiceEndpointResource {
|
||||||
if (Objects.nonNull(resourceProfile) && isRoleEnabled()){
|
if (Objects.nonNull(resourceProfile) && isRoleEnabled()){
|
||||||
ServiceEndpoint newResource= new ServiceEndpoint();
|
ServiceEndpoint newResource= new ServiceEndpoint();
|
||||||
ServiceEndpoint.Profile profile=newResource.newProfile().category(resourceProfile.getCategory()).name(resourceProfile.getName());
|
ServiceEndpoint.Profile profile=newResource.newProfile().category(resourceProfile.getCategory()).name(resourceProfile.getName());
|
||||||
ServiceEndpoint.Platform platform=profile.newPlatform().name(resourceProfile.getPlatform());
|
ServiceEndpoint. platform=profile.newPlatform().name(resourceProfile.getPlatform()).version(resourceProfile.getPlatformVersion());
|
||||||
platform.version(resourceProfile.getPlatformVersion());
|
|
||||||
ServiceEndpoint.AccessPoint ap=new ServiceEndpoint.AccessPoint();
|
ServiceEndpoint.AccessPoint ap=new ServiceEndpoint.AccessPoint();
|
||||||
ap.name(resourceProfile.getAccessPointName());
|
ap.name(resourceProfile.getAccessPointName());
|
||||||
ap.address(resourceProfile.getAccessPointAddress());
|
ap.address(resourceProfile.getAccessPointAddress());
|
||||||
|
|
Loading…
Reference in New Issue