aboutsummaryrefslogtreecommitdiffstats
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2018-05-14Fixes several sonarqube reported issuesdekstroza3-296/+296
Fixes couple of major sonar reported issues, code is reformatted using ONAP java code style Issue-ID: SDC-1270 Change-Id: I8ae52deac5cf73eaedb0f104d72e5f4446239c6a Signed-off-by: dekstroza <dejan.kitic@ericsson.com>
2018-05-09Rename packages from openecomp to onapamitjai3-9/+9
Updating classes with correct package names used in reflection. Change-Id: Ib9568b58c2b7ebd14f4cfc91cda57c44db9b377f Issue-ID: SDC-1272 Signed-off-by: amitjai <amitjai@amdocs.com>
2018-05-06This patch removes first chunk of duplicated codeDejan Kitic1-36/+19
Removing some of the duplicated code, and few minor code simplifications. Keeping the original file formatting to make review easier, will update the patch and reformat the file to comply with ONAP java code requirements Issue-ID: SDC-1270 Change-Id: I3f6393a19197754bcb860957b0db87100a8ac893 Signed-off-by: dekstroza <dejan.kitic@ericsson.com>
2018-05-01Fix TOSCA Analyzer - null point exceptionshiria1-1/+1
In case there is import to not exist TOSCA file, exception with relevant error message should be thrown In getRequirementAssignment, when there is no Requirement, Optional.Empty is returned Change-Id: I8aabde177815dec2f69307f6be3c5114c5c8efa3 Issue-ID: SDC-1281 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-04-30Rename packages from openecomp to onap.amitjai482-925/+893
This task is all about package name space change also make changes to pom for common module Change-Id: Ie9bda0f958a9a05826c0374830cc9cb7d6d196b6 Issue-ID: SDC-1272 Signed-off-by: amitjai <amitjai@amdocs.com>
2018-04-26Reducing onboarding backend maven build timeGautam Shah2-21/+58
Reducing onboarding backend maven build time Change-Id: Id0178cbf010e46f741f4bff11e14b0801f14d4b8 Issue-ID: SDC-1189 Signed-off-by: GAUTAMS <gautams@amdocs.com>
2018-04-09fix use of user credentials logicYuli Shlosberg1-7/+0
Change-Id: If518234e78983fe35ceb4b971d5093052ee824bb Issue-ID: SDC-384 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-04-09Interface definitiontalio6-19/+47
Add handling in reading and writing operation definition Change-Id: I0fd5770b19a8cf5d5a8d2b93a549fd66a3b1e728 Issue-ID: SDC-1161 Signed-off-by: talio <tali.orenbach@amdocs.com>
2018-04-08Reducing onboarding backend maven build timeshrikantawachar3-37/+0
Reducing onboarding backend maven build time Change-Id: I3fe5f8d6d9b21591018243d16809451c6b8c2d14 Issue-ID: SDC-1189 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2018-04-04Added new nodes typesiddharth09052-1/+122
Added new nodes type and new property in Port. All test data need to be updated, so file count is much more. Change-Id: Ic21befe8d7feee912fbed1d3eb676488db1fb68c Issue-ID: SDC-1183 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-03-21Add support in TOSCA isTypeOfshiria3-162/+110
Add support for InterfaceDefinitionType entity type Add support for PropertyDefinition entity type Add support for ParameterDefinition entity type Change-Id: I10ba0f6c3f16a0d476e254d40b4fcd463392cb52 Issue-ID: SDC-1153 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-03-21Handle OperationDefinition in Tosca Data Modelshiria4-54/+75
Change-Id: Ib1a7f0c5548fc9c7a98cff1182ff02300353443d Issue-ID: SDC-1154 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-03-15Interface definitiontalio9-147/+317
Add separate Interface definition for node type and node template Change-Id: I0c4446227dd096959158fd4a4741cb5aa043e495 Issue-ID: SDC-1043 Signed-off-by: talio <tali.orenbach@amdocs.com>
2018-03-15Change Tosca structuretalio25-12/+857
change Tosca Service Template according to Tosca-spec-1.1 Change-Id: I8f689b02e0349fc8c787868661f498d7d530d445 Issue-ID: SDC-1043 Signed-off-by: talio <tali.orenbach@amdocs.com>
2018-03-07Sync Integ to MasterMichael Lando1-1/+1
Change-Id: I71e3acc26fa612127756ac04073a522b9cc6cd74 Issue-ID: SDC-977 Signed-off-by: Gitelman, Tal (tg851x) <tg851x@intl.att.com>
2018-03-05VLAN tagging - VFC Instance Groupojasdubey2-1/+31
Global types to support VFC Instance Group per network role Change-Id: Ib01551974695b882448a5920ad50e098cd615130 Issue-ID: SDC-1073 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-03-04Global Type for External Port of VMI Typesiddharth09051-0/+64
Replace external port of VMI with new global type Change-Id: Ibbaacb63bdc70d81c7ad8eac3b69da276c128fd1 Issue-ID: SDC-1069 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-02-28VLAN tagging - Pattern 1A, 1C1ojasdubey1-11/+24
1. Implementation for supporting VLAN tagging in Pattern 1A and 1C1 heats 2. Updated code for switch case refactor with command design pattern 3. Added unit tests and bug fixes Change-Id: I54938ffd6673f865b4506a890ec8e7b9c54597b1 Issue-ID: SDC-1036 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-02-21Removed duplicate logging aspect classesvempo2-266/+0
Change-Id: I6245775f65751198aca6d148285c54f432647191 Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-02-15Updating Global Typespriyanshu29-33/+32
Issues in Global Types causing JTOSCA validation to fail Change-Id: I20adb7eba614bf560093dfe01b16cdd78bf1d099 Issue-ID: SDC-1042 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-02-14SRIOV - add annotations add fixeleonorali1-1/+1
SRIOV - add annotation - set param_name mandatory Change-Id: I2b75c4b0db8205166205fe86f59f70067720f7e5 Issue-ID: SDC-996 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-02-11SRIOV - add annotationseleonorali6-24/+174
SRIOV - add annotations to input TOSCA parameter converted from HEAT file (2) Change-Id: Id0b0156730ae64093df42d09e2873de047c13ac9 Issue-ID: SDC-996 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-02-04change capabilities datatypetalio1-3/+3
change node template capabilities datatype from list of map to map Change-Id: Ie0fa71b8a41ec732ae5290a72c4d8e908701ce17 Issue-ID: SDC-968 Signed-off-by: talio <tali.orenbach@amdocs.com>
2018-01-09sonar fix - Stackshrek20001-3/+2
Stack is thread safe. For this code block ArrayDeque is good enough. Issue-ID: SDC-888 Change-Id: Ieddb750ae08626ba73f1e5c92f630a0ba7fe447c Signed-off-by: shrek2000 <orenkle@amdocs.com>
2018-01-08Improve ConfigurationUtils classshrek20002-24/+25
Making getArrayClass more readable Issue-ID: SDC-879 Change-Id: I64d261a736056aacd5b1410a0ffa70bb8fee2eed Signed-off-by: shrek2000 <orenkle@amdocs.com>
2017-12-27Fix Sonar violations - ConfigurationDataSourceojasdubey1-2/+6
1. Fixed major sonar violations configuration management core - ConfigurationDataSource Change-Id: Iee96111b3051a67d25f99a0ba49e99f4d9290345 Issue-ID: SDC-343 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2017-12-27Fix Sonar violations - AggregateConfigurationojasdubey1-4/+12
1. Fixed major sonar violations configuration management core - AggregateConfiguration Change-Id: I311d0e84fbfaf936ec1a260898e0cc0090e05be9 Issue-ID: SDC-343 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2017-12-27Fix Sonar violations - ConfigurationRepositoryojasdubey1-17/+17
1. Fixed major sonar violations configuration management core - ConfigurationRepository Change-Id: Iab756af7ffae63fe9e644d733225908d121cbd9a Issue-ID: SDC-343 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2017-12-27Fix Sonar violations - AgglomerateConfigurationojasdubey1-2/+3
1. Fixed major sonar violations configuration management core - AgglomerateConfiguration Change-Id: I1f79df3a1d256aeb45b82d344c507d40f6b83026 Issue-ID: SDC-343 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2017-12-27Fix Sonar violations - ConfigurationFilterojasdubey1-0/+2
1. Fixed major sonar violations configuration management core - ConfigurationFilter Change-Id: I6fa69a894854026c32ab7e81d7c3749c7bd16841 Issue-ID: SDC-343 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2017-12-27Fixed sonar issues - YamlUtilsheetalm1-12/+28
Fixed violations and Added Copyright. Created constants Change-Id: I061ed453ed3706410b49774ee2bd0572a1c3a36f Issue-ID: SDC-343 Signed-off-by: sheetalm <sheetal.mudholkar@amdocs.com>
2017-12-27Sonar fixes for module - Configuration mgmt apiojasdubey4-23/+26
1. Fixed major sonar violations configuration management api module Change-Id: I83863213e35cf092ffd1c1ff84f408318d5ce8e9 Issue-ID: SDC-343 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2017-12-27add private constructorshrek20004-1032/+1050
Change-Id: I89c40a4e566fcc00de2b3e9b49def9b04c366d24 Issue-ID: SDC-793 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2017-12-26Update Global Types for TOSCA Importojasdubey9-813/+949
Migrated ONAP specific types to a new folder Change-Id: I992a12ac4913c6df5ad616b8d32ecdd706682102 Issue-ID: SDC-749 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2017-12-26Fixed sonar issues - ToscaExtensionYamlUtilsheetalm1-2/+19
Introduced new variable instead of using parameter. Added Copyright Change-Id: I8f7ff38c987acb1d6919c95e4a430df29927c1f9 Issue-ID: SDC-343 Signed-off-by: sheetalm <sheetal.mudholkar@amdocs.com>
2017-12-21Add collaboration featuretalig7-458/+385
Issue-ID: SDC-767 Change-Id: I14fb4c1f54086ed03a56a7ff7fab9ecd40381795 Signed-off-by: talig <talig@amdocs.com>
2017-12-12Fix - Translator core tests stuckojasdubey4-2/+11
Updated invalid dbhost config value to empty based on review comments Issue-ID: SDC-748 Change-Id: Idc691bdc7e2b988654ae87c2581ccbdd86586aae Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2017-12-10Final commit to master merge fromTal Gitelman1-13/+0
Change-Id: Ib464f9a8828437c86fe6def8af238aaf83473507 Issue-ID: SDC-714 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2017-12-06Duplicate logging frameworks mergingnoahs47-3500/+50
There was two copies of the SDC logging framework Change-Id: I55c94c9817a83162c6d90e504dfd91e4858c7269 Issue-ID: SDC-703 Signed-off-by: noahs <noah.shogan@amdocs.com>
2017-11-14forwarder testtalio1-0/+62
add unit tests for forwarder healer Issue-Id : SDC-653 Change-Id: I06954e855aac09d16422929203926aa983269b92 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-14forwarder test fixtalio1-0/+2
fix translator tests with forwarder capability Issue-Id : SDC-653 Change-Id: I59db23acb0e2c3b5920bf24662374fee950d479b Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-12forwarder GTtalio3-2/+26
add forwarder global types, without changing network port Issue-Id : SDC-653 Change-Id: I05bf44436f685bb802e44824d400eb6256fa23a2 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-08Error in Jetty logssheetalm1-22/+2
Fixed code from Configuration Management that was causing exception Change-Id: Iea5461530a1b8a548a95c86f2d5c38b965dbb45f Issue-ID: SDC-580 Signed-off-by: sheetalm <sheetal.mudholkar@amdocs.com>
2017-11-01Added new schemaAravindhan1232-1/+6752
Made changes to make version as v11 Change-Id: I66e5ffe22e5071ce06dd1ef8b75a9cbc21567cdc Issue-ID: SDC-575 Signed-off-by: Aravindhan123 <Aravindhan.r@amdocs.com>
2017-10-30global typestalio1-0/+6
Add property for fixed ips type Issue - Id : SDC-549 Change-Id: I3e2df85f1cb6d2a3c9c8fe9841466d5ede656ab7 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-10-24Fixed resources not being closed in testsvempo1-130/+68
Fixed static analysis violations in a few modules of SDC onboarding - high-severity issues like not releasing resources (e.g. FileInputStream). Did some minor code cleanup. Change-Id: I89a229ad6bc150951f1f3cc437b3a175a663e203 Issue-ID: SDC-291 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-10-23Fixed resources not being closed in config testsvempo7-39/+39
Fixed static analysis violations in the openecomp-configuration-management-test module of SDC onboarding - high-severity issues like not releasing resources (e.g. FileInputStream), and some minor code cleanup. Change-Id: I6f8e64577499213d06f5ff3a22ea39f6a46fdccd Issue-ID: SDC-291 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-10-23Additinal fixes for resources not being releasedvempo1-38/+42
More fixes for input streams not being properly closed, with unit tests and other minor improvements (code cleanup and coding conventions). Change-Id: I6751f924a1469d49b996e4f1d6c61371af6714b1 Issue-ID: SDC-291 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-10-15Fixed configuration POM for stagingvempo2-34/+0
Do not install tools.jar as a Maven artifact. Do not build configuration-management-cli as part of the project, because it has tools.jar as a dependency. Change-Id: I2f0050fd3cefb20abef3bca0e97bf43e0afe35ea Issue-ID: SDC-435 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com> (cherry picked from commit 6a3990fbda0e80c2a0693166ef695e4b3f045da6)
2017-10-09Revert "Solution for Artifact Gen for PNFResource"pprakhar4-26/+1
This reverts commit 14e1daaddad9320927890bdee4c6d2853a12c67d. Change-Id: I919e264953a1bc63b861088cb0de800efb8a0604 Issue-ID: SDC-431 Signed-off-by: pprakhar <Prakhar.Pandey@amdocs.com>