aboutsummaryrefslogtreecommitdiffstats
path: root/vid-automation/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2019-12-31Create Service Info file for assertion on Cypress and API testAlexey Sandler1-13/+47
Issue-ID: VID-724 Change-Id: I1008b3ced1f04267513dcde2e26377861009fda2 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-30Create API test that verify original template should not be changed after deployAlexey Sandler1-0/+14
Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I9e2b6ec52e95c4bcccef640b32118860338f3c46 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-12-24Write async instantiations request-summary to DBIttay Stern1-4/+39
Issue-ID: VID-724 Change-Id: I8b4bb55f6d7d59da321ef7b52802ea8bd957c1c6 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-24move templates API to a intended controllerYoav Schneiderman1-3/+5
Issue-ID: VID-730 Change-Id: Id2aa44803a190333b5a96fda77ca15d254b4c222 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2019-12-19Adjust API test with move templates API to a intended controllerIttay Stern1-1/+1
Complements Change Ie9b23a0360f902334fd6b877accec322b795c413 Change-Id: I3c9b2179ad36e5ad7ecdbf0bbd787338d20e457e Issue-ID: VID-730 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-17Templates: Test deployment of a Cypress edited templateIttay Stern1-1/+1
Use templates__instance_from_template__set_without_modify1.json in API test, and make sure values comply. Fix multiselect control to keep platform name as-is when field not touched but "set" is set. Issue-ID: VID-724 Issue-ID: VID-722 Change-Id: Ic0e4cc36027c56f900f6d7e0aa2b01da7d0c728f Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-17Templates: Test deployment of a Cypress *edited* templateIttay Stern1-6/+21
templates__instance_from_template__set_without_modify.json is currently a plain copy of original template, but this will be changed later on Issue-ID: VID-724 Change-Id: Ib527fc33b684b0886c7aa407d5ba90be65fad159 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-16Merge "run logging test for the error log as well"Ittay Stern1-2/+3
2019-12-15run logging test for the error log as wellAmichai Hemli1-2/+3
Issue-ID: VID-253 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ife8d5712c99359fd24955fe4dd649503e0789e14 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com>
2019-12-14Fix templates_instance_template.json file and InstantiationTemplatesApiTestAlexey Sandler1-2/+3
to resolve 403 error. Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Id2b5ab9e57416a978c591940a381e162f2ac0f14
2019-12-09Enable InstantiationTemplatesApiTest with counter-mapsIttay Stern1-1/+1
Change-Id: I57c09a6ae664517d01deb7b0d4f3e639f7a871a6 Issue-ID: VID-724 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-09Change ServiceInstance's top-level rollbackOnFailure serialization to StringIttay Stern1-0/+138
This will satisfy a new test: Template Topology API test: Deploy Cypress -> getTemplateTopology returns the same template Also updating templates__instance_template.json with actual "templateTopology" endpoint fields. Issue-ID: VID-724 Change-Id: I1160656c9a58ab2678ca6f2529688463fbd60a91 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-04make sure request id is unique per each async job executionEylon Malin1-1/+1
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I1e7e98876c6557ff18a9e1646d7b815ed9af830d
2019-12-04improve test deployTwoServicesGetServicesFilterByModelIdEylon Malin1-16/+41
Issue-ID: VID-724 Test validate that only expected jobIds are in service info list + always mute jobs att the end of the test Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I3cfa35ae5f31cf72dcf8b4ac3e250f9473080693
2019-12-02Add query param option for filtering services info by service model idSara Weiss1-0/+25
Issue-ID: VID-724 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Change-Id: I72c78dd3c0e156688092ce4ac3793bc3e8c37352
2019-11-27Don't assert host:port on SDC ProbeApiTestIttay Stern1-10/+8
Undo Make ProbeApiTest expectation to follow tests' Simulator config Issue-ID: VID-647 Change-Id: I6a6a487835be5865d2b5fed185939ea2ab79a880 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-26Merge "Make ProbeApiTest expectation to follow tests' Simulator config"Ittay Stern1-10/+17
2019-11-26improve debug logging formatAmichai Hemli1-72/+74
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-26Make ProbeApiTest expectation to follow tests' Simulator configIttay Stern1-10/+17
Issue-ID: VID-647 Change-Id: I56f9106403c31e545d00caaf2fe6d5df2f375843 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-26Make LoggerFormatTest run lastIttay Stern1-3/+4
Issue-ID: VID-647 Change-Id: Ia9989555d3fbdfe222410be59c8a581be32974e0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-26Allow platform multi-selection for VNF in modern UIYoav Schneiderman1-3/+0
Issue-ID: VID-722 Change-Id: Id87f59fff128e277d9158b83f3908754375c8b01 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com> Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2019-11-26CheckMinMaxInitialParams test ignore viewEditUIEylon Malin1-1/+1
Issue-ID: VID-705 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I8fdde158d6f094b30c210d78233360380f73f48c
2019-11-25identify macro services without instantiation type in BE by feature flagEylon Malin1-3/+11
Issue-ID: VID-705 Change-Id: Ia618f91133cdecbd35eac4346496a6ff38a3753e Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-14API test ordering for mso vfModules requestsSara Weiss1-0/+39
Issue-ID: VID-253 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Change-Id: I9a8594eab3f8e4eacaf503c23f04d1db6b101f90
2019-11-12Merge "Allow API tests even when VID's certificate is invalid (more ↵Amichai Hemli2-32/+53
occurrences)"
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-12Allow API tests even when VID's certificate is invalid (more occurrences)Ittay Stern2-32/+53
Issue-ID: VID-701 Change-Id: I3428f253044f5bd647e1a5e002cbdca65dee2543 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 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>