diff options
author | Serge Simard <serge@agilitae.com> | 2019-09-16 16:55:59 -0400 |
---|---|---|
committer | Serge Simard <serge@agilitae.com> | 2019-09-17 14:15:23 -0400 |
commit | 828311059c00f50dc76e3fc370968ff377dfd2de (patch) | |
tree | d18e910b81952ddde545d9c1c5d73852d3c18bcd /ms/blueprintsprocessor/functions/ansible-awx-executor/src/test/kotlin | |
parent | 799f04c129b09d29ebd1b87092dea699a4174d11 (diff) |
Updated Remote Ansible component to retrieve all artifacts and logs produced by job/workflow.
Issue-ID: CCSDK-1741
Signed-off-by: Serge Simard <serge@agilitae.com>
Change-Id: I83e8bac79977a08d16d5356c0d21af1d7897cfc0
Signed-off-by: Serge Simard <serge@agilitae.com>
Diffstat (limited to 'ms/blueprintsprocessor/functions/ansible-awx-executor/src/test/kotlin')
-rw-r--r-- | ms/blueprintsprocessor/functions/ansible-awx-executor/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/ansible/executor/ComponentRemoteAnsibleExecutorTest.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ms/blueprintsprocessor/functions/ansible-awx-executor/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/ansible/executor/ComponentRemoteAnsibleExecutorTest.kt b/ms/blueprintsprocessor/functions/ansible-awx-executor/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/ansible/executor/ComponentRemoteAnsibleExecutorTest.kt index b60290268..5e0905dec 100644 --- a/ms/blueprintsprocessor/functions/ansible-awx-executor/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/ansible/executor/ComponentRemoteAnsibleExecutorTest.kt +++ b/ms/blueprintsprocessor/functions/ansible-awx-executor/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/ansible/executor/ComponentRemoteAnsibleExecutorTest.kt @@ -86,7 +86,7 @@ class ComponentRemoteAnsibleExecutorTest { ) every { webClientService.exchangeResource("GET", "/api/v2/jobs/$jobId/stdout/?format=txt", "", - mapOf("Content-Type" to "text/plain ;utf-8")) + mapOf("Accept" to "text/plain")) } returns WebClientResponse(200, getReport()) val selector = mapper.readTree(endpointSelector) val bluePrintRestLibPropertyService = mockk<BluePrintRestLibPropertyService>() |