summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2019-11-26improve debug logging formatAmichai Hemli1-0/+15
Issue-ID: VID-646 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ifa9105455dabdfad3179c36b516fe9833e0e6e60 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com>
2019-11-25Merge "identify macro services without instantiation type in BE by feature flag"Ittay Stern1-28/+96
2019-11-25identify macro services without instantiation type in BE by feature flagEylon Malin1-28/+96
Issue-ID: VID-705 Change-Id: Ia618f91133cdecbd35eac4346496a6ff38a3753e Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-25Replace vfmodule: expect optional retainAssignments paramIttay Stern3-10/+18
Issue-ID: VID-603 Change-Id: Ifda72845f2c5b473bba7ac64deab8d4b0f11ef10 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-24Migrating VfModuleOrVolumeGroupRequestDetails it to Kotlin; avoid the inner ↵Ittay Stern1-2/+3
static classes Issue-ID: VID-603 Change-Id: I8ae786d2e0e67300cd6118d41b48ba8483b922f0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-24VfModule and VolumeGroup RequestParameters: introduce objects hierarchyIttay Stern1-10/+15
-- RequestParametersVfModuleOrVolumeGroup +-- RequestParametersVfModuleOrVolumeGroupInstantiation +-- RequestParametersVfModuleUpgrade Change-Id: I97ef46c7cf66936685e030a73b42d4deac7403b5 Issue-ID: VID-603 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-21Merge "Replace vfmodule: expect optional retainVolumeGroups param"Ittay Stern3-10/+24
2019-11-21Replace vfmodule: expect optional retainVolumeGroups paramSara Weiss3-10/+24
Issue-ID: VID-603 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com> Change-Id: I392d1e70a7f423128221b2f7a7fc0f8449d8e268
2019-11-21VidNotionBuilder can use configuration file to identify macro servicesEylon Malin1-0/+19
Issue-ID: VID-701 Change-Id: I23c89ed500d6d1663b07fa909b16eda30e63e36c Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-11a-la-carte services new instantiation uiEylon Malin1-20/+52
Issue-ID: VID-701 Change-Id: I1a58fd2221f0936d32a8289fa666c6ffcfc7e2fa Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-10Merge "VidNotion identify vlan tagging service"Amichai Hemli1-0/+10
2019-11-10Merge "VidNotion identify port mirroring service"Amichai Hemli1-12/+20
2019-11-10VidNotion identify vlan tagging serviceEylon Malin1-0/+10
Issue-ID: VID-701 Change-Id: Iffba5bca82e0511715e5ecb6b91cc9f4e077eaee Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-10VidNotion identify port mirroring serviceEylon Malin1-12/+20
Issue-ID: VID-701 Change-Id: I805acab9380c779d2609107c1c65ef25bb0dad47 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-10Mock Logging.withMDC while ↵Ittay Stern1-2/+11
AAIServiceTreeIntegrativeTest::getServiceInstanceTreeTestHappyFlow Issue-ID: VID-253 Change-Id: I86275ff1a5951b6e86b7380cdf9d4238cfae45db Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-07fix - when retrieve topology we are using threadPool and the MDC values are ↵Ittay Stern8-88/+115
not updated This time for homing-by-vnf-id parallel requests. Issue-ID: VID-253 Change-Id: Ic0be1470445c6fef0e18f9b9d8f1604df508265b Signed-off-by: Ittay Stern <ittay.stern@att.com>
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-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-31Merge "Backend's vfModule upgrade: test refinement + code fix"Amichai Hemli4-95/+73
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 Stern4-95/+73
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-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