Add undeploy response to models-pap 71/84371/2
authorJim Hahn <jrh3@att.com>
Fri, 5 Apr 2019 17:01:47 +0000 (13:01 -0400)
committerJim Hahn <jrh3@att.com>
Fri, 5 Apr 2019 17:04:30 +0000 (13:04 -0400)
Also modified toString() methods on other response classes to
invoke the super class' toString() so the error message is printed.

Change-Id: I7147da8acd521ed30d40aa6cbf2d8fd43715179b
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupDeleteResponse.java
models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupDeployResponse.java
models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupStateChangeResponse.java
models-pap/src/main/java/org/onap/policy/models/pap/concepts/PolicyUndeployResponse.java [new file with mode: 0644]

diff --git a/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PolicyUndeployResponse.java b/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PolicyUndeployResponse.java
new file mode 100644 (file)
index 0000000..a419130
--- /dev/null
@@ -0,0 +1,35 @@
+/*
+ * ============LICENSE_START=======================================================
+ * ONAP Policy Models
+ * ================================================================================
+ * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.policy.models.pap.concepts;
+
+import lombok.Getter;
+import lombok.Setter;
+import lombok.ToString;
+
+/**
+ * Response to a Policy UNDEPLOY REST API.
+ */
+@Getter
+@Setter
+@ToString(callSuper = true)
+public class PolicyUndeployResponse extends SimpleResponse {
+
+}