aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main
AgeCommit message (Collapse)AuthorFilesLines
2019-10-02enable mso rest client send DELETE request with bodyEylon Malin3-81/+9
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
2019-10-01Replace "==" with "===".anushadasari1-1/+1
The == and != operators do type coercion before comparing values. This is bad because it can mask type errors. For example, it evaluates ' \t\r\n' == 0 as true. It is best to always use the side-effect-less === and !== operators instead. Issue-ID: VID-656 Change-Id: If93fe032fae618bb0bd7112c24a0e4d3acab6337 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-09-25Expect None_Upgrade action for VNF upgradeAmichai Hemli1-0/+1
FE will send the None_Upgrade action therefore we need to map it to Upgrade Issue-ID: VID-651 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ia4806386dcd8faf557f0c17a2f533afa386b2ec1
2019-09-25Merge "Test Administration Script: category_parameter.sh"Amichai Hemli3-0/+0
2019-09-25Merge "Introduce request-id headers enum"Amichai Hemli2-20/+36
2019-09-25change management integration with reduce flagSara Weiss2-7/+7
Issue-ID: VID-596 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Change-Id: I81155ff877016995ef977358d3bf9fddf75a18ce
2019-09-25Test Administration Script: category_parameter.shIttay Stern3-0/+0
Issue-ID: VID-638 Change-Id: Ia971cc95f03ed1e3372302afd3c699633370204f Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-24Add "@Override" annotation above method signature.anushadasari1-0/+1
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: Ic628b85f7a3e4c08712c88298fa4620ecddce0cc Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-09-24Add 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-607 Change-Id: I27deafe5e97d71be4b5b6501f3cda0a19769123b Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-09-24Add a semicolon at the end of this statement.anushadasari1-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-607 Change-Id: Ibf05db5e76be01c78cfac8196fcf4bb09dfa7709 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-09-24Add a semicolon at the end of this statement.anushadasari1-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-607 Change-Id: Id3fd3e7baea856e8aab4c5c7c509a6c00bb44ced Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-09-24Add a semicolon at the end of this statement.anushadasari1-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-607 Change-Id: I45637083e88ac2e1c4cb27519a3116f2f5f792e8 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-09-24Add a semicolon at the end of this statement.anushadasari1-11/+11
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-607 Change-Id: I2adee2c4d945cde39d796106fa6540d875b25219 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-09-24Add a semicolon at the end of this statement.anushadasari1-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-607 Change-Id: I6798e2fbf4439e5336e1af734aa762449454f04f Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-09-24Add a semicolon at the end of this statement.anushadasari1-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-607 Change-Id: I74a97be12bc5a110c4afd7f2d3eaf51b0ae707c8 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-09-24Add a semicolon at the end of this statement.anushadasari2-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-607 Change-Id: I351d26cab21fffe5925dd6bc64691166e5c3ea3d Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-09-24Add a semicolon at the end of this statement.anushadasari1-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-607 Change-Id: I1fd965413585256c09e61c2a19b0651800e65eab Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-09-24Introduce request-id headers enumIttay Stern2-20/+36
Issue-ID: VID-253 Change-Id: I4df5756d14969a2c0daa777c75c1365837f9ad1f Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-24Encoding path segments on reduced custom queryAmichai Hemli1-4/+4
Need to URL-encode the path segments when sending URL in the custom queries to A&AI Issue-ID: VID-596 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ie551cccfc1a8c627984185324a59c18f13200e91
2019-09-24Merge "change management new filter tests"Ittay Stern3-15/+31
2019-09-24Merge "Add a position field to BaseResource"Ittay Stern8-78/+102
2019-09-24Add a position field to BaseResourceEinat Vinouze8-78/+102
Issue-ID: VID-646 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Id1f84dadd31840cf9fa3cdbc7afd7da727a22c7f
2019-09-24change management new filter testsSara Weiss3-15/+31
Issue-ID: VID-596 Change-Id: I591da151bb27a46c217edec552e7c9c670a96aaa Signed-off-by: Sara Weiss <sara.weiss@intl.att.com>
2019-09-23add 'cloud region' optional field to change managementSara Weiss4-20/+69
Issue-ID: VID-596 Change-Id: Ieb89980f7e802fe2508950a0e1a23188145fd85e Signed-off-by: Sara Weiss <sara.weiss@intl.att.com>
2019-09-23Change-management: provide and use scheduler's fields through ↵Ittay Stern5-27/+74
vm.scheduleWorkflow() In addition, show error message when no Portal-frame. Use the dumped data to revive ChangeManagementTest tests by capturing the error's payload. Issue-ID: VID-397 Change-Id: I978bf537c43b0e3933e82c761c60cd067ab2cf27 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-22Remove injections from filter, as filter is not Spring-controlledIttay Stern2-20/+12
Change-Id: Iecb4d6fbb79c5920d088fe536e6622690f8f881e Issue-ID: VID-253 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-22Let request-id value derive from alternative request-headersIttay Stern2-17/+71
Issue-ID: VID-253 Change-Id: Icae6caf5f720da0c7587f62380d1783669e69d9f Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-19Rename PromiseRequestIdFilter, extract isWrapNeeded and incomingRequestId ↵Ittay Stern1-22/+30
methods Change-Id: Idb39f7d5e723598e34e737522c4f73d8de3df93c Issue-ID: VID-253 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-19Merge "Disable homing_solution"6.0.0Ittay Stern5-10/+39
2019-09-19Disable homing_solutionwsliwka5-10/+39
Send Homing_solution=none during macro instantiation Add flag 'FLAG_DISABLE_HOMING' (by default set to true) which defines whether homing_solution should be in request to so or not Issue-ID: VID-576 Signed-off-by: wsliwka <wojciech.sliwka@nokia.com> Change-Id: I6151151a0256a5bb4e637acf08ae511f4b265dc2 Signed-off-by: wsliwka <wojciech.sliwka@nokia.com>
2019-09-18Merge "remove duplicated label InternalState.REPLACE_MYSELF"Ittay Stern1-5/+0
2019-09-18remove duplicated label InternalState.REPLACE_MYSELFEinat Vinouze1-5/+0
Issue-ID: VID-646 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Ifc6a43f9b34c5c792a05cc3502c1e8fcf5023210
2019-09-18add new flag FLAG_1911_INSTANTIATION_ORDER_IN_ASYNC_ALACARTEEylon Malin2-0/+2
Issue-ID: VID-646 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I533221a6115c4a2d00ce3ed02eef4d1ad882df3a
2019-09-16Add cloud-region and nf-role as an optional search criteriaAlexey Sandler3-7/+32
Issue-ID: VID-596 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I72d9c2c9dc3f39fcc3c87e083ac230d20135e979
2019-09-15Remove redundant get vnf data endpoint of aaiController (fix)Amichai Hemli1-12/+0
As we are now using AaiController2, the AaiController endpoint of change-management is redundant Issue-ID: VID-596 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: I68289eb5acb02af75c052e891dc6f77a48dc62c7
2019-09-15change operational-environment-type on operational-environments queryEylon Malin1-1/+1
Issue-ID: VID-637 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ia9340269dd6a4a6616a6fdbfe166eea0731490de
2019-09-15Merge "logging of HttpResponse use raw body"Ittay Stern1-1/+5
2019-09-12Merge "logging requests and responses in SyncRestClient"Ittay Stern1-14/+80
2019-09-12Merge "Reduce vnf data response from A&AI in change management flows"Ittay Stern5-18/+80
2019-09-12logging of HttpResponse use raw bodyEylon Malin1-1/+5
print raw body for cases like errors make sure the response can be read logging it Issue-ID: VID-611 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: If138531f515fb2927a13417040b68e81babebc4e
2019-09-12logging requests and responses in SyncRestClientEinat Vinouze1-14/+81
Issue-ID: VID-611 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I0e64e9520e566f9317f3fcbf0495b67349993ce4
2019-09-12Merge "add button to menual search of vnf change the vnf role to free text ↵Ittay Stern5-282/+456
optional"
2019-09-12Reduce vnf data response from A&AI in change management flowsas221v5-18/+80
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-12add button to menual search of vnf change the vnf role to free text optionalSara Weiss5-282/+456
Issue-ID: VID-378 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Change-Id: I21a4b541f32626823d84f9d0d6fb0392275b7428 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com>
2019-09-12create JoshworksJacksonObjectMapper and use it everywhere neededEylon Malin3-47/+20
Create class that implement joshworks object mapper that used jackson object mapper that support kotlin. Use it instead local anonymous classes where needed Issue-ID: VID-611 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ie00dce0ec9b366515c5e40d9f37b9e64a2ceb357
2019-09-12Merge "make Logging a service and inject it to SyncRestClient"Ittay Stern10-127/+171
2019-09-12make Logging a service and inject it to SyncRestClientEylon Malin10-127/+171
Issue-ID: VID-611 Change-Id: I120782884351c55b2e0d1b4ca8bae1e2479d1d0a Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-09-12add Feature Flag for cloud-region and nf-role as an optional searchAlexey Sandler2-0/+2
Issue-ID: VID-596 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I36e5ea4842816dfa8a6734299bf667150600a375
2019-09-11Add flag flag_flash_more_actions_button_in_old_view_edit (fixup)Einat Vinouze1-1/+2
Issue-ID: VID-603 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: If50a1f810a7851e4eaa88ac07fe3a09f381c0e4a
2019-09-10Merge "Semicolon at the end of the Statement and Remove trailing whitespaces ↵Ittay Stern1-4/+2
at the end of this line"