diff options
author | Dan Timoney <dtimoney@att.com> | 2017-09-06 19:14:51 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2017-09-06 19:14:51 -0400 |
commit | a54af3e7b27bc15d051064ba7990121ac7d27eea (patch) | |
tree | 4927d29ad40fc4c228da784f6e1a4d0c4e278694 /resource-assignment/provider/pom.xml | |
parent | cf70dde69807ca143fc360cf572b2d6bf887010f (diff) |
Fix resource-assignment dependencies
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>
Diffstat (limited to 'resource-assignment/provider/pom.xml')
-rwxr-xr-x | resource-assignment/provider/pom.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/resource-assignment/provider/pom.xml b/resource-assignment/provider/pom.xml index 1b98c628..89134284 100755 --- a/resource-assignment/provider/pom.xml +++ b/resource-assignment/provider/pom.xml @@ -94,9 +94,11 @@ <instructions> <Bundle-SymbolicName>org.onap.ccsdk.sli.adaptors.ra</Bundle-SymbolicName> <Export-Package>org.onap.ccsdk.sli.adaptors.ra</Export-Package> + <!-- <Import-Package>*,org.onap.ccsdk.sli.adaptors.resource.dblib,org.onap.ccsdk.sli.adaptors.*,org.osgi.framework.*,org.slf4j.*,com.mysql.jdbc.*</Import-Package> - <!--Import-Package>*</Import-Package--> <Embed-Transitive>true</Embed-Transitive> + --> + <Import-Package>*,org.onap.ccsdk.sli.core.dblib</Import-Package> </instructions> </configuration> </plugin> |