summaryrefslogtreecommitdiffstats
path: root/models-pap/src/main/java/org
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@bell.ca>2021-02-12 16:57:58 +0000
committera.sreekumar <ajith.sreekumar@bell.ca>2021-02-15 17:53:17 +0000
commit59d6c65ea096b5fe169c8f62acc15dd0f3de7cfb (patch)
treef2d148a522dc007cf2787d0be3f1fe0d9249e683 /models-pap/src/main/java/org
parent55fc900c3fbed2819b5b8a168dc29c5d583eccf3 (diff)
Updating PAP deployment API to reflect actual status
Change-Id: I1fb0232d2f5fe37e95e87babb233a824212439ff Issue-ID: POLICY-2526 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Diffstat (limited to 'models-pap/src/main/java/org')
-rw-r--r--models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupDeployResponse.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupDeployResponse.java b/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupDeployResponse.java
index 2d7dd2ec3..60f76e29a 100644
--- a/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupDeployResponse.java
+++ b/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupDeployResponse.java
@@ -3,6 +3,7 @@
* ONAP Policy Models
* ================================================================================
* Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2021 Bell Canada. 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.
@@ -32,4 +33,24 @@ import lombok.ToString;
@ToString(callSuper = true)
public class PdpGroupDeployResponse extends SimpleResponse {
+ /**
+ * Response message for deployment.
+ */
+ private String message;
+
+ /**
+ * Url to fetch the deployment status.
+ */
+ private String url;
+
+ /**
+ * Constructs the object.
+ *
+ * @param message the message
+ * @param url the url to get actual deployment status
+ */
+ public PdpGroupDeployResponse(String message, String url) {
+ this.message = message;
+ this.url = url;
+ }
}