summaryrefslogtreecommitdiffstats
path: root/resource-assignment/provider/src
AgeCommit message (Collapse)AuthorFilesLines
2019-01-07Merge "Sonar fix: AllocationItemJdbcDaoImpl.java"Dan Timoney1-1/+2
2019-01-02Sonar fix: AllocationItemJdbcDaoImpl.javaArundathi Patil1-1/+2
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-891 Change-Id: Iaea16ae96c919ad09eb7de31119a9bd14e2ef539 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-01-02Sonar Fix: ReleaseFunction.javaArundathi Patil1-1/+4
Fixed sonar issues/code smells across thsi file Issue-ID: CCSDK-888 Change-Id: I9748106bc5b09c342beb68df96860984722eb7d1 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-28Merge "Fixed sonar issues in AllocationFunction.java"Dan Timoney1-3/+6
2018-12-26Fixed sonar issues in AllocationFunction.javaezhil1-3/+6
Fixed bug and major issues Issue-ID: CCSDK-875 Change-Id: I425a25eab33bc3203fcd30fa2abe4216a6bd4bc8 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-26Fixed sonar fix in DataSourceWrap.javaezhil1-14/+12
Fixed major bug Issue-ID: CCSDK-838 Change-Id: Iee8ce39e54f15f33e9d682068d721fb56610d12c Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-19Merge "Fixed sonar issue in ResourceAllocator.java"Dan Timoney1-9/+10
2018-12-19Merge "Fixed soanr issue in LockHelperImpl.java"Dan Timoney1-2/+3
2018-12-18Fixed sonar issue in ResourceAllocator.javaezhil1-9/+10
Fixed major sonar issue Issue-ID: CCSDK-836 Change-Id: I8bc5229f24f7a6c5668f52fc1ab3b8e13387edb1 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-18Fixed soanr issue in LockHelperImpl.javaezhil1-2/+3
Fixed major sonar issues Issue-ID: CCSDK-835 Change-Id: I53375dd95cdcec36f1a97630c9fdc2d9f57d8613 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-18Fixed sonar issue in ResourceLockedException.javaezhil1-1/+3
Fixed major sonar issue Issue-ID: CCSDK-834 Change-Id: Ifeb52731e712d1459f3922008fcf65161bda0dd3 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-11-29Added fix for potential nullpointer exceptionChandan Ghosh1-1/+1
Added fix for potential nullpointerexception reported in sonar Issue-ID: CCSDK-767 Change-Id: Ifebf7a57f27cb0de83d3cd5e805e0547b28ee845 Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
2018-11-28RA: Release resources on specific targetStan Bonev11-106/+472
Change-Id: I695a916a3d527f61b9483bbb27977695fb1e094c Issue-ID: CCSDK-766 Signed-off-by: Stan Bonev <sb5356@att.com>
2018-11-01RA: Enhance query for allocated resourcesStan Bonev12-91/+296
Change-Id: I97d724910d1caac8d7b16455296a41fef1669310 Issue-ID: CCSDK-644 Signed-off-by: Stan Bonev <sb5356@att.com>
2018-10-30RA: Add timeout parameters to the lock APIStan Bonev3-6/+28
Change-Id: I5f8cd856d245829036ed563969fe75887e443467 Issue-ID: CCSDK-642 Signed-off-by: Stan Bonev <sb5356@att.com>
2018-10-25RA: New criteria for querying allocated resourcesStan Bonev12-48/+392
Change-Id: Ia3a4b162ea4eca51ba7c500ad5daaa3865e26314 Issue-ID: CCSDK-620 Signed-off-by: Stan Bonev <sb5356@att.com>
2018-09-14RA: Expose resource locking as DG nodeStan Bonev5-0/+137
Change-Id: Ic12c8c7c59baf29630dab442de64a66dc40bc02e Issue-ID: CCSDK-573 Signed-off-by: Stan Bonev <sb5356@att.com>
2018-08-06RA: Add capability for Policy driven VlanTagssp694w6-98/+284
Change-Id: I5486a4989006c80b8a77ff2eb64fceed068c0c16 Issue-ID: CCSDK-438 Signed-off-by: Saurav Paira <sp694w@att.com>
2018-07-27RA: Add capability to assign new numbers for rangeStan Bonev9-505/+518
Change-Id: Ibb11219bfe0362055d388a4a10dab81e95979892 Issue-ID: CCSDK-408 Signed-off-by: Stan Bonev <sb5356@att.com>
2018-07-18RA: Fix unnecessary updates to allocation itemssb53562-60/+113
Change-Id: Ia3569ea5c7afe00624bb5d2368253cc3e5d834f5 Issue-ID: CCSDK-387 Signed-off-by: Stan Bonev <sb5356@att.com>
2018-06-26Support for defining multiple ranges in RANGE_RULEsb535610-213/+321
Change-Id: I5a5a1c61629a684dfc016f14000adbcb1e6dc9a1 Issue-ID: CCSDK-315 Signed-off-by: Stan Bonev <sb5356@att.com>
2018-06-06[CCSDK-245] RA: Refactor RA to make it genericsb535693-6608/+2016
Resource allocator is cleaned up and refactored so it does not contain any service specific logic. Issue-ID: CCSDK-245 Change-Id: Ib948eb813020fbe7dc779148e412de1e074b300b Signed-off-by: sb5356 <sb5356@att.com>
2018-04-12Used secure random number generationprakash.e1-1/+3
Issue-ID: CCSDK-184 Change-Id: I00719fb778a6ab7dc964bb1e4710a9014ba51fcd Signed-off-by: prakash.e <prakash.e@huawei.com>
2017-10-17Fix resource-assignment blueprintDan Timoney1-2/+14
Some entries in resource-assignment blueprint that had been copied from spring blueprint needed to be changed slightly due to differences between Spring and Aries. Change-Id: I196f88f2036f30673bee0f3d23773616f6c1ba1b Issue-ID: CCSDK-120 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-13Fix resource-assignment blueprintsDan Timoney2-21/+21
resource-assignment blueprint files contained references to openecomp that should be changed to onap. Change-Id: I1eb27ba8c805e65f67f167df8bf75e609e9b5f9f Issue-ID: CCSDK-120 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-28Added Blueprint configurationRich Tabedzki3-314/+134
Changes made: 1. Removed Spring DM configuration for resource-assignment 2. Added blueprint configuration for resource-assignment Change-Id: Ib084b863a6a5ee1283ba3dfb7b61d61619a27c38 Issue-ID: CCSDK-102 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2017-09-21Move string literals to left hand sidesurya-huawei1-6/+6
Moving string literals to left-hand side of equals()/equalsIgnore() *This is done to prevent null pointer exception from being raised Issue-Id: CCSDK-87 Change-Id: Ibe9deee4fd48b3037be8708a0e3869d741c9173b Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-20Fix Sonar Issue in sli/adaptors modulesurya-huawei1-8/+10
One blocker issue *Checking for a null dereferencing This is to avoid NullPointerException Issue-Id: CCSDK-87 Change-Id: Ie2192636e3ad8dfa9643cac61b3086c3cd33f126 Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-19Fix Sonar Issuesurya-huawei1-4/+6
One blocker issue in sli/adapters module *check for null dereferencing Issue-Id: CCSDK-87 Change-Id: I6c2b308bed95069089770cbec7ef728e2a8cc030 Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-08Fix few Critical sonar issuesramu.n1-2/+35
Fix few Critical sonar issues in CCSDK SLI Adaptors https://sonar.onap.org/component_issues?id=org.onap.ccsdk.sli.adaptors%3Accsdk-sli-adaptors#resolved=false|severities=CRITICAL Change-Id: Id694401c71e9a5ae2508333f03eab8e87008ccd0 Issue-Id: CCSDK-67 Signed-off-by: Ramu N <ramu.n@huawei.com>
2017-09-07Merge "Fix resource-assignment dependencies"Marcus Williams1-3/+3
2017-09-06Fix resource-assignment dependenciesDan Timoney1-3/+3
Resource-assignment was not loading due to unresolved dependencies. This turned out to be due to a few issues, addressed by this change: - commons-lang had to be added as a bundle in features.xml - package name for DbLibService in spring config was wrong, preventing spring from initializing properly - DbLibService's package (org.onap.ccsdk.sli.core.dblib) was not detected properly by felix maven plugin and was missing from Import-Package in MANIFEST. Resolved by explicitly adding that package in felix plugin config in provider pom.xml Change-Id: I6ebb82ebae0e96b4ab9592e29f6a7a1d2276aa69 Issue-ID: CCSDK-79 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-06Enable surefire unit testingMarcus G K Williams1-21/+2
Issue-Id: CCSDK-67 Change-Id: I955938365dd62b2125b73f8a668568e3343db015 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-08-17Update sli-adaptor/resource-assignment pack. namesMarcus G K Williams140-671/+671
Update package names from org.openecomp.sdnc.adaptors.* -> onap.ccsdk.sli.adaptors.* Update groupIds from org.openecomp.sdnc.adaptors -> onap.ccsdk.sli.adaptors Issue-Id: CCSDK-19 Change-Id: I71c794c46bad7f7f6064c4e0538890c9f76d5f16 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-08-15Fix license headersDan Timoney139-278/+278
Licence headers were accidentally updated incorrectly by previous update. This commit restores the license headers for seed code to the wording from the original seed code Change-Id: If4623dd02a37660a7d7e746363dd83cf9cdb718a Issue-ID: CCSDK-31 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-08-02Convert tabs to spacesMarcus G K Williams139-7668/+7668
Per Java Code Style Guide: https://wiki.onap.org/display/DW/Java+code+style Converting tabs to 4 spaces. Issue-Id: SDNC-25 Change-Id: I99ce6c244df72f805b52d0d66403d8b76d9929ae Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-08-01[CCSDK-6] Populate seed codeDan Timoney142-0/+12794
Add seed code for sli/adaptors repository Update code to use org.onap.ccsdk.sli.core Change-Id: I477c7a24f2cc1fed8fb0975fe9f33733411c27f9 Signed-off-by: Dan Timoney <dtimoney@att.com>