vid.git
4 years agodelete flag FLAG_1911_INSTANTIATION_ORDER_BUTTON_IN_ASYNC_ALACARTE 90/98590/1
Alexey Sandler [Tue, 19 Nov 2019 10:12:02 +0000 (12:12 +0200)]
delete flag FLAG_1911_INSTANTIATION_ORDER_BUTTON_IN_ASYNC_ALACARTE

Issue-ID: VID-646
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Change-Id: I828f40fe908dc9608527934f3e6aae32b7d70b96

4 years agoMerge "when automatically add aLaCarte VfModule, rollbackOnFailure is true"
Ittay Stern [Mon, 18 Nov 2019 17:38:03 +0000 (17:38 +0000)]
Merge "when automatically add aLaCarte VfModule, rollbackOnFailure is true"

4 years agoAdjust NewServiceInstanceTest by new logic + revert state-check in getDefaultVolumeGr... 04/98504/3
Amir Skalka [Mon, 18 Nov 2019 08:29:49 +0000 (10:29 +0200)]
Adjust NewServiceInstanceTest by new logic + revert state-check in getDefaultVolumeGroupName

* Change expected behaviour of tests to match new
business of VG naming process; See shouldVGNameBeVisible() in
vfModule.control.generator.ts

* Fix Cypress tests `volume group should change on instance`.

Issue-ID: VID-700
Change-Id: I18faf49a4a31f4b8f389dbcda53c55a1a8066c90
Signed-off-by: Amir Skalka <amir.skalka@intl.att.com>
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agowhen automatically add aLaCarte VfModule, rollbackOnFailure is true 96/98496/1
Eylon Malin [Mon, 18 Nov 2019 11:01:43 +0000 (13:01 +0200)]
when automatically add aLaCarte VfModule, rollbackOnFailure is true

Issue-ID: VID-701
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: Ide9d3436a9ba281fb4b02ae308da00bd4a121108

4 years agoMerge "Modify code to take care of missing scenario in US 832"
Ittay Stern [Thu, 14 Nov 2019 13:57:11 +0000 (13:57 +0000)]
Merge "Modify code to take care of missing scenario in US 832"

4 years agoModify code to take care of missing scenario in US 832 61/98061/8
Amir Skalka [Wed, 6 Nov 2019 16:19:16 +0000 (18:19 +0200)]
Modify code to take care of missing scenario in US 832

Take under consideration the instance type (Macro/Alacarte)
when determining visibility over UI and default value.
Refactor tests to include more params to anticipate the visibility
and default value.

Issue-ID: VID-700
Signed-off-by: Amir Skalka <amir.skalka@intl.att.com>
Change-Id: I8dfa2e13fed3f5f863cc979970afc2ac66dbd82f

4 years agoAPI test ordering for mso vfModules requests 05/98405/2
Sara Weiss [Thu, 14 Nov 2019 12:23:16 +0000 (14:23 +0200)]
API test ordering for mso vfModules requests

Issue-ID: VID-253
Signed-off-by: Sara Weiss <sara.weiss@intl.att.com>
Change-Id: I9a8594eab3f8e4eacaf503c23f04d1db6b101f90

4 years agoMerge "isALaCarte in modern UI is false only if instantiationType is Macro"
Ittay Stern [Wed, 13 Nov 2019 15:47:40 +0000 (15:47 +0000)]
Merge "isALaCarte in modern UI is false only if instantiationType is Macro"

4 years agoisALaCarte in modern UI is false only if instantiationType is Macro 58/98358/3
Eylon Malin [Wed, 13 Nov 2019 13:54:35 +0000 (15:54 +0200)]
isALaCarte in modern UI is false only if instantiationType is Macro

Issue-ID: VID-701
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: Ie75b1717ffbc856f0c46de954e70b1e047f3cffb

4 years agoRetry Simulator's DB queries upon failure 64/98364/1
Ittay Stern [Wed, 13 Nov 2019 15:06:13 +0000 (17:06 +0200)]
Retry Simulator's DB queries upon failure

In tests env, sometimes DB drops unused connections with error:
java.sql.SQLNonTransientConnectionException: (conn=3439) Connection reset

Issue-ID: VID-647

Change-Id: If8211db653d4b3b3efc4edbe8b3ad6d3dd7d65e2
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agofix browse sdc with macro instantiation type to use unique IDs 56/98356/1
Eylon Malin [Wed, 13 Nov 2019 13:11:15 +0000 (15:11 +0200)]
fix browse sdc with macro instantiation type to use unique IDs

Issue-ID: VID-701
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I6760450d2069495a06e5178f1a51c269e78da22e

4 years agosanity macro test use csar that is still opened in old screens 34/98334/2
Eylon Malin [Tue, 12 Nov 2019 20:52:51 +0000 (22:52 +0200)]
sanity macro test use csar that is still opened in old screens

Issue-ID: VID-701
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I3b8e62a2e76b1d0bcae3f24fd46013ca762a2c83

4 years agoMerge "allow openPreviousVersionPopup test to handle modern UI aLaCarte dialog"
Ittay Stern [Tue, 12 Nov 2019 14:50:59 +0000 (14:50 +0000)]
Merge "allow openPreviousVersionPopup test to handle modern UI aLaCarte dialog"

4 years agoallow openPreviousVersionPopup test to handle modern UI aLaCarte dialog 95/98295/2
Eylon Malin [Tue, 12 Nov 2019 12:38:41 +0000 (14:38 +0200)]
allow openPreviousVersionPopup test to handle modern UI aLaCarte dialog

Issue-ID: VID-701

Change-Id: I6b58e24d3029642775132b1b6f0c086a507109a2
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
4 years agoMerge "Allow API tests even when VID's certificate is invalid (more occurrences)"
Amichai Hemli [Tue, 12 Nov 2019 12:58:06 +0000 (12:58 +0000)]
Merge "Allow API tests even when VID's certificate is invalid (more occurrences)"

4 years agoadd some tolerance for instantiationUI in some SdcApiTests 82/98282/1
Eylon Malin [Tue, 12 Nov 2019 10:06:39 +0000 (12:06 +0200)]
add some tolerance for instantiationUI in some SdcApiTests

Issue-ID: VID-701
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I07b3dcad90644a36b8bf1b65c578f2e34f6b44b1

4 years agoAllow API tests even when VID's certificate is invalid (more occurrences) 77/98277/2
Ittay Stern [Tue, 12 Nov 2019 07:48:58 +0000 (09:48 +0200)]
Allow API tests even when VID's certificate is invalid (more occurrences)

Issue-ID: VID-701

Change-Id: I3428f253044f5bd647e1a5e002cbdca65dee2543
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoAAF tests presets should redirect to simulator by it's config 74/98274/3
Ittay Stern [Tue, 12 Nov 2019 07:05:39 +0000 (09:05 +0200)]
AAF tests presets should redirect to simulator by it's config

Issue-ID: VID-701

Change-Id: Ie1d0c78ec15e127fc782978175df4f608587a94a
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoAllow API tests even when VID's certificate is invalid 33/98233/4
Ittay Stern [Mon, 11 Nov 2019 09:56:34 +0000 (11:56 +0200)]
Allow API tests even when VID's certificate is invalid

Issue-ID: VID-701

Change-Id: I0b02e2ae0fe468598b7bec726176552b7bf2108a
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoadjust BrowseASDCTest with FLAG_2002_ANY_ALACARTE_BESIDES_EXCLUDED_NEW_INSTANTIATION_UI 38/98238/3
Eylon Malin [Mon, 11 Nov 2019 11:17:13 +0000 (13:17 +0200)]
adjust BrowseASDCTest with FLAG_2002_ANY_ALACARTE_BESIDES_EXCLUDED_NEW_INSTANTIATION_UI

Issue-ID: VID-701
Change-Id: Ieed6340e3ff1e727521d8d1747ff2db96614664d
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
4 years agoa-la-carte services new instantiation ui 26/98226/3
Eylon Malin [Sun, 10 Nov 2019 14:17:58 +0000 (16:17 +0200)]
a-la-carte services new instantiation ui

Issue-ID: VID-701
Change-Id: I1a58fd2221f0936d32a8289fa666c6ffcfc7e2fa
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
4 years agofix identification of port mirroring service 25/98225/1
Eylon Malin [Sun, 10 Nov 2019 13:30:17 +0000 (15:30 +0200)]
fix identification of port mirroring service

Issue-ID: VID-701
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I56e4c9502724f271810b44ea946cd56f4013c543

4 years agoMerge "Unit test drag and drop service"
Ittay Stern [Sun, 10 Nov 2019 12:03:14 +0000 (12:03 +0000)]
Merge "Unit test drag and drop service"

4 years agoMerge "VidNotion identify vlan tagging service"
Amichai Hemli [Sun, 10 Nov 2019 11:53:15 +0000 (11:53 +0000)]
Merge "VidNotion identify vlan tagging service"

4 years agoMerge "VidNotion identify port mirroring service"
Amichai Hemli [Sun, 10 Nov 2019 11:51:52 +0000 (11:51 +0000)]
Merge "VidNotion identify port mirroring service"

4 years agoUnit test drag and drop service 39/98139/3
Sara Weiss [Thu, 7 Nov 2019 12:53:21 +0000 (14:53 +0200)]
Unit test drag and drop service

Issue-ID: VID-253
Signed-off-by: Sara Weiss <sara.weiss@intl.att.com>
Change-Id: I5915f005a4e428a4268e2a88e827e3f98519087a

4 years agoVidNotion identify vlan tagging service 23/98223/3
Eylon Malin [Sun, 10 Nov 2019 10:24:11 +0000 (12:24 +0200)]
VidNotion identify vlan tagging service

Issue-ID: VID-701
Change-Id: Iffba5bca82e0511715e5ecb6b91cc9f4e077eaee
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
4 years agoVidNotion identify port mirroring service 21/98221/6
Eylon Malin [Sun, 10 Nov 2019 07:58:54 +0000 (09:58 +0200)]
VidNotion identify port mirroring service

Issue-ID: VID-701
Change-Id: I805acab9380c779d2609107c1c65ef25bb0dad47
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
4 years agoMock Logging.withMDC while AAIServiceTreeIntegrativeTest::getServiceInstanceTreeTestH... 24/98224/2
Ittay Stern [Sun, 10 Nov 2019 10:26:44 +0000 (12:26 +0200)]
Mock Logging.withMDC while AAIServiceTreeIntegrativeTest::getServiceInstanceTreeTestHappyFlow

Issue-ID: VID-253

Change-Id: I86275ff1a5951b6e86b7380cdf9d4238cfae45db
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoadd FLAG_2002_ANY_ALACARTE_BESIDES_EXCLUDED_NEW_INSTANTIATION_UI 20/98220/2
Eylon Malin [Sun, 10 Nov 2019 06:27:27 +0000 (08:27 +0200)]
add FLAG_2002_ANY_ALACARTE_BESIDES_EXCLUDED_NEW_INSTANTIATION_UI

Issue-ID: VID-705
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I0690fe8940248f0148edb26b06061fe188e6282b

4 years agofix - when retrieve topology we are using threadPool and the MDC values are not updated 46/98046/6
Ittay Stern [Wed, 6 Nov 2019 12:27:53 +0000 (14:27 +0200)]
fix - when retrieve topology we are using threadPool and the MDC values are 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>
4 years agoMerge "Validations in different tests for audit log"
Ittay Stern [Thu, 7 Nov 2019 14:17:41 +0000 (14:17 +0000)]
Merge "Validations in different tests for audit log"

4 years agoValidations in different tests for audit log 67/97967/3
Amir Skalka [Tue, 5 Nov 2019 09:19:37 +0000 (11:19 +0200)]
Validations in different tests for audit log

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

4 years agoAPI test can get VID URI protocol from system property 83/98083/2
Eylon Malin [Thu, 7 Nov 2019 06:23:47 +0000 (08:23 +0200)]
API test can get VID URI protocol from system property

Issue-ID: VID-701

Change-Id: I47c4e50f8cdc333284615b80df64542b696d2674
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
4 years agoprint user-id in partner name record of audit log 04/98004/4
Eylon Malin [Wed, 6 Nov 2019 06:16:08 +0000 (08:16 +0200)]
print user-id in partner name record of audit log

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>
4 years agoremove comma's properties file with flag FLAG_1911_INSTANTIATION_ORDER_BUTTON_IN_ASYN... 58/97958/1
Alexey Sandler [Tue, 5 Nov 2019 12:02:43 +0000 (14:02 +0200)]
remove comma's properties file with flag FLAG_1911_INSTANTIATION_ORDER_BUTTON_IN_ASYNC_ALACARTE

Issue-ID: VID-646
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Change-Id: Idbd37bc2800ca8d38dff7e566654f0677f767a2a

4 years agoMerge "vfModule upgrade: don't fallback on mismatching newest model"
Amichai Hemli [Tue, 5 Nov 2019 06:53:37 +0000 (06:53 +0000)]
Merge "vfModule upgrade: don't fallback on mismatching newest model"

4 years agoValidate audit of request id on incoming requests to MSO 01/97901/5
Amir Skalka [Mon, 4 Nov 2019 12:26:17 +0000 (14:26 +0200)]
Validate audit of request id on incoming requests to MSO

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>
4 years agoMerge "remove internal urls"
Ittay Stern [Mon, 4 Nov 2019 15:24:22 +0000 (15:24 +0000)]
Merge "remove internal urls"

4 years agoremove internal urls 14/97914/1
Amichai Hemli [Mon, 4 Nov 2019 14:31:34 +0000 (16:31 +0200)]
remove internal urls

Issue-ID: VID-646
Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com>
Change-Id: Ie76259a41909ae5667053a2ef2ab6f0094dc6b6c

4 years agofix - when retrieve topology we are using threadPool and the MDC values are not updated 02/97902/1
Ittay Stern [Mon, 4 Nov 2019 12:30:56 +0000 (14:30 +0200)]
fix - when retrieve topology we are using threadPool and the MDC values are 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>
4 years agoMerge "fix - when retrieve topology we are using threadPool and the MDC values are...
Ittay Stern [Mon, 4 Nov 2019 12:27:11 +0000 (12:27 +0000)]
Merge "fix - when retrieve topology we are using threadPool and the MDC values are not updated"

4 years agoadd new flag FLAG_1911_INSTANTIATION_ORDER_BUTTON_IN_ASYNC_ALACARTE 93/97893/1
Alexey Sandler [Mon, 4 Nov 2019 10:03:57 +0000 (12:03 +0200)]
add new flag FLAG_1911_INSTANTIATION_ORDER_BUTTON_IN_ASYNC_ALACARTE

Issue-ID: VID-646
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Change-Id: If954d1fb597ecb974b671a05d3f5c5ea5ca9a704

4 years agofix - when retrieve topology we are using threadPool and the MDC values are not updated 81/97881/2
Einat Vinouze [Mon, 4 Nov 2019 09:20:29 +0000 (11:20 +0200)]
fix - when retrieve topology we are using threadPool and the MDC values are 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>
4 years agovfModule upgrade: don't fallback on mismatching newest model 86/97886/4
Ittay Stern [Sun, 3 Nov 2019 17:43:20 +0000 (19:43 +0200)]
vfModule upgrade: don't fallback on mismatching newest model

Issue-ID: VID-603

Change-Id: I96a0d4ed3a6717a4f1ee7c285dc71e2d7d695302
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge "fix SERVER_FQDN MDC for audit log"
Ittay Stern [Mon, 4 Nov 2019 08:16:53 +0000 (08:16 +0000)]
Merge "fix SERVER_FQDN MDC for audit log"

4 years agoimprove async instantiation log test, to verify all outgoing requests 89/97889/1
Eylon Malin [Mon, 4 Nov 2019 07:07:34 +0000 (09:07 +0200)]
improve async instantiation log test, to verify all outgoing requests

Issue-ID: VID-253
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I7717ddd2cbfaec6430b89f88109de8f12f9e9211

4 years agofix SERVER_FQDN MDC for audit log 80/97880/3
Eylon Malin [Sun, 3 Nov 2019 06:09:32 +0000 (08:09 +0200)]
fix SERVER_FQDN MDC for audit log

Issue-ID: VID-253

Change-Id: I6f4b273d800a6eba735744fbd7bc3e741c1a5e83
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
4 years agosend unqiue request ids to MSO in async instantiation 82/97882/2
Eylon Malin [Sun, 3 Nov 2019 13:29:12 +0000 (15:29 +0200)]
send unqiue request ids to MSO in async instantiation

Issue-ID: VID-253

Change-Id: I73e7829a2e7e980540e0c253823d030e77b9976b
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
4 years agoMerge "remove 2016 logger aspects + verify audit score"
Ittay Stern [Sun, 3 Nov 2019 09:01:28 +0000 (09:01 +0000)]
Merge "remove 2016 logger aspects + verify audit score"

4 years agoremove 2016 logger aspects + verify audit score 89/97789/3
Eylon Malin [Thu, 31 Oct 2019 13:00:10 +0000 (15:00 +0200)]
remove 2016 logger aspects + verify audit score

Issue-ID: VID-253
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I841205c5b78ba46041279a36d57f4b1afa665deb

4 years agoUpdate MSO change-management URL 90/97790/2
Amichai Hemli [Thu, 31 Oct 2019 13:27:24 +0000 (15:27 +0200)]
Update MSO change-management URL

Issue-ID: VID-622
Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com>
Change-Id: Ibe7b07ecc858895de579d3dacf1a3312c6793fad

4 years agoFix the X-InvocationID, removed ONAP- 00/97800/1
Amichai Hemli [Thu, 31 Oct 2019 15:22:44 +0000 (17:22 +0200)]
Fix the X-InvocationID, removed ONAP-

Issue-ID: VID-253
Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com>
Change-Id: Iae559f79f51c6b73552c2510d7cb89077fc28ca4

4 years agoregister scheduler to work with MetricLogClient Filter 86/97786/3
Sara Weiss [Thu, 31 Oct 2019 12:41:26 +0000 (14:41 +0200)]
register scheduler to work with MetricLogClient Filter

Issue-ID: VID-253
Signed-off-by: Sara Weiss <sara.weiss@intl.att.com>
Change-Id: Ic624e1c2a4b04d31177c737a5d249e734a4cfb48

4 years agoMerge "Backend's vfModule upgrade: test refinement + code fix"
Amichai Hemli [Thu, 31 Oct 2019 12:57:18 +0000 (12:57 +0000)]
Merge "Backend's vfModule upgrade: test refinement + code fix"

4 years agorename class to JaxRsMetricLogClientFilter 77/97777/5
Eylon Malin [Thu, 31 Oct 2019 07:29:10 +0000 (09:29 +0200)]
rename class to JaxRsMetricLogClientFilter

Issue-ID: VID-253

Change-Id: I47727690015ab0183ba25a57b19fb280231c6fb3
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
4 years agoregister SyncRestClient to work with new MetricLogClient Filter 78/97778/4
Alexey Sandler [Thu, 31 Oct 2019 07:42:12 +0000 (09:42 +0200)]
register SyncRestClient to work with new MetricLogClient Filter

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>
4 years agoBackend's vfModule upgrade: test refinement + code fix 58/97758/2
Ittay Stern [Wed, 30 Oct 2019 15:44:28 +0000 (17:44 +0200)]
Backend's vfModule upgrade: test refinement + code fix

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>
4 years agoassert that InvocationId is unique in API tests 80/97780/3
Eylon Malin [Thu, 31 Oct 2019 09:59:25 +0000 (11:59 +0200)]
assert that InvocationId is unique in API tests

Issue-ID: VID-253
Change-Id: I8bb4c752a9609d5b5a4c649befb7344a800b00b5
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
4 years agoassert headers in AAI base preset 75/97775/1
Eylon Malin [Thu, 31 Oct 2019 06:24:28 +0000 (08:24 +0200)]
assert headers in AAI base preset

Issue-ID: VID-253
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: Ic86ed177602f997f5040351f4a4fb3c79ed545a2

4 years agoMerge "add to AAI headers in request and metric log"
Ittay Stern [Thu, 31 Oct 2019 06:10:39 +0000 (06:10 +0000)]
Merge "add to AAI headers in request and metric log"

4 years agoadd to AAI headers in request and metric log 45/97745/3
Einat Vinouze [Wed, 30 Oct 2019 07:43:24 +0000 (09:43 +0200)]
add to AAI headers in request and metric log

Issue-ID: VID-253

Including API test + use VidMetricLogClientFilter

Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
Change-Id: I62980b3c88e941d1a47b03c75a1c837078e1988b

4 years agoMerge "Instantiation-Status: default on unexpected/undefined statuses (fix)"
Amichai Hemli [Wed, 30 Oct 2019 14:32:35 +0000 (14:32 +0000)]
Merge "Instantiation-Status: default on unexpected/undefined statuses (fix)"

4 years agoInstantiation-Status: default on unexpected/undefined statuses (fix) 34/97734/1
Ittay Stern [Wed, 30 Oct 2019 12:46:22 +0000 (14:46 +0200)]
Instantiation-Status: default on unexpected/undefined statuses (fix)

Issue-ID: VID-692

Change-Id: I15c81daba1a45ff0e009d5e381f93adb03914c0f
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agouse onap logging 1.6.1 with needed workarounds 74/97674/7
Eylon Malin [Tue, 29 Oct 2019 13:01:17 +0000 (15:01 +0200)]
use onap logging 1.6.1 with needed workarounds

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>
4 years agoInstantiation-Status: default on unexpected statuses 94/97694/1
Ittay Stern [Tue, 29 Oct 2019 15:54:54 +0000 (17:54 +0200)]
Instantiation-Status: default on unexpected statuses

Issue-ID: VID-692

Change-Id: I1a81a71d32aa36fb1f0dc3b349733db11d4e579d
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoTest aai_get_service_instance_topology with vf-module placement data 93/97693/1
Ittay Stern [Tue, 29 Oct 2019 12:27:44 +0000 (14:27 +0200)]
Test aai_get_service_instance_topology with vf-module placement data

Issue-ID: VID-603

Change-Id: I2ce89cac91417ef4b60a3943da80f0ff03f865ad
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge "Introduce cy.clearSessionStorage"
Amichai Hemli [Tue, 29 Oct 2019 14:37:48 +0000 (14:37 +0000)]
Merge "Introduce cy.clearSessionStorage"

4 years agoIntroduce cy.clearSessionStorage 72/97672/2
Ittay Stern [Tue, 29 Oct 2019 10:58:49 +0000 (12:58 +0200)]
Introduce cy.clearSessionStorage

Issue-ID: VID-647

Change-Id: I51471f736577599c1ace8e330a4db089deccc8ca
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoCypress>=3.3.1 readFile() does not expect a relative file-path starting with / 37/97537/3
Ittay Stern [Thu, 24 Oct 2019 11:05:12 +0000 (14:05 +0300)]
Cypress>=3.3.1 readFile() does not expect a relative file-path starting with /

See:
https://github.com/cypress-io/cypress/issues/4352#issuecomment-507963062

Issue-ID: VID-687

Change-Id: I5f5f34be85ec2d3401cdf01f4259c2b5d02da37c
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge "Add another vfm-upgrade test"
Amichai Hemli [Tue, 29 Oct 2019 12:54:14 +0000 (12:54 +0000)]
Merge "Add another vfm-upgrade test"

4 years agoAdd API test that call to MSO and asserts headers in request and metric log 65/97665/2
Alexey Sandler [Tue, 29 Oct 2019 07:03:16 +0000 (09:03 +0200)]
Add API test that call to MSO and asserts headers in request and metric log

Issue-ID: VID-253

Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Change-Id: Ie3beccb2fd1c70a81fd245abd03e33cdfa79efdd

4 years agoAdd another vfm-upgrade test 69/97569/3
Ittay Stern [Wed, 23 Oct 2019 14:47:34 +0000 (17:47 +0300)]
Add another vfm-upgrade test

Issue-ID: VID-603

Change-Id: I4690906d3bc660984a0c2269d7151f6151b89940
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agodowngrade onap logging dependency back to 1.5.1 33/97633/1
Eylon Malin [Mon, 28 Oct 2019 12:24:19 +0000 (14:24 +0200)]
downgrade onap logging dependency back to 1.5.1

Issue-ID: VID-253

onap logging 1.6.1 has some invalid prints to metrics logs

Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: Icdba16a96e5424d817ff4dff783472c3d9d294bd

4 years agoupgrade onap logging dependency to 1.6.1 29/97629/1
Eylon Malin [Mon, 28 Oct 2019 06:22:39 +0000 (08:22 +0200)]
upgrade onap logging dependency to 1.6.1

Issue-ID: VID-253
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: Ie667151357386bd93bcdec8fc5fca31f38842c17

4 years agoRemoved the line break before and after options over UI, 23/97623/1
Amir Skalka [Fri, 25 Oct 2019 19:58:36 +0000 (22:58 +0300)]
Removed the line break before and after options over UI,
Added a 'version' field validation over the E2E test.

Issue-ID: VID-691
Signed-off-by: Amir Skalka <amir.skalka@intl.att.com>
Change-Id: I52205e819a373458c47b8a48239c4bdb309a0bae

4 years agoMerge "Split Upgrade VF Module tests from viewEdit"
Amichai Hemli [Thu, 24 Oct 2019 14:28:07 +0000 (14:28 +0000)]
Merge "Split Upgrade VF Module tests from viewEdit"

4 years agolog VID is started on startup 39/97539/2
Eylon Malin [Thu, 24 Oct 2019 11:36:42 +0000 (14:36 +0300)]
log VID is started on startup

Issue-ID: VID-253

Logging api tests use this indication for getting only relevant log
lines

Change-Id: I3cb829ab5a0f3cead3db50859da2ba12df75a971
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
4 years agoSplit Upgrade VF Module tests from viewEdit 36/97536/1
Ittay Stern [Wed, 23 Oct 2019 14:47:34 +0000 (17:47 +0300)]
Split Upgrade VF Module tests from viewEdit

Issue-ID: VID-603
Change-Id: I2edd4417dfb5f078fc10874592754d47e189d74d
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge changes I5c90f5bc,I8883de54
Ittay Stern [Thu, 24 Oct 2019 10:29:06 +0000 (10:29 +0000)]
Merge changes I5c90f5bc,I8883de54

* changes:
  fix ApacheClientMetricInterceptor to return expected ResponseCode
  don't add request id to MDC in VidLoggerAspect

4 years agoMerge "change management cypress test"
Ittay Stern [Thu, 24 Oct 2019 10:26:45 +0000 (10:26 +0000)]
Merge "change management cypress test"

4 years agochange management cypress test 51/97451/2
Sara Weiss [Wed, 23 Oct 2019 08:29:33 +0000 (11:29 +0300)]
change management cypress test

Issue-ID: VID-378
Signed-off-by: Sara Weiss <sara.weiss@intl.att.com>
Change-Id: I60a996ebbd6a9f509ab44ae4f656d260d2cac547
Signed-off-by: Sara Weiss <sara.weiss@intl.att.com>
4 years agofix ApacheClientMetricInterceptor to return expected ResponseCode 29/97529/1
Eylon Malin [Thu, 24 Oct 2019 09:43:12 +0000 (12:43 +0300)]
fix ApacheClientMetricInterceptor to return expected ResponseCode

Issue-ID: VID-253
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I5c90f5bcbf34eee28c192128333ca940558ecb30

4 years agodon't add request id to MDC in VidLoggerAspect 21/97521/1
Eylon Malin [Thu, 24 Oct 2019 08:37:34 +0000 (11:37 +0300)]
don't add request id to MDC in VidLoggerAspect

Issue-ID: VID-253

request id is added to MDC by
org.onap.logging.filter.spring.LoggingInterceptor
so VidLoggerAspect don't need to add the request id to MDC

Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I8883de54f6775cfc80df6f45b8ec489841b5a97a

4 years agoCypress>=3.3.1 readFile() does not expect a relative file-path starting with / 83/97483/3
Ittay Stern [Wed, 23 Oct 2019 14:10:52 +0000 (17:10 +0300)]
Cypress>=3.3.1 readFile() does not expect a relative file-path starting with /

See:
https://github.com/cypress-io/cypress/issues/4352#issuecomment-507963062

Issue-ID: VID-687
Change-Id: I4f3292e80d22d217d9bd33c685766efd5a8f4d8f
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agocommon api tests assertion, for metrics log and outgoing out headers 16/97516/1
Eylon Malin [Thu, 24 Oct 2019 07:19:51 +0000 (10:19 +0300)]
common api tests assertion, for metrics log and outgoing out headers

Issue-ID: VID-253
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I3d0f5c215d080b5ae70fe7bb2b42a97fb944dcf9

4 years agoMerge "register MSO Client to MetricLogClientFilter"
Ittay Stern [Wed, 23 Oct 2019 17:29:27 +0000 (17:29 +0000)]
Merge "register MSO Client to MetricLogClientFilter"

4 years agoregister MSO Client to MetricLogClientFilter 73/97273/7
Alexey Sandler [Thu, 17 Oct 2019 17:21:21 +0000 (20:21 +0300)]
register MSO Client to MetricLogClientFilter

Issue-ID: VID-253
Change-Id: Id0e3f13e62170da41981d74dbb5b92e8d3d1b69c
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
4 years agoInstall incoming-requests auditor 40/97440/5
Ittay Stern [Tue, 22 Oct 2019 22:12:21 +0000 (01:12 +0300)]
Install incoming-requests auditor

Issue-ID: VID-253

Change-Id: I62aa4c0b1ab360f01eb00bb6aa83fe0e30e362ac
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoIntroduce LOG-NAME enumerator 33/97433/7
Ittay Stern [Tue, 22 Oct 2019 18:17:31 +0000 (21:17 +0300)]
Introduce LOG-NAME enumerator

Issue-ID: VID-253

Change-Id: Ib24e6ce12fd89bdddaf1b15b7c0d47b3d6f8af9a
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agouse logging interceptor in SDC client 59/96859/5
Eylon Malin [Thu, 10 Oct 2019 12:22:07 +0000 (15:22 +0300)]
use logging interceptor in SDC client

Issue-ID: VID-253
Change-Id: I67947886fd8945a224ee81d5eb0a8fedf1f7317c
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
4 years agoAaiController tests 59/97259/1
Michal Kabaj [Thu, 17 Oct 2019 13:08:15 +0000 (15:08 +0200)]
AaiController tests

added new unit tests to AaiControllerTest

Issue-ID: VID-684
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
Change-Id: Ib6a7aaa932ff2909b8a1fd81d5128713d1dc3eb5

4 years agoAdd ability to retrieve from simulator recorded requests and headers 04/96904/1
Eylon Malin [Thu, 10 Oct 2019 21:26:05 +0000 (00:26 +0300)]
Add ability to retrieve from simulator recorded requests and headers

Issue-ID: VID-253
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: Ie8dfe7216240a95d40c0d7ffdd5c69f6ddb643af

4 years agoMerge "base logging interceptor for apache http client"
Ittay Stern [Thu, 10 Oct 2019 11:53:10 +0000 (11:53 +0000)]
Merge "base logging interceptor for apache http client"

4 years agofix call AAI get vnf data with right cloudRegion id 51/96851/2
Alexey Sandler [Thu, 10 Oct 2019 10:06:11 +0000 (13:06 +0300)]
fix call AAI get vnf data with right cloudRegion id

Issue-ID: VID-596
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Change-Id: I9879657abdc23d91370ed12736d177884963448a

4 years agobase logging interceptor for apache http client 46/96846/2
Eylon Malin [Thu, 10 Oct 2019 08:50:06 +0000 (11:50 +0300)]
base logging interceptor for apache http client

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>
4 years agoMerge changes from topics "VID-30", "VID-37"
Ittay Stern [Thu, 10 Oct 2019 08:22:51 +0000 (08:22 +0000)]
Merge changes from topics "VID-30", "VID-37"

* changes:
  Add the "@Override" annotation.
  Replace "==" with "===".

4 years agoMerge "Dont filter get_vnf_data_by_globalid_and_service_type_response results"
Amichai Hemli [Wed, 9 Oct 2019 19:16:57 +0000 (19:16 +0000)]
Merge "Dont filter get_vnf_data_by_globalid_and_service_type_response results"

4 years agoAdd the "@Override" annotation. 89/96289/2
anushadasari [Thu, 26 Sep 2019 16:22:36 +0000 (21:52 +0530)]
Add the "@Override" annotation.

Using the @Override annotation is useful for two reasons :
It elicits a warning from the compiler if the annotated method doesn't actually override anything, as in the case of a misspelling.
It improves the readability of the source code by making it obvious that methods are overridden.

Issue-ID: VID-612
Change-Id: I90f07b6da5934fcba0c6d4106a75684438d8bb4b
Signed-off-by: anushadasari <danush10@in.ibm.com>
4 years agoadd logging-filter dependencies to vid-app-common 69/96669/1
Eylon Malin [Mon, 7 Oct 2019 12:20:40 +0000 (15:20 +0300)]
add logging-filter dependencies to vid-app-common

Issue-ID: VID-253
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I1c9ae03fb9c33a12c24b887a9262df77b8d29e0c