diff options
author | Taka <tc012c@att.com> | 2018-02-11 19:29:18 -0500 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2018-02-19 19:10:31 +0000 |
commit | bbda29c7e9f4960c65b6fe0b8cc2b266ba3d5dd0 (patch) | |
tree | c3897953c64c94558da2ce5ed72246910d861a80 /appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java | |
parent | c5281dd38d7f1989bf8750c6072192cdbc46031d (diff) |
Unit Test for ansibleActivator
Change-Id: I56279239cdae934116e4d3ac8d257f593e641064
Issue-ID: APPC-600
Signed-off-by: Taka <tc012c@att.com>
Diffstat (limited to 'appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java')
-rw-r--r-- | appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/model/AnsibleMessageParser.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/model/AnsibleMessageParser.java b/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/model/AnsibleMessageParser.java index 0e19384e6..5207df2c2 100644 --- a/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/model/AnsibleMessageParser.java +++ b/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/model/AnsibleMessageParser.java @@ -116,21 +116,6 @@ public class AnsibleMessageParser { /** * Method that validates that the Map has enough information - * to query Ansible server for logs. If so, it populates the - * appropriate returns the appropriate url, else an empty string. - */ - public String reqUriOutput(Map<String, String> params) throws APPCException { - - final String[] mandatoryTestParams = {AGENT_URL_KEY, ID_KEY, USER_KEY, PASS_KEY}; - - for (String mandatoryParam : mandatoryTestParams) { - throwIfMissingMandatoryParam(params, mandatoryParam); - } - return params.get(AGENT_URL_KEY) + "?Id=" + params.get(ID_KEY) + "&Type=GetOutput"; - } - - /** - * Method that validates that the Map has enough information * to query Ansible server for logs. If so, it populates the appropriate * returns the appropriate url, else an empty string. */ |