dana-i2cat/opennaas — pull request #780 by adrian-rosello (2014-01-15 10:43:52+00:00)
Title: Improvement/resource manager ext

ResourceManager extended with new methods:

- String getStatus(String Resourceid)
- String getIdentifierFromResourceTypeName(String resourceType, String resourceName)
- GenericListWrapper listResourcesNameByType(String type)
- GenericListWrapper getResourceTypesAPI();

Methods are based on the ones developed by Hector, but using the GenericListWrapper already available in OpenNaaS.

The second main feature is upgrading the commons-lang version to 2.5. The reason is:

- The pull request introduces a method using the StringUtils of commons-lang in core.resources. This bundle depends on the feature opennaas-persistence, which uses OPENJPA and depends on commons-lang 2.5, so the StringUtils was taken from there, and the Manifest indicates the opennaas-core needs 2.5 as the minimum version.

- Other bundles used the servicemix.commons.lang.2.4_4 version. The new version of this bundle is 2.4_6, which does not fullfill the above explained dependency.

Therefore, the decision was to remove the servicemix one and use the commons-lang one.

Platform was launched and calls were made in order to test it didin't break anything.