Merge "fix fields not set correctly in Fabric Policy dist"
[so.git] / bpmn / so-bpmn-tasks / src / main / java / org / onap / so / client / sniro / SniroValidator.java
index bad45c8..0d0c1be 100644 (file)
@@ -43,7 +43,7 @@ public class SniroValidator {
         *
         * @throws BadResponseException
         */
-       public void validateDemandsResponse(LinkedHashMap<?, ?> response) throws BadResponseException {
+       public void validateDemandsResponse(LinkedHashMap<String, Object> response) throws BadResponseException {
                log.debug("Validating Sniro Managers synchronous response");
                if(!response.isEmpty()){
                        JSONObject jsonResponse = new JSONObject(response);
@@ -105,7 +105,7 @@ public class SniroValidator {
         *
         * @throws BadResponseException
         */
-       public void validateReleaseResponse(LinkedHashMap<?, ?> response) throws BadResponseException {
+       public void validateReleaseResponse(LinkedHashMap<String, Object> response) throws BadResponseException {
                log.debug("Validating Sniro Conductors response");
                if(!response.isEmpty()){
                        String status = (String) response.get("status");