import javax.persistence.TemporalType;
import javax.persistence.Transient;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.openecomp.policy.rest.XacmlAdminAuthorization;
-
-import com.att.research.xacml.api.Identifier;
-import com.att.research.xacml.std.IdentifierImpl;
-import com.fasterxml.jackson.annotation.JsonManagedReference;
-
import org.openecomp.policy.common.logging.eelf.MessageCodes;
import org.openecomp.policy.common.logging.eelf.PolicyLogger;
+import org.openecomp.policy.rest.XacmlAdminAuthorization;
@Entity
public void setUserModifiedBy(UserInfo userModifiedBy) {
this.userModifiedBy = userModifiedBy;
}
-
- private static Log logger = LogFactory.getLog(DecisionSettings.class);
+
public DecisionSettings() {
}
}
public String setDecisionSettings(){
- return this.xacmlId = xacmlId;
+ return this.xacmlId;
}
@PrePersist
public void prePersist() {
try {
this.userModifiedBy = XacmlAdminAuthorization.getUserId();;
} catch (Exception e) {
- logger.error("Exception caused While adding Modified by Role"+e);
- // TODO:EELF Cleanup - Remove logger
PolicyLogger.error(MessageCodes.EXCEPTION_ERROR, e, "DecisionSettings", "Exception caused While adding Modified by Role");
}
}