diff options
author | liamfallon <liam.fallon@est.tech> | 2019-07-01 09:01:19 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2019-07-01 09:01:19 +0000 |
commit | f08984b16abf954b7b351f21a3822e21d9d4f7c2 (patch) | |
tree | 1dc21cf3240864f37efe304a75c8055d89f48662 /examples/examples-onap-bbs/src/main/resources/logic/AAIServiceCreateTask.js | |
parent | c4baac8a79b0ca6340693ae47f9c424f3612e3bd (diff) |
Fix issues from Checkstyle reviews
Use lombok on fields in EnEvent.
Remove unnecessary code in BBS WebClient class
Address Sonar issue in Execurot class
Issue-ID: POLICY-1791
Change-Id: If07dc4529b121f8bfcd6ab1ae6c9def4774f9f4d
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'examples/examples-onap-bbs/src/main/resources/logic/AAIServiceCreateTask.js')
-rw-r--r-- | examples/examples-onap-bbs/src/main/resources/logic/AAIServiceCreateTask.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/examples-onap-bbs/src/main/resources/logic/AAIServiceCreateTask.js b/examples/examples-onap-bbs/src/main/resources/logic/AAIServiceCreateTask.js index 7e116f0ea..a7809bf1b 100644 --- a/examples/examples-onap-bbs/src/main/resources/logic/AAIServiceCreateTask.js +++ b/examples/examples-onap-bbs/src/main/resources/logic/AAIServiceCreateTask.js @@ -78,7 +78,7 @@ try { executor.logger.info("Query url" + urlGet); - result = client.httpRequest(urlGet, "GET", null, AAI_USERNAME, AAI_PASSWORD, "application/json", true); + result = client.httpRequest(urlGet, "GET", null, AAI_USERNAME, AAI_PASSWORD, "application/json"); executor.logger.info("Data received From " + urlGet + " " + result); jsonObj = JSON.parse(result); @@ -110,7 +110,7 @@ try { executor.logger.info("ready to putAfter Parse " + JSON.stringify(putUpddateServInstance, null, 4)); var urlPut = HTTP_PROTOCOL + AAI_URL + putUrl + "?resource_version=" + resource_version; result = client.httpRequest(urlPut, "PUT", JSON.stringify(putUpddateServInstance), AAI_USERNAME, AAI_PASSWORD, - "application/json", true); + "application/json"); executor.logger.info("Data received From " + urlPut + " " + result); /* If failure to retrieve data proceed to Failure */ if (result != "") { |