summaryrefslogtreecommitdiffstats
path: root/resource-assignment
AgeCommit message (Collapse)AuthorFilesLines
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-06packaging changesSmokowski, Kevin (ks6305)2-3/+6
don't embed sli provider, sli common or db lib in sql resource or resource assignment Change-Id: I9a8a2a53455287ee60322785da9e4e7ca0614b96 Issue-ID: CCSDK-653 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@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-10-23Roll to initial Dublin snapshotTimoney, Dan (dt5972)6-12/+12
Roll version to initial Dublin snapshot Change-Id: I2b1b5aaa6919c9259d46d2988fb65836f47a3bf9 Issue-ID: CCSDK-617 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-11Prepare for RC0 release3.0.0-ONAP0.3.1Timoney, Dan (dt5972)6-6/+6
Update to prepare for RC0 release build: remove -STAGING tag from release version and use released parent poms. Change-Id: I5e07d7af8381af1f22b8288965d400f95eb92abf Issue-ID: CCSDK-617 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-09-26Roll to next snapshotTimoney, Dan (dt5972)6-15/+12
Roll to next snapshot release Change-Id: I635702b1ef321150741607ec4082f50ca1d9eee3 Issue-ID: CCSDK-597 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-09-25Prepare for release version0.3.0Timoney, Dan (dt5972)6-6/+11
Update to use released parent pom and remove -STAGING from release version. Change-Id: I41fbd91a0ccddf9386ac9985d6272d952c5f80ed Issue-ID: CCSDK-597 Signed-off-by: Timoney, Dan (dt5972) <dt5972@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-29Merge "Support for defining multiple ranges in RANGE_RULE"Dan Timoney10-213/+321
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-22Add feature aggregatorTimoney, Dan (dt5972)2-3/+3
Add feature aggregator ccsdk-sli-adaptors-all to install all adaptor features. Change-Id: I8e0fa515a18f62a5ca0530d79a1334942c71e5e0 Issue-ID: CCSDK-281 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-06-18Update sli/adaptors to ODL OxygenTimoney, Dan (dt5972)2-43/+19
Update sli/adaptors to compile against ODL Oxygen parent poms. Change-Id: I112c5aa56dd985ad0e7e361d3839ec7069e5641c Issue-ID: CCSDK-281 Signed-off-by: Timoney, Dan (dt5972) <dt5972@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-06-06Roll version for CasablancaTimoney, Dan (dt5972)6-12/+12
Roll version for Casablanca development start Change-Id: I18e7bbd6dfb2cdcc7bf302411c03ee298ec76be6 Issue-ID: CCSDK-295 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-31Use released parent pomv0.2.42.0.0-ONAPbeijing2.0.0-ONAPTimoney, Dan (dt5972)6-6/+6
Update to use release parent pom version 1.0.4 Change-Id: Ie5aff311743e9b962cfbdd319ba08ae49c3a4380 Issue-ID: CCSDK-291 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-30Roll version to 0.2.4Timoney, Dan (dt5972)6-12/+12
Roll version to 0.2.4-SNAPSHOT and version 1.0.4-SNAPSHOT of parent Change-Id: I9580fef343410c3bd42caf2a1a05b833fb617541 Issue-ID: CCSDK-291 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-23Update to release version parent 1.0.3v0.2.3Stilwell, David (stilwelld)6-6/+6
Update parent version to remove -SNAPSHOT (1.0.3) Change-Id: I03d804016c5007cbbdbaca026a0b7006fddc69d8 Issue-ID: CCSDK-290 Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
2018-05-23Roll to next snapshot versionStilwell, David (stilwelld)6-12/+12
Changed to 0.2.3-SNAPSHOT and updated parent to 1.0.3-SNAPSHOT Change-Id: Ie61b39952f6504db8ae2adf0614aefc243294461 Issue-ID: CCSDK-290 Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
2018-05-21Publish mdsal-resource OSGi servicesTimoney, Dan (dt5972)6-6/+6
Added Aries blueprint to advertise OSGi services. Updated to use release 1.0.2 version of CCSDK parent poms. Change-Id: I92fb652b975c4fd59e173c103350934b94d190d3 Issue-ID: CCSDK-289 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-29Roll versions step 3 : sli/adaptors pomsTimoney, Dan (dt5972)6-12/+12
Roll version for next release candidate Change-Id: I8100873602b3a4c4fb9cb19876377d9af32e31ab Issue-ID: CCSDK-257 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-20Fix feature dependency versionsTimoney, Dan (dt5972)1-2/+1
Fix single-feature pom.xmls to use version of sli/core artifactsi specified in parent poms, as opposed to project.version, which is incorrect and causes release build to break. Change-Id: Iec00a73b1b4adf9e8fecdb190385bb35ab1fe1c7 Issue-ID: CCSDK-248 Signed-off-by: Timoney, Dan (dt5972) <dt5972@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>
2018-03-19Add missing librariesTimoney, Dan (dt5972)2-2/+2
Updated resource-assignment feature installer to install dependent libraries if not already installed. Change-Id: If5df396f1428e4ce8f498acfd3621d429b5489a2 Issue-ID: CCSDK-215 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-02Fix POM versionsTimoney, Dan (dt5972)4-0/+4
Fixed versions in pom.xmls and added empty relativePath tag to parents. Change-Id: Ie7be2d4d3d05e769f6e02f35a3a8e9f928bc62cf Issue-ID: CCSDK-176 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-02-27Remove unnecessary jar from resource-assignmentDan Timoney1-2/+1
Resource-assignment was re-installing sli/core util package. Change-Id: I98683496c216ae0cdc3d15eb3640fa9c6faa2ed8 Issue-ID: CCSDK-176 Signed-off-by: Dan Timoney <dtimoney@att.com>
2018-02-21Nitrogen port : mdsal/sqlDan Timoney8-247/+190
Update mdsal-resource and sql-resource to support ODL Nitrogen Change-Id: Id7f7ac2da0de9d034e052ee16ef9c2a765a056bf Issue-ID: CCSDK-176 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-21Bump minor versionDan Timoney4-5/+5
Bump minor version and reset build for Beijing development Change-Id: Ie4e0bc53c1b378d59dc0ec2504cf92a36f8ff04f Issue-ID: CIMAN-120 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-09Roll to version 0.1.1-SNAPSHOTDan Timoney4-5/+5
Roll to next release version Change-Id: I6256aa3e20e6d03edf02ea2f049ca425944dc605 Issue-ID: CCSDK-141 Signed-off-by: Dan Timoney <dtimoney@att.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-10-03Merge "Add unit tests for mdsal-resource"Dan Timoney1-1/+1
2017-10-03Add unit tests for mdsal-resourceDan Timoney1-1/+1
Add unit tests for mdsal-resource component. Change-Id: I44ee079d43ee29e4d507abb5fc065188279b1ffe Issue-ID: CCSDK-106 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-19Merge "Fix Sonar Issue"Dan Timoney1-4/+6
2017-09-19Remove mysql references from sli/adaptorsDan Timoney2-4/+4
Remove mysql references from sli/adaptors repository. Change-Id: I19682626fdb954ce8190d61507eabe0152a6a635 Issue-ID: CCSDK-95 Signed-off-by: Dan Timoney <dtimoney@att.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 Williams4-6/+11
2017-09-06Fix resource-assignment dependenciesDan Timoney4-6/+11
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-29Update artifactId of ccsdk/sli/adaptors pom.xmlDan Timoney1-1/+1
Update artifactId of top level pom.xml of ccsdk/sli/adaptors to match the repo name (ccsdk-sli-adaptors instead of ccsdk-adaptors). This is not strictly speaking necessary, but will be a helpful convention since there are some repos within ccsdk that have similar names, like ccsdk/sli/plugins and ccsdk/platform/plugins. Update parent artifactId in pom.xml for each module in ccsdk/sli/adaptors Change-Id: Idec7772c406754db6f03cf03a1a338793c2ce636 Issue-ID: CCSDK-70 Signed-off-by: Dan Timoney <dtimoney@att.com>