aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test
AgeCommit message (Collapse)AuthorFilesLines
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
2019-09-09Merge "Add UT to AaiControllerTest"Ittay Stern1-139/+165
2019-09-09add UT to TreeTestWeiss, Sara (sw793d)1-0/+8
Issue-ID: VID-378 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Change-Id: I8ed151cc32c7f71f929846b41ab8388e5f2f69f5
2019-09-09Add UT to AaiControllerTestWeiss, Sara (sw793d)1-139/+165
Issue-ID: VID-378 Signed-off-by: Weiss, Sara (sw793d) <sara.weiss@intl.att.com> Change-Id: I41c49c3b175a11bd4a54bd4d05b7f47c8aa8e676
2019-09-09add UT to PromiseEcompRequestIdFilterTestWeiss, Sara (sw793d)1-0/+15
Issue-ID: VID-378 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Change-Id: I57588574858b5d7982d4023165943c458ac7a03f
2019-09-09initMockitoMocks: Generify null-placingIttay Stern2-11/+36
Issue-ID: VID-378 Change-Id: I6c2f91b7d54aee0e1327c50e8846bb86e820f796 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-09Merge "Stabilize AAIServiceTreeIntegrativeTest, assuming a Mocking issue"Amichai Hemli1-14/+9
2019-09-09Adding feature: Replace vfmoduleEinat Vinouze6-102/+146
Issue-ID: VID-603 Change-Id: I59068a0979d6fb733e4243c8f78921f396dc9d17 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-08Stabilize AAIServiceTreeIntegrativeTest, assuming a Mocking issueIttay Stern1-14/+9
Change-Id: Ia90b5b4cb9fd2d5203df74bea9cb5618d2dd37e7 Issue-ID: VID-378 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-08send different request id on each mso callEylon Malin2-25/+85
Don't use static headers for ECOMP_REQUEST_ID and ONAP_REQUEST_ID but getting them from request / generate them each time Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I1be4e8e86195901975d613694acf0082cd555886 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-09-05send X-ONAP-RequestID header from MSO clientEylon Malin1-1/+6
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Icf215cf8b9711a63561740b22c035595f5281f58 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>