public static Acl getServiceFunctionAcl(SfpName sfPathName) { ServiceFunctionPath serviceFunctionPath = SfcProviderServicePathAPI.readServiceFunctionPath(sfPathName); String classifierName = serviceFunctionPath.getClassifier(); Acl acl = null; if (classifierName != null) { ServiceFunctionClassifier classifier = SfcProviderServiceClassifierAPI.readServiceClassifier(classifierName); if (classifier != null && classifier.getAcl() != null) { acl = SfcProviderAclAPI.readAccessList(classifier.getAcl().getName(), classifier.getAcl().getType()); } } return acl; } }
ServiceFunctionPath serviceFunctionPath = SfcProviderServicePathAPI.readServiceFunctionPath(pathName);
.readServiceFunctionPath(new SfpName(createRenderedPathInput.getParentServiceFunctionPath()));