summaryrefslogtreecommitdiffstats
path: root/vid-automation/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2019-11-12add some tolerance for instantiationUI in some SdcApiTestsEylon Malin1-13/+15
Issue-ID: VID-701 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I07b3dcad90644a36b8bf1b65c578f2e34f6b44b1
2019-11-07fix - when retrieve topology we are using threadPool and the MDC values are ↵Ittay Stern1-0/+6
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-07Merge "Validations in different tests for audit log"Ittay Stern4-3/+23
2019-11-07Validations in different tests for audit logAmir Skalka4-3/+23
ChangeManagementApi/UserApi to verify incoming requests in audit log. Refactor assert message and contains method for validation Add audit logging validation to Health Check test Refactor audit log validation according to code review comments Fix the test of Add audit logging validation to Health Check test Issue-ID: VID-253 Signed-off-by: Amir Skalka <amir.skalka@intl.att.com> Change-Id: I0379520054b65f2141745579a14690bdc4824655
2019-11-06print user-id in partner name record of audit logEylon Malin1-7/+34
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-04Validate audit of request id on incoming requests to MSOAmir Skalka4-4/+24
ServiceInstanceMsoApiTest to verify incoming requests in audit log as well to headers and outgoing requests in logs. Issue-ID: VID-253 Change-Id: I4d94e6de4e2a844f2e0104df6c45b5070465de1e Signed-off-by: Amir Skalka <amir.skalka@intl.att.com>
2019-11-04fix - when retrieve topology we are using threadPool and the MDC values are ↵Ittay Stern1-4/+8
not updated This time for vf-modules parallel request. Issue-ID: VID-253 Change-Id: Ib32c29b231e16ccc1b4fbbad022c8d9ad058b74a Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-04fix - when retrieve topology we are using threadPool and the MDC values are ↵Einat Vinouze2-3/+8
not updated Issue-ID: VID-253 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I275d1768f17764efc1bde36baf53439922b534ab Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2019-11-04Merge "fix SERVER_FQDN MDC for audit log"Ittay Stern1-1/+1
2019-11-04improve async instantiation log test, to verify all outgoing requestsEylon Malin1-7/+6
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I7717ddd2cbfaec6430b89f88109de8f12f9e9211
2019-11-04fix SERVER_FQDN MDC for audit logEylon Malin1-1/+1
Issue-ID: VID-253 Change-Id: I6f4b273d800a6eba735744fbd7bc3e741c1a5e83 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-03send unqiue request ids to MSO in async instantiationEylon Malin2-20/+103
Issue-ID: VID-253 Change-Id: I73e7829a2e7e980540e0c253823d030e77b9976b Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-31remove 2016 logger aspects + verify audit scoreEylon Malin3-39/+51
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I841205c5b78ba46041279a36d57f4b1afa665deb
2019-10-31register scheduler to work with MetricLogClient FilterSara Weiss2-36/+84
Issue-ID: VID-253 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Change-Id: Ic624e1c2a4b04d31177c737a5d249e734a4cfb48
2019-10-31register SyncRestClient to work with new MetricLogClient FilterAlexey Sandler1-0/+36
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-31assert that InvocationId is unique in API testsEylon Malin1-0/+10
Issue-ID: VID-253 Change-Id: I8bb4c752a9609d5b5a4c649befb7344a800b00b5 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-31add to AAI headers in request and metric logEinat Vinouze2-1/+15
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 Malin1-1/+1
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-29Test aai_get_service_instance_topology with vf-module placement dataIttay Stern1-2/+8
Issue-ID: VID-603 Change-Id: I2ce89cac91417ef4b60a3943da80f0ff03f865ad Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-29Add API test that call to MSO and asserts headers in request and metric logAlexey Sandler1-2/+20
Issue-ID: VID-253 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Ie3beccb2fd1c70a81fd245abd03e33cdfa79efdd
2019-10-24fix ApacheClientMetricInterceptor to return expected ResponseCodeEylon Malin1-7/+10
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 Malin2-28/+48
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I3d0f5c215d080b5ae70fe7bb2b42a97fb944dcf9
2019-10-23Install incoming-requests auditorIttay Stern1-0/+65
Issue-ID: VID-253 Change-Id: I62aa4c0b1ab360f01eb00bb6aa83fe0e30e362ac Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-23Introduce LOG-NAME enumeratorIttay Stern5-45/+68
Issue-ID: VID-253 Change-Id: Ib24e6ce12fd89bdddaf1b15b7c0d47b3d6f8af9a Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-23use logging interceptor in SDC clientEylon Malin1-8/+56
Issue-ID: VID-253 Change-Id: I67947886fd8945a224ee81d5eb0a8fedf1f7317c Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-06Dont filter get_vnf_data_by_globalid_and_service_type_response resultsIttay Stern1-3/+2
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-03Merge "Verify audit logs format `audit2019`"Amichai Hemli1-4/+12
2019-10-03Fix for failing testswsliwka1-0/+11
Issue-ID: VID-602 Signed-off-by: wsliwka <wojciech.sliwka@nokia.com> Change-Id: Ic2662e884c987372340aa93f553972f7646bf95f
2019-10-03Verify audit logs format `audit2019`Ittay Stern1-4/+12
Issue-ID: VID-253 Change-Id: Ic62c455c101311dc3ac3022912390209e3fd86e7 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-22Use x-onap-requestid header in filter's API testIttay Stern1-16/+20
Issue-ID: VID-253 Change-Id: I2412a27e32f006588241cd46d06fab28c5779581 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-18Add feature flag for getVnfDataByGlobalIdAndServiceTypeAlexey Sandler1-2/+2
Issue-ID: VID-596 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I4a5d8f4542668fdf7e9977773550933298d2aa0e
2019-09-18skip logs validation API tests for awhileEylon Malin1-11/+10
Issue-ID: VID-647 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I86e754b6de27dcb45ebb3b7172354b45503ec19b
2019-09-12Reduce vnf data response from A&AI in change management flowsas221v1-25/+87
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-10Add investigative mechanics around flaky test serviceWithVrf_resultAsExpectedIttay Stern1-17/+56
Change-Id: Ia4bb9d9e15ce769b8fe4be624e93f03ca7b6af69 Issue-ID: VID-378 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-10update MSO volume group URLEylon Malin1-17/+29
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-09Adding feature: Replace vfmoduleEinat Vinouze1-0/+28
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-08-29edit of macro services in new view edit screenEylon Malin1-15/+39
Fix Vid Notion Builder behavior according - all macro non transport services should open the new view edit screen Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Icd45fcbfcb4bf8928f44f73fb3ddd84ac1f1d341
2019-08-27Get log-checking remote server by EELF_LOG_CHECKER propertyIttay Stern1-3/+1
Issue-ID: VID-378 Change-Id: I393fbd78d6ce17f81676ad95a5b9dab58b828d50 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-08-22make scheduler client tolerance to error messagesEylon Malin1-2/+2
Read response from scheduler as String save them as raw, and only then parse them Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I38ed8f211b2c111b57741254cb5e90317fefdc7d Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-08-22probe mso by retrieving empty list of request statusEylon Malin1-1/+1
Mso probe component use getRawOrchestrationRequestsByFilter which return HttpResponseWithRequestInfo Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Icee95af8dbe26296e9fc110170fb758e5133984c Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-08-21probe sdc by retrieving service model if uuid configuredEylon Malin1-1/+1
If system.properties has value for probe.sdc.model.uuid then usd this value for retrieving service model otherwise probe only sdc connectivity with sdc2/rest/healthCheck Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Icd1c31217e56a8c0cfa5c2f2bc5f11e0c8dd7ff8 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-08-15Skip log format validation for a weekEylon Malin1-0/+3
Add annotation SkipTestUntil and TestNg transformer so we can add annotation for skip test till some date (aka time bomb) Use it in log format tests Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ib4b5d17d73d360fd2554b5ffc0373790d22d9e4e Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-08-08fix test getServiceModelALaCarteInstantiationEylon Malin1-1/+5
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I0d98886837cc67164b77f3407323ac45e3e126a4
2019-08-06use cache for retrieving all subscribers listEylon Malin1-19/+37
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I73fcc78ebbd8ee01349ecefa924c20014ca33907
2019-08-06fix tests by adding missing preset of get subscribers from AAIEylon Malin1-0/+2
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I6dc101b76089c32b8b9d2912a070b64bf01514ec
2019-08-05change management return 400 handling NPEEylon Malin1-7/+6
return 400 internal status when exception is thrown during extracting serviceInstanceId Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I97f740de0a700f503d115033980f8e8366e806e7
2019-07-08Merge from ecomp 718fd196 - Integration TestsIttay Stern16-233/+330
Issue-ID: VID-378 Change-Id: Icc0bdb9ef37b1d429d47c2070f76d1ee63ad7489 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-03-17Merge automation from ECOMP's repositoryIttay Stern43-1498/+2687
Reference commit in ECOMP: 8e92a8c6 Issue-ID: VID-378 Change-Id: Ia32f4813378ef95097f788246aa5b1172e20ca48 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-01-09Merge from ECOMP's repositoryIttay Stern11-29/+20
Main Features -------------- - Async-Instantiation jobs mechanism major update; still WIP (package `org.onap.vid.job`) - New features in View/Edit: Activate fabric configuration; show related networks; soft delete - Support AAI service-tree traversal (`AAIServiceTree`) - In-memory cache for SDC models and certain A&AI queries (`CacheProviderWithLoadingCache`) - Upgrade TOSCA Parser and add parsing options; fix malformed TOSCA models - Resolve Cloud-Owner values for MSO - Pass X-ONAP headers to MSO Infrastructure -------------- - Remove codehaus' jackson mapper; use soley fasterxml 2.9.7 - Surefire invokes both TestNG and JUnit tests - Support Kotlin source files - AaiController2 which handles errors in a "Spring manner" - Inline generated-sources and remove jsonschema2pojo Quality -------- - Cumulative bug fixes (A&AI API, UI timeouts, and many more) - Many Sonar issues cleaned-up - Some unused classes removed - Minor changes in vid-automation project, allowing some API verification to run Hard Merges ------------ - HTTP Clients (MSO, A&AI, WebConfig, OutgoingRequestHeadersTest) - Moved `package org.onap.vid.controllers` to `controller`, without plural -- just to keep semantic sync with ECOMP. Reference commit in ECOMP: 3d1141625 Issue-ID: VID-378 Change-Id: I9c8d1e74caa41815891d441fc0760bb5f29c5788 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2018-08-14Renaming vid-automation #7kurczews23-28/+28
Change-Id: I6715cddf18b0fad2f4468e26574b4ebf31109ea9 Issue-ID: VID-205 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>