aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-11-06print user-id in partner name record of audit logEylon Malin1-4/+57
Issue-ID: VID-253 Also add more verifications for audit log format Change-Id: I00976a63fd1a795a972c13ad975d6a71248e5c8b Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-05Merge "vfModule upgrade: don't fallback on mismatching newest model"Amichai Hemli1-0/+85
2019-11-04remove internal urlsAmichai Hemli6-213/+9
Issue-ID: VID-646 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ie76259a41909ae5667053a2ef2ab6f0094dc6b6c
2019-11-04vfModule upgrade: don't fallback on mismatching newest modelIttay Stern1-0/+85
Issue-ID: VID-603 Change-Id: I96a0d4ed3a6717a4f1ee7c285dc71e2d7d695302 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-31Update MSO change-management URLAmichai Hemli1-2/+2
Issue-ID: VID-622 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ibe7b07ecc858895de579d3dacf1a3312c6793fad
2019-10-31Merge "Backend's vfModule upgrade: test refinement + code fix"Amichai Hemli9-190/+290
2019-10-31rename class to JaxRsMetricLogClientFilterEylon Malin1-3/+3
Issue-ID: VID-253 Change-Id: I47727690015ab0183ba25a57b19fb280231c6fb3 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-31register SyncRestClient to work with new MetricLogClient FilterAlexey Sandler3-402/+1
Issue-ID: VID-253 add API test that checks request headers logged tometrics log Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Ic2bfb99d40482b939ddaa4ba5c694f1042c3dd69 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-10-31Backend's vfModule upgrade: test refinement + code fixIttay Stern9-190/+290
Now using modelCustomizationName to map each module from existing service-model to target's service-model. Issue-ID: VID-603 Change-Id: Ie6a2584b6f9d0aa835e8f2ddff4a3ab9d80ef434 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-31add to AAI headers in request and metric logEinat Vinouze1-36/+0
Issue-ID: VID-253 Including API test + use VidMetricLogClientFilter Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I62980b3c88e941d1a47b03c75a1c837078e1988b
2019-10-30use onap logging 1.6.1 with needed workaroundsEylon Malin3-0/+113
Issue-ID: VID-253 Onap logging 1.6.1 has some mismatches regards invocationId. This commit fix these mismatches by fixing the MDC when needed. Change-Id: Ic8d35318ae511667dfa6f9c4297d562fd976a717 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
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