aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib
AgeCommit message (Collapse)AuthorFilesLines
2018-05-23Refactor Onboarding Translator codeojasdubey15-2934/+2985
1. Fixed sonar violations 2. Fixed static analysis issues 3. Refactored methods for code smells 4. Moved log messages to a common place as per review comments Note: UnifiedCompositionService has been included to ensure successful compilation. The violations of this class will be handled in a separate commit Change-Id: I2a37176e1d5cebc5c32883df2d19f1c602c9d958 Issue-ID: SDC-1331 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-05-23Fix bug in change item ownertalig5-56/+70
Change-Id: I200387d41f95d61ad0f6be6663b8d8fac198aa90 Issue-ID: SDC-1355 Signed-off-by: talig <talig@amdocs.com>
2018-05-22update onboarding http clientMichael Lando1-2/+2
as request for security 4.5.3 Change-Id: Ifa5bd1a6f2edef25f7ddb80b0cd4b3bc9b8b874a Issue-ID: SDC-1319 Signed-off-by: Michael Lando <ml636r@att.com>
2018-05-17Refactor Onboarding Translator codeojasdubey11-1130/+1099
1. Fixed sonar violations 2. Fixed static analysis issues 2. Refactored methods for code smells Change-Id: I0d33c93156ddfaa43769a98f086e269b43c24cd2 Issue-ID: SDC-1331 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-05-16ATT warning generated in CSARArielk1-6/+4
Change-Id: I9b0e952c80947782ccc22e84630061049de0401e Issue-ID: SDC-1329 Signed-off-by: Arielk <Ariel.Kenan@amdocs.com>
2018-05-16TOSCA Consolidation Data handling - Refactoringeleonorali8-923/+1463
Create new Interface, Base and Implementation classes for Consolidation Data Handlers Change-Id: I9638a7b57321aca00b458b244b278807a99b25f2 Issue-ID: SDC-1330 Signed-off-by: eleonorali <eleonoral@amdocs.com> Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-05-16Renamed classes to include skipped testsojasdubey23-630/+566
1. Renamed test classes to align with junit test naming convention to include them in the build 2. Fixed static analysis issues in test classes 2. Refactored methods for code smells Change-Id: Idacf6646ed8650cc7a96d5f539e7276e684bfb66 Issue-ID: SDC-1331 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-05-16Nested Dependency issuessiddharth09054-41/+16
Remove nested depends On connectivity Change-Id: Ic140e88fac74c31200cdd662dcbf6e296183ade3 Issue-ID: SDC-1315 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-05-15Removed logger.debug(, exception) from TestUtilsmojahidi3-90/+62
Removed logger.debug(, exception) from TestUtils Change-Id: I46698478ff9b2cb6d9f2ff975e69393287336d1c Issue-ID: SDC-836 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-05-15Removed logger.debug(, exception)mojahidi2-22/+28
Removed logger.debug(, exception) from code Change-Id: Ifc3d5947932027c3261c50a8f6275f5034576d60 Issue-ID: SDC-836 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-05-15Handle logger.debug(, exception)mojahidi4-66/+56
Removed logger.debug(, exception) from code Change-Id: I92a10d4581511e2cd0c073a9519dd161c4abe570 Issue-ID: SDC-836 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-05-15Handle logger.debug(, exception) from codemojahidi1-28/+19
Removed logger.debug(, exception) from AbstractServiceModelDao, ActionAuthenticationFilter,ApplicationConfigManagerImpl Change-Id: I58665a7dfd7e3e29d630d136af1bbf65228a9a7d Issue-ID: SDC-836 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-05-15Removed logger.debug(, exception)mojahidi4-85/+88
Removed logger.debug(, exception) from code Change-Id: I27ace75d9e9a1d89e6e1c681531ea6dff46cb647 Issue-ID: SDC-836 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-05-15Handle logger.debug(, exception)mojahidi3-42/+19
Removed logger.debug(, exception) from code Change-Id: Iec304267d0f113f7a7efa302bc36a7073995ad3d Issue-ID: SDC-836 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-05-15Handle logger.debug(, exception) in HeatTreemojahidi5-74/+45
Removed logger.debug(, exception) from code Change-Id: Ib51a6e9ae2a1aa18803e736ff8f5835e31d2ac62 Issue-ID: SDC-836 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-05-14Nested Dependency issuessiddharth090527-421/+106
Remove nested depends On connectivity Change-Id: I65bd9473f879fa72b453c2793f2b2406adde4513 Issue-ID: SDC-1315 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-05-14Refactored code as a part of guild weekojasdubey1-151/+156
1. Fixed static analysis issues 2. Refactored methods for code smells Change-Id: If06c4301ca327635b6894ac07f55674b609abf68 Issue-ID: SDC-359 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-05-14Refactor HEAT tree test for error handlingvempo1-21/+12
Change-Id: Ibd19cecc948896dcca240ab6fc65c394a1034d11 Issue-ID: SDC-836 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-05-08Junit Test Failuresiddharth09052-103/+103
Junit test were failing in local due to folder name change in common Change-Id: Ie78e2b8cbe41ce568b3f77928e7dd746d9ed3c95 Issue-ID: SDC-1312 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-05-02Added fallback for host address in loggingvempo3-13/+68
In some cases Java fails to get local hostname on Linux. Added a workaround that in such cases gets at least some meaningful host identification. Change-Id: Icf9b84ec6a0d6fbcbcb6a1578689b3e3be00261b Issue-ID: SDC-1275 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-05-01Fix TOSCA Analyzer - null point exceptionshiria5-0/+273
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-05-01Remove dead code asdctoolTal Gitelman2-98/+0
Change-Id: I467f70b442a02a15b8a18b160309bac9a8ab3f9a Issue-ID: SDC-1270 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-05-01Remove vsp and vlm redundant propertiestalig4-34/+1
Change-Id: I1faf9af304c7c97303e98744b036f9b1c0db8f0c Issue-ID: SDC-343 Signed-off-by: talig <talig@amdocs.com>
2018-05-01Expose tracing context via log context servicevempo8-14/+154
Tracing context must be available to application code when the application makes outbound calls. Change-Id: Ica8e1f9d8e0bd6d37688a01a64c1fbedc126801c Issue-ID: SDC-1264 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-04-30SIROV - add parent heat name for volumeeleonorali2-22/+23
Refactoring - handle Static Analysis Errors/Warnings Change-Id: I66abb24a1f7a2c5bfe018320560a0010e4afd277 Issue-ID: SDC-996 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-04-30Fix static analysis violationstalig1-2/+2
Change-Id: I1d2255ae6d060b6c9024443aee68d865fc824158 Issue-ID: SDC-1234 Signed-off-by: talig <talig@amdocs.com>
2018-04-30Rename packages from openecomp to onap.amitjai150-527/+528
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 Shah15-403/+121
Reducing onboarding backend maven build time Change-Id: Id0178cbf010e46f741f4bff11e14b0801f14d4b8 Issue-ID: SDC-1189 Signed-off-by: GAUTAMS <gautams@amdocs.com>
2018-04-24Fixed create VF for vOTA and vmstore heatsojasdubey27-380/+203
Updated code for handling identical value property 'ip_requirements' from list of list to list of identical value Change-Id: I1c3571f218fcc18ecfb22dd62112e1496109e3fa Issue-ID: SDC-1255 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-04-24Create on boarding dockerAvi Ziv1-0/+11
Add BE and Cassandra init docker images Change-Id: Id9d767c73fc946819cec821b4634ce650cbb22fd Issue-ID: SDC-781 Signed-off-by: Michael Lando <ml636r@att.com>
2018-04-24Moved validation test util class to test jarvempo3-66/+81
Change-Id: I113012ee0fbaeaaa1f4cecf69de442fdd66c89bf Issue-ID: SDC-1243 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-04-24Fix 2 healing bugstalig1-7/+11
1. Prevent NullPointerException in healing manager. 2. When submitting healed vsp version - sync vlm only if vsp includes vlm version. Change-Id: I3b7088b15f51a5ffe12e277567677a83fc141763 Issue-ID: SDC-1234 Signed-off-by: talig <talig@amdocs.com>
2018-04-17SIROV - add parent heat name for volumeeleonorali12-118/+95
SIROV - add parent heat name for parameter came from volume HEAT Change-Id: I5592dc8b292037e740a1d7ac11e7ee0576cc2ec8 Issue-ID: SDC-996 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-04-17Reducing onboarding backend maven build timeGautam Shah15-89/+116
Reducing onboarding backend maven build time Change-Id: Iab7af70c0e9f60b8a50bef7937e802df5be89fd0 Issue-ID: SDC-1189 Signed-off-by: GAUTAMS <gautams@amdocs.com>
2018-04-15SIROV - add parent heat name for volumeeleonorali1-36/+35
Refactoring to solve static analysis found issues + fix spelling issue for Requirments String (all issues suggested by Vitaly E.) Change-Id: I2f09d4ab088db7973ba3ff3a71a21bd1c830fad4 Issue-ID: SDC-996 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-04-12Subinterface_indicator property issuesiddharth0905496-7735/+2747
It should only be present under port implementation Change-Id: I8b52905c5e5c888cf384bebf1d23168c7906b004 Issue-ID: SDC-1183 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-04-12Fixed healing for vlan tagging and annotationsojasdubey1-33/+15
Updated code to fix healing for vlan tagging and sriov annotations Change-Id: I2ce87f8ecd0dc171a0e73468b1f0020173da3fea Issue-ID: SDC-1214 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-04-12ValidationVsp Cannot support multiple sessionsavigaffa1-4/+0
Change-Id: I6b927fc12d89b33a722335eb8f6c7dd2e4c5fad9 Issue-ID: SDC-1192 Signed-off-by: avigaffa <avi.gaffa@amdocs.com> Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-04-12Introduce unique value RESTstalig1-25/+41
Change-Id: I6c62c8794fce2a8d42b0a8c57b8714d938c3063c Issue-ID: SDC-1177 Signed-off-by: talig <talig@amdocs.com>
2018-04-12User Permission itemsayalaben11-25/+290
Change-Id: Ice1d126dd29e9f49ca90ada7b1671c72545c9ee8 Issue-ID: SDC-1202 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-04-12Defect 451622: Fix for defect 430981 not correcteleonorali1-234/+236
Refactoring for API names Change-Id: I6b23ddf88752c09af07c9a49c68a042c8cfc9669 Issue-ID: SDC-1203 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-04-11Subinterface_indicator property create VF bug fixojasdubey1-1/+3
Added toggle to fix regression bug for create VF when VLAN tagging is not enabled. Change-Id: I7751ae1a7ba48315319b5522cc230ece2f46e84d Issue-ID: SDC-1206 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-04-10Defect 451622: Fix for defect 430981 not correcteleonorali253-5595/+475
Only one default ipVersion - version4 should be created Change-Id: I27aad6acdacf66cf48f71f0a17cdd414aa510f93 Issue-ID: SDC-1203 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-04-10Evaluate subinterface_indicator propertysiddharth0905114-408/+3418
Corrected the condition to mark subinterface_indicator true/false Change-Id: I3f21924defbc89a5fcd9a89ffc1ea0d28eec8c36 Issue-ID: SDC-1183 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-04-09Interface definitiontalio2-16/+37
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-09fix a sonar complaints NullPointerExceptionlding71-0/+1
a bug from https://sonar.onap.org/project/issues?id=org.openecomp.sdc%3Asdc-main%3A1.2.0-SNAPSHOT&open=AWIFjPcyRGy6eclHC_RW&resolved=false&types=BUG Change-Id: Ibe0e1e457edb4d474ba4a37894f066f5a0b24361 Issue-ID: SDC-1145 Signed-off-by: lding7 <liang.ding@intel.com>
2018-04-08Reducing onboarding backend maven build timeshrikantawachar16-178/+21
Reducing onboarding backend maven build time Change-Id: I3fe5f8d6d9b21591018243d16809451c6b8c2d14 Issue-ID: SDC-1189 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2018-04-08Fixed proxy instead of resource type in auditvempo2-14/+138
Change-Id: I1b3c22105f27e9d3dee0947815d32eb453a56831 Issue-ID: SDC-1190 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-04-08Minor improvements in hostname for loggingvempo3-10/+10
Minor concurrency and naming improvements. Change-Id: I14dfb6d83dd5b84d5a8bb5cb67eda9f490b0e85a Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-04-04Added new nodes typesiddharth0905623-29179/+37959
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>