vid.git
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

4 years agoDont filter get_vnf_data_by_globalid_and_service_type_response results 57/96657/2
Ittay Stern [Sun, 6 Oct 2019 14:50:28 +0000 (17:50 +0300)]
Dont filter get_vnf_data_by_globalid_and_service_type_response results

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>
4 years agoMerge "Add partner-name header sending to SDC"
Amichai Hemli [Sun, 6 Oct 2019 13:17:32 +0000 (13:17 +0000)]
Merge "Add partner-name header sending to SDC"

4 years agoMerge "send X-ONAP-RequestID and X-InvocationID headers to AAI"
Ittay Stern [Sun, 6 Oct 2019 10:51:24 +0000 (10:51 +0000)]
Merge "send X-ONAP-RequestID and X-InvocationID headers to AAI"

4 years agosend X-ONAP-RequestID and X-InvocationID headers to AAI 54/96654/4
Eylon Malin [Sun, 6 Oct 2019 06:41:33 +0000 (09:41 +0300)]
send X-ONAP-RequestID and X-InvocationID headers to AAI

Issue-ID: VID-253
Change-Id: I5910e351982d3f118248f7dbeb735db018e1f05e
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
4 years agoAdd partner-name header sending to SDC 56/96656/1
Ittay Stern [Sun, 6 Oct 2019 09:58:38 +0000 (12:58 +0300)]
Add partner-name header sending to SDC

Issue-ID: VID-253

Change-Id: I471ceea513b62f5bc83f8496e15b647f7d888926
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge "all rest calls of AAIRestInterface use doRest method"
Ittay Stern [Sun, 6 Oct 2019 08:53:30 +0000 (08:53 +0000)]
Merge "all rest calls of AAIRestInterface use doRest method"

4 years agochange management integration with reduce flag 53/96653/4
Sara Weiss [Sun, 6 Oct 2019 05:59:07 +0000 (08:59 +0300)]
change management integration with reduce flag

Issue-ID: VID-596
Signed-off-by: Sara Weiss <sara.weiss@intl.att.com>
Change-Id: I3b9df53ae4b58b3abe672b3871b75a68fda79fc9
Signed-off-by: Sara Weiss <sara.weiss@intl.att.com>
4 years agoall rest calls of AAIRestInterface use doRest method 52/96652/4
Eylon Malin [Sun, 6 Oct 2019 05:44:02 +0000 (08:44 +0300)]
all rest calls of AAIRestInterface use doRest method

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>
4 years agoMerge "Verify audit logs format `audit2019`"
Amichai Hemli [Thu, 3 Oct 2019 14:53:32 +0000 (14:53 +0000)]
Merge "Verify audit logs format `audit2019`"

4 years agoMerge "sort base resource according it's position field"
Amichai Hemli [Thu, 3 Oct 2019 14:42:23 +0000 (14:42 +0000)]
Merge "sort base resource according it's position field"

4 years agoMerge "send INVOCATION_ID header in MsoRestClientNew"
Ittay Stern [Thu, 3 Oct 2019 12:47:06 +0000 (12:47 +0000)]
Merge "send INVOCATION_ID header in MsoRestClientNew"

4 years agosort base resource according it's position field 70/96270/5
Einat Vinouze [Wed, 25 Sep 2019 13:06:48 +0000 (16:06 +0300)]
sort base resource according it's position field

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>
4 years agoFix for failing tests 56/96556/1
wsliwka [Thu, 3 Oct 2019 11:45:01 +0000 (13:45 +0200)]
Fix for failing tests

Issue-ID: VID-602
Signed-off-by: wsliwka <wojciech.sliwka@nokia.com>
Change-Id: Ic2662e884c987372340aa93f553972f7646bf95f

4 years agosend INVOCATION_ID header in MsoRestClientNew 46/96546/2
Eylon Malin [Thu, 3 Oct 2019 09:09:56 +0000 (12:09 +0300)]
send INVOCATION_ID header in MsoRestClientNew

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

4 years agoMerge "adding orchestration type to service models view"
Ittay Stern [Thu, 3 Oct 2019 09:37:54 +0000 (09:37 +0000)]
Merge "adding orchestration type to service models view"

4 years agoVerify audit logs format `audit2019` 00/96500/3
Ittay Stern [Sun, 15 Sep 2019 09:08:51 +0000 (12:08 +0300)]
Verify audit logs format `audit2019`

Issue-ID: VID-253

Change-Id: Ic62c455c101311dc3ac3022912390209e3fd86e7
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge "remove unused post method"
Ittay Stern [Thu, 3 Oct 2019 07:27:47 +0000 (07:27 +0000)]
Merge "remove unused post method"

4 years agoMerge changes I3d32b225,I75b554a6
Ittay Stern [Thu, 3 Oct 2019 07:24:49 +0000 (07:24 +0000)]
Merge changes I3d32b225,I75b554a6

* changes:
  add test case of restCall to outgoing request header test
  remove unused interface and unused methods

4 years agoremove unused post method 37/96537/1
Eylon Malin [Thu, 3 Oct 2019 05:44:49 +0000 (08:44 +0300)]
remove unused post method

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

4 years agoadd test case of restCall to outgoing request header test 36/96536/1
Eylon Malin [Thu, 3 Oct 2019 05:32:54 +0000 (08:32 +0300)]
add test case of restCall to outgoing request header test

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

4 years agoremove unused interface and unused methods 35/96535/1
Eylon Malin [Thu, 3 Oct 2019 05:17:28 +0000 (08:17 +0300)]
remove unused interface and unused methods

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

4 years agoUT - requestId is same in next call but invocationId is different 34/96534/1
Eylon Malin [Thu, 3 Oct 2019 04:58:17 +0000 (07:58 +0300)]
UT - requestId is same in next call but invocationId is different

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

4 years agoMerge "send INVOCATION_ID header via RestMsoImplementation"
Amichai Hemli [Wed, 2 Oct 2019 22:20:15 +0000 (22:20 +0000)]
Merge "send INVOCATION_ID header via RestMsoImplementation"

4 years agoMsoRestClientNew not extends RestMsoImplementation 05/96505/2
Eylon Malin [Wed, 2 Oct 2019 12:41:08 +0000 (15:41 +0300)]
MsoRestClientNew not extends RestMsoImplementation

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

4 years agoadding orchestration type to service models view 65/96165/7
Bartosz Gardziejewski [Tue, 24 Sep 2019 05:54:09 +0000 (07:54 +0200)]
adding orchestration type to service models view

Issue-ID: VID-602
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I289b55129cbfe8fbf6dd28f0e8f41715ff4ed107

4 years agosend INVOCATION_ID header via RestMsoImplementation 03/96503/1
Eylon Malin [Wed, 2 Oct 2019 11:57:35 +0000 (14:57 +0300)]
send INVOCATION_ID header via RestMsoImplementation

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

4 years agoVerify partner-name header sent to AAI, SO 71/96271/3
Ittay Stern [Thu, 26 Sep 2019 04:50:07 +0000 (07:50 +0300)]
Verify partner-name header sent to AAI, SO

Issue-ID: VID-253

Change-Id: I80c710db1eb3f48c52b7ecebb234e75a503bf65d
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge "Revive SO's OutgoingRequestHeadersTest"
Amichai Hemli [Wed, 2 Oct 2019 09:19:43 +0000 (09:19 +0000)]
Merge "Revive SO's OutgoingRequestHeadersTest"

4 years agoenable mso rest client send DELETE request with body 93/96493/1
Eylon Malin [Wed, 2 Oct 2019 07:55:06 +0000 (10:55 +0300)]
enable mso rest client send DELETE request with body

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