aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-10-28Add another vfm-upgrade testIttay Stern2-1/+116
Issue-ID: VID-603 Change-Id: I4690906d3bc660984a0c2269d7151f6151b89940 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-24fix ApacheClientMetricInterceptor to return expected ResponseCodeEylon Malin1-1/+1
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I5c90f5bcbf34eee28c192128333ca940558ecb30
2019-10-24common api tests assertion, for metrics log and outgoing out headersEylon Malin1-1/+0
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I3d0f5c215d080b5ae70fe7bb2b42a97fb944dcf9
2019-10-23register MSO Client to MetricLogClientFilterAlexey Sandler2-23/+6
Issue-ID: VID-253 Change-Id: Id0e3f13e62170da41981d74dbb5b92e8d3d1b69c Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-10-23use logging interceptor in SDC clientEylon Malin1-11/+1
Issue-ID: VID-253 Change-Id: I67947886fd8945a224ee81d5eb0a8fedf1f7317c Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-17AaiController testsMichal Kabaj1-0/+30
added new unit tests to AaiControllerTest Issue-ID: VID-684 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com> Change-Id: Ib6a7aaa932ff2909b8a1fd81d5128713d1dc3eb5
2019-10-10base logging interceptor for apache http clientEylon Malin1-0/+77
Issue-ID: VID-253 org.onap.logging.filter.spring.SpringClientFilter used as reference implementation Change-Id: I015bc784ab5ee2b4ee6474bdbb7a346011734a3a Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-06Dont filter get_vnf_data_by_globalid_and_service_type_response resultsIttay Stern2-39/+13
Filtering happen on AAI as part of FLAG_FLASH_REDUCED_RESPONSE_CHANGEMG. Issue-ID: VID-659 Change-Id: If43034cce545c90ac44d6d0e70bc0baa3d21283b Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-06Merge "Add partner-name header sending to SDC"Amichai Hemli1-5/+11
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-06Add partner-name header sending to SDCIttay Stern1-5/+11
Issue-ID: VID-253 Change-Id: I471ceea513b62f5bc83f8496e15b647f7d888926 Signed-off-by: Ittay Stern <ittay.stern@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