aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-10-06send X-ONAP-RequestID and X-InvocationID headers to AAIEylon Malin1-18/+44
Issue-ID: VID-253 Change-Id: I5910e351982d3f118248f7dbeb735db018e1f05e Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-06all rest calls of AAIRestInterface use doRest methodEylon Malin3-174/+6
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ie25a8be8d649fe322698c81a969c720dc123c629 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-03Merge "sort base resource according it's position field"Amichai Hemli3-49/+160
2019-10-03sort base resource according it's position fieldEinat Vinouze3-49/+160
Issue-ID: VID-646 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I35705cd4a239e30bc6d86da7cde05495648d2a04 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2019-10-03send INVOCATION_ID header in MsoRestClientNewEylon Malin1-6/+90
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I6f4e317571999b2bf0f37d5407c23ab79e7358b4
2019-10-03Merge changes I3d32b225,I75b554a6Ittay Stern2-151/+2
* changes: add test case of restCall to outgoing request header test remove unused interface and unused methods
2019-10-03add test case of restCall to outgoing request header testEylon Malin1-0/+1
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I3d32b225c47f9cf5af187d2c2bb850e9519d4bfc
2019-10-03remove unused interface and unused methodsEylon Malin2-151/+1
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I75b554a6221e9736bb8d360225c3d7e20e69a6ab
2019-10-03UT - requestId is same in next call but invocationId is differentEylon Malin1-1/+18
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I3c07a26b2644435ca530466f47fb3b77d01dcbe4
2019-10-02Merge "send INVOCATION_ID header via RestMsoImplementation"Amichai Hemli1-5/+8
2019-10-02MsoRestClientNew not extends RestMsoImplementationEylon Malin4-9/+9
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I2e67f31bee79e05286fec4152ae5c85a96186047
2019-10-02send INVOCATION_ID header via RestMsoImplementationEylon Malin1-5/+8
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ifc199a3ef0faf2c02b73a065667866f25c20bd56
2019-10-02Verify partner-name header sent to AAI, SOIttay Stern4-4/+13
Issue-ID: VID-253 Change-Id: I80c710db1eb3f48c52b7ecebb234e75a503bf65d Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-02Merge "Revive SO's OutgoingRequestHeadersTest"Amichai Hemli1-49/+72
2019-10-02enable mso rest client send DELETE request with bodyEylon Malin1-73/+2
config SUPPRESS_HTTP_COMPLIANCE_VALIDATION directly from RestMsoImplementation, instead of relaying on the jersey client configuration. Also remove Delete method from RestMsoImplementation since it's not used in production code. Issue-ID: VID-657 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: If30d60c6aca9b7d9ab3e6d07b13c1246ed3d67e3
2019-09-26Revive SO's OutgoingRequestHeadersTestIttay Stern1-49/+72
Issue-ID: VID-253 Change-Id: Ibdd6d876a80375b355f8478072998577c998fcd1 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-26Merge "Try to fix failing tests"Ittay Stern1-8/+36
2019-09-26Try to fix failing testswsliwka1-8/+36
Keystore instantiation is failing on jenkins. Add mocked keystore Issue-ID: VID-653 Signed-off-by: wsliwka <wojciech.sliwka@nokia.com> Change-Id: I428db5b14d90c63de6b11ad5d366e839efbf33ed
2019-09-26Disable Test Administration Script where old `wget`Ittay Stern1-0/+12
Change-Id: I4bace8cf4eeba84ad13794e2abe9d5e525dc91ea Issue-ID: VID-638 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-25Expect None_Upgrade action for VNF upgradeAmichai Hemli1-3/+3
FE will send the None_Upgrade action therefore we need to map it to Upgrade Issue-ID: VID-651 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ia4806386dcd8faf557f0c17a2f533afa386b2ec1
2019-09-25Merge "Test Administration Script: category_parameter.sh"Amichai Hemli1-0/+140
2019-09-25Test Administration Script: category_parameter.shIttay Stern1-0/+140
Issue-ID: VID-638 Change-Id: Ia971cc95f03ed1e3372302afd3c699633370204f Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-24Introduce request-id headers enumIttay Stern1-9/+9
Issue-ID: VID-253 Change-Id: I4df5756d14969a2c0daa777c75c1365837f9ad1f Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-24Encoding path segments on reduced custom queryAmichai Hemli1-1/+3
Need to URL-encode the path segments when sending URL in the custom queries to A&AI Issue-ID: VID-596 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ie551cccfc1a8c627984185324a59c18f13200e91
2019-09-24Merge "Add mso configuration tests"Wojciech Sliwka1-0/+131
2019-09-24Merge "Add a position field to BaseResource"Ittay Stern4-14/+22
2019-09-24Add a position field to BaseResourceEinat Vinouze4-14/+22
Issue-ID: VID-646 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Id1f84dadd31840cf9fa3cdbc7afd7da727a22c7f
2019-09-23Add mso configuration testskurczews1-0/+131
Issue-ID: VID-470 Change-Id: I2eeb3780ffe161c8616fb72573d4ce4916edc9ee Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-09-23AaiController testsMichal Kabaj1-63/+112
added new unit tests to AaiControllerTest Issue-ID: VID-649 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com> Change-Id: Ib16f31487e09e0dfdd0813e2a16def620e166be2
2019-09-22Remove injections from filter, as filter is not Spring-controlledIttay Stern2-6/+2
Change-Id: Iecb4d6fbb79c5920d088fe536e6622690f8f881e Issue-ID: VID-253 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-22Let request-id value derive from alternative request-headersIttay Stern2-12/+138
Issue-ID: VID-253 Change-Id: Icae6caf5f720da0c7587f62380d1783669e69d9f Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-19Rename PromiseRequestIdFilter, extract isWrapNeeded and incomingRequestId ↵Ittay Stern2-23/+31
methods Change-Id: Idb39f7d5e723598e34e737522c4f73d8de3df93c Issue-ID: VID-253 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-19Disable homing_solutionwsliwka3-4/+116
Send Homing_solution=none during macro instantiation Add flag 'FLAG_DISABLE_HOMING' (by default set to true) which defines whether homing_solution should be in request to so or not Issue-ID: VID-576 Signed-off-by: wsliwka <wojciech.sliwka@nokia.com> Change-Id: I6151151a0256a5bb4e637acf08ae511f4b265dc2 Signed-off-by: wsliwka <wojciech.sliwka@nokia.com>
2019-09-16Add cloud-region and nf-role as an optional search criteriaAlexey Sandler3-10/+433
Issue-ID: VID-596 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I72d9c2c9dc3f39fcc3c87e083ac230d20135e979
2019-09-15Merge "logging of HttpResponse use raw body"Ittay Stern2-1/+68
2019-09-12Merge "logging requests and responses in SyncRestClient"Ittay Stern2-0/+36
2019-09-12logging of HttpResponse use raw bodyEylon Malin2-1/+68
print raw body for cases like errors make sure the response can be read logging it Issue-ID: VID-611 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: If138531f515fb2927a13417040b68e81babebc4e
2019-09-12logging requests and responses in SyncRestClientEinat Vinouze2-0/+36
Issue-ID: VID-611 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I0e64e9520e566f9317f3fcbf0495b67349993ce4
2019-09-12Reduce vnf data response from A&AI in change management flowsas221v4-91/+402
Issue-ID: VID-596 Signed-off-by: Amir Skalka <as221v@intl.att.com> Change-Id: I4462ef0c2dbc9880d1a0d204f6552e3842aad821 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-09-12create JoshworksJacksonObjectMapper and use it everywhere neededEylon Malin2-32/+5
Create class that implement joshworks object mapper that used jackson object mapper that support kotlin. Use it instead local anonymous classes where needed Issue-ID: VID-611 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ie00dce0ec9b366515c5e40d9f37b9e64a2ceb357
2019-09-12add UT to logRequest of LoggingEylon Malin1-10/+39
Issue-ID: VID-611 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ibbe32350b2a6ce02a833ab65346afde9e85fc6e2
2019-09-12make Logging a service and inject it to SyncRestClientEylon Malin15-156/+203
Issue-ID: VID-611 Change-Id: I120782884351c55b2e0d1b4ca8bae1e2479d1d0a Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-09-10Merge "update MSO configuration URL"Ittay Stern3-3/+3
2019-09-10update MSO configuration URLEylon Malin3-3/+3
Issue-ID: VID-622 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I695a8822338fd1c8253b23b88ad260a43d02be9c
2019-09-10Merge "update MSO volume group URL"Amichai Hemli1-1/+1
2019-09-10update MSO volume group URLEylon Malin1-1/+1
Issue-ID: VID-622 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Id94bb1406ded3f8092a42c4a4cbc5ab975560721 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-09-10Merge "update MSO create service instance URL"Ittay Stern5-55/+87
2019-09-10update MSO create service instance URLEylon Malin5-55/+87
align MSO create service instance URL to /serviceInstantiation/v7/serviceInstances also unify some system properties variables Issue-ID: VID-622 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I7a0744f5d6cfe776ce2f17b11aa5ebba4c8e65fb Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-09-09Merge "initMockitoMocks: Generify null-placing"Amichai Hemli2-11/+36
2019-09-09Merge "add UT to TreeTest"Ittay Stern1-0/+8