aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common
AgeCommit message (Collapse)AuthorFilesLines
2019-09-04Merge "fix getDeactivateAndCloudDeletePath test"Ittay Stern1-10/+4
2019-09-04Merge "Add UT to ToscaParserImpl"Ittay Stern1-0/+13
2019-09-03fix getDeactivateAndCloudDeletePath testEylon Malin1-10/+4
Use hard coded in test instead of same logic of production code Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I967432e5e35fde7661fc2145ac3815a4b0a05318
2019-09-03change management cypressEinat Vinouze2-2/+2
This is the very first cypress test for change management Issue-ID: VID-596 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Ib3ddc5d88504392281dbd25c3d6688714a01a643
2019-09-03Add UT to ToscaParserImplSara Weiss1-0/+13
Issue-ID: VID-378 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Change-Id: If2cf3bd2171b7935702008f7a16fbea1b8523a35
2019-09-03Merge "Add to SimpleDateFormat function locale us parameter"Wojciech Sliwka1-1/+2
2019-09-02Add to SimpleDateFormat function locale us parameterIttay Stern1-1/+2
Change-Id: I27866be89b95d2c164909248f3bbd45373bf39a9 Issue-ID: VID-605 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-02remove not used feature RoleGeneratorEylon Malin6-487/+0
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I0eea2c7305f6faabcb1e54a7f4dd9f51fe37586f
2019-09-02Merge "Add a semicolon at the end of this statement"Ittay Stern1-5/+5
2019-09-02Merge "Add a semicolon at the end of this statement"Ittay Stern2-2/+2
2019-09-02improve test to verify also serializationEylon Malin2-38/+10
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Iaff42459fc9bd7d843b21af6d710afc9a194680c
2019-09-02add UT for MsoController.testActivateFabricConfigurationEylon Malin1-1/+37
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Iddecbfef0378a559a34501e15911b350ec0766a0
2019-09-02Add a semicolon at the end of this statementanushadasari1-5/+5
In JavaScript, the semicolon (;) is optional as a statement separator, but omitting semicolons can be confusing, and lead to unexpected results because a semicolon is implicitly inserted at the end of each line. Issue-ID: VID-597 Change-Id: I64c97eaf1877016fe79e6e31caf620f8c99363df Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-09-02Add a semicolon at the end of this statementanushadasari2-2/+2
In JavaScript, the semicolon (;) is optional as a statement separator, but omitting semicolons can be confusing, and lead to unexpected results because a semicolon is implicitly inserted at the end of each line. Issue-ID: VID-597 Change-Id: Icfb0b3ce96d9f0137bdd9445173dd31e27e13305 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-09-02Revert "add some UT for MsoBusinessLogicImpl"Eylon Malin1-65/+0
This reverts commit b2805ebd910ecf9cc49597a52bd8f6e6b18f1d31 Reason for revert: duplicated tests. These scenarios already covered by another methods in this class. Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I645b770d853dc39947222de5b8332d3e9fd23087
2019-09-01Merge "add some UT for MsoBusinessLogicImpl"Ittay Stern1-0/+65
2019-09-01Fix "old-csars" test: csarWithVnfWithVfModuleInModelEylon Malin6-13/+12
Issue-ID: VID-378 Change-Id: Icde5058772379f2d48477c05c986f4fe8a30f446 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-01add some UT for MsoBusinessLogicImplEylon Malin1-0/+65
Add UT for: deleteSvcInstance, deleteVnf, deleteVfModule Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I838c69ae4d0209fe8d62ada98e06dcc1817a4d88
2019-09-01add UT for NCF modelEylon Malin1-0/+63
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I4f9eaa8a12770d7afb9b51633e70ff799f670b70
2019-09-01add getNewestModelVersionByInvariant to controller and serviceEylon Malin5-0/+131
Also add testGetActiveNetworkList UT Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I97c2ae029272aba915d5f9699bccff0eb9d49329 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-09-01handle non OK response from SDC while getting modelEylon Malin8-44/+175
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Idc6e587abb24fbec65ed159db7008e50abee2581
2019-08-30Merge "add ut getServiceToscaModel rethrow Exception"Ittay Stern1-20/+67
2019-08-29Merge "edit of macro services in new view edit screen"Amichai Hemli3-87/+64
2019-08-29add ut getServiceToscaModel rethrow ExceptionEylon Malin1-20/+67
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ia8a649a281cbc687bbec4f25e6bd67e1681276bc
2019-08-29edit of macro services in new view edit screenEylon Malin3-87/+64
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-29Add a semicolon at the end of this statementanushadasari1-3/+3
In JavaScript, the semicolon (;) is optional as a statement separator, but omitting semicolons can be confusing, and lead to unexpected results because a semicolon is implicitly inserted at the end of each line. Issue-ID: VID-597 Change-Id: I4d324d96d28a3796b971b83997d72a64ed161ce8 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-08-29Merge "Add a semicolon at the end of this statement"Ittay Stern1-8/+8
2019-08-29Merge "Add a semicolon at the end of this statement."Ittay Stern1-4/+4
2019-08-29Add a semicolon at the end of this statementanushadasari1-8/+8
In JavaScript, the semicolon (;) is optional as a statement separator, but omitting semicolons can be confusing, and lead to unexpected results because a semicolon is implicitly inserted at the end of each line. Issue-ID: VID-597 Change-Id: If9e0bba384cd1345e4674e5e06085ba8feb78e39 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-08-29Add a semicolon at the end of this statement.anushadasari1-4/+4
In JavaScript, the semicolon (;) is optional as a statement separator, but omitting semicolons can be confusing, and lead to unexpected results because a semicolon is implicitly inserted at the end of each line. Issue-ID: VID-597 Change-Id: I9a80b3c9fd3102f508a33581f57499dba33b51fd Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-08-29add UT to ToscaParserImpl and fix little bugEylon Malin7-38/+170
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I5ea0f09c2898c3a7e1db60d37dde754138a86121 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-08-29add AAITreeNodeUtilsTestEylon Malin1-0/+166
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I74dc26492196c4907e1aae208944c412869eef4e Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-08-29fix url and payload for getting latest modelEylon Malin2-6/+81
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I5b2dc7df0202838898ab060a71c144f69a54900f
2019-08-28Fix legacy region in resume vfModule5.0.1Eylon Malin2-11/+5
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Idad1357d8de234ad54716d8d51ac846a426a5258 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-08-28Fix resume vfModuleEylon Malin1-3/+1
Get from AAI lcpCloudRegion and tenantList even when there is homing data for vfModule, for make resume popup compatible with creationService Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ia57e8e020d2f5373c2b3239b6020a12030deef07
2019-08-28Pass optionId in msoParameterList, letting late deconstruction of owner+regionIttay Stern2-2/+2
Issue-ID: VID-378 Change-Id: I234bdd6c693c66621f187bb4e7ededd2c0324cac Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-08-27Get Sonar report Kotlin, by specifying path to load jacoco xml reportIttay Stern1-0/+5
Sonar can't load Kotlin coverage from binary report; see https://jira.sonarsource.com/browse/MMF-1362 Issue-ID: VID-599 Change-Id: I7ffab337acb83847b3f29f835e25f13ec9daae6c Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-08-27get cloudOptionId from getHomingDataAlexey Sandler2-12/+26
Issue-ID: VID-378 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Ifa5cb0a827161f62b104bf18605531a2ebb29494
2019-08-27Merge "Immediately return this expression instead of assigning it to the ↵Ittay Stern1-2/+2
temporary variable "responseWrapper2""
2019-08-26Merge "Log request-id even when no HttpServletRequest param or no user-session"Amichai Hemli2-53/+74
2019-08-26Merge "Add a semicolon at the end of this statement"Ittay Stern1-18/+18
2019-08-26Merge "Immediately return this expression instead of assigning it to the ↵Ittay Stern1-3/+2
temporary variable "exceptionResponse""
2019-08-26Merge "Add semicolon at the end of this statement"Ittay Stern1-20/+20
2019-08-26Merge "Move this variables to comply with Java Code Conventions."Ittay Stern1-1/+3
2019-08-26Log request-id even when no HttpServletRequest param or no user-sessionIttay Stern2-53/+74
1. Catch controllers under org.onap.vid.controller.open. 2. Get HttpServletRequest from Spring's context, if needed. 3. Fix the way SetRequestBasedDefaultsIntoGlobalLoggingContext is used. Change-Id: Iecd46dc10a458bc20d4b3e0bd72ecae37e3218cf Issue-ID: VID-598 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-08-26Make Scheduler's client more Gennerics-tolerantIttay Stern1-1/+2
1. Use t.getClass, instead of new TypeReference<T>. The latter it not behaving as expected on run-time. 2. Store the raw response in restObject.setRaw (just because we can) Change-Id: Ic7087af18ded212447cb67334a9e373759f4da1f Issue-ID: VID-378 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-08-26Immediately return this expression instead of assigning it to the temporary ↵Thugutla sailakshmi1-2/+2
variable "responseWrapper2" return the expression Issue-ID: VID-561 Change-Id: I2a036a8181601c6cb6c5fd498c631ce9e5f5cbdb Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-08-26Merge "AaiController tests"Wojciech Sliwka2-52/+200
2019-08-26AaiController testsMichal Kabaj2-52/+200
- improved existing testcases by including spring integration - added new testcases Change-Id: I64abbd91b9c9fc7cdc27ca25f90954b29f065096 Issue-ID: VID-478 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-08-25Immediately return this expression instead of assigning it to the temporary ↵Thugutla sailakshmi1-3/+2
variable "exceptionResponse" return the expression Issue-ID: VID-561 Change-Id: Ie06a589a74438df8dac525c5d8380beb948dc48e Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>