summaryrefslogtreecommitdiffstats
path: root/ONAP-REST/src/main/java/org
diff options
context:
space:
mode:
authorrb7147 <rb7147@att.com>2018-02-12 22:46:09 -0500
committerrb7147 <rb7147@att.com>2018-02-12 22:49:05 -0500
commitef9258807505ff24e8221bae25d06ab65029397c (patch)
treeff9d8d5f5bd12e867644f5c8b24515f8c62b8e4d /ONAP-REST/src/main/java/org
parent1ef83d84ac1f803280686cca6960d1dc20695ace (diff)
Added Junits for Policy PAP-REST
Resolved the sonar issues. Added JUnits for ONAP-PAP-REST and ONAP-REST Component. Issue-ID: POLICY-338 Change-Id: Ibec2613f4f61e9ed426583af17c2a9d5b8c8d85d Signed-off-by: rb7147 <rb7147@att.com>
Diffstat (limited to 'ONAP-REST/src/main/java/org')
-rw-r--r--ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ClosedLoopD2Services.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ClosedLoopD2Services.java b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ClosedLoopD2Services.java
index c69476fac..576889504 100644
--- a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ClosedLoopD2Services.java
+++ b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ClosedLoopD2Services.java
@@ -53,9 +53,6 @@ import org.onap.policy.rest.XacmlAdminAuthorization;
public class ClosedLoopD2Services implements Serializable{
private static final long serialVersionUID = 1L;
- private static String domain;
-
-
@Id
@Column(name ="id")
@GeneratedValue(strategy = GenerationType.AUTO)
@@ -105,14 +102,6 @@ public class ClosedLoopD2Services implements Serializable{
public ClosedLoopD2Services(){
//An empty constructor
}
-
- public ClosedLoopD2Services(String string, String userid) {
- this(domain);
- }
-
- public ClosedLoopD2Services(String domain) {
- this.serviceName = domain;
- }
@PrePersist
public void prePersist() {