@ -28,6 +28,7 @@ public class PolicyOperation extends Operation {
public List<ProfileOperation> getProfileOperations() {
return profileOperations;
}
public static final String POLICY_OPERATION_CODE = "POLICY_BUNDLE";
public void setProfileOperations(List<ProfileOperation> profileOperations) {
this.profileOperations = profileOperations;
@ -104,6 +104,7 @@ public class PolicyManagerServiceImpl implements PolicyManagerService {
PolicyOperation policyOperation = new PolicyOperation();
policyOperation.setEnabled(true);
policyOperation.setType(Operation.Type.POLICY);
policyOperation.setCode(PolicyOperation.POLICY_OPERATION_CODE);
for (ProfileFeature feature : effectiveFeatures) {
ProfileOperation profileOperation = new ProfileOperation();