ResourceId to instance-identifier string converter methods

part of ONOS-7503

Change-Id: I5c0b0c0c38f51ea1a94208c0b7cb9d4be1db060f
diff --git a/lib/BUCK b/lib/BUCK
index 4f588ae..ddc98b9 100644
--- a/lib/BUCK
+++ b/lib/BUCK
@@ -1,4 +1,4 @@
-# ***** This file was auto-generated at Fri, 23 Feb 2018 16:41:27 GMT. Do not edit this file manually. *****
+# ***** This file was auto-generated at Tue, 27 Feb 2018 19:20:22 GMT. Do not edit this file manually. *****
 # ***** Use onos-lib-gen *****
 
 pass_thru_pom(
@@ -296,6 +296,15 @@
 )
 
 remote_jar (
+  name = 'commons-text',
+  out = 'commons-text-1.2.jar',
+  url = 'mvn:org.apache.commons:commons-text:jar:1.2',
+  sha1 = '74acdec7237f576c4803fff0c1008ab8a3808b2b',
+  maven_coords = 'org.apache.commons:commons-text:1.2',
+  visibility = [ 'PUBLIC' ],
+)
+
+remote_jar (
   name = 'commons-beanutils',
   out = 'commons-beanutils-1.9.2.jar',
   url = 'mvn:commons-beanutils:commons-beanutils:jar:1.9.2',
diff --git a/lib/deps.json b/lib/deps.json
index 4f27a3c..c6d7948 100644
--- a/lib/deps.json
+++ b/lib/deps.json
@@ -126,6 +126,7 @@
     "commons-logging": "mvn:commons-logging:commons-logging:1.2",
     "commons-math3": "mvn:org.apache.commons:commons-math3:3.6.1",
     "commons-pool": "mvn:commons-pool:commons-pool:1.6",
+    "commons-text": "mvn:org.apache.commons:commons-text:1.2",
     "commons-beanutils": "mvn:commons-beanutils:commons-beanutils:1.9.2",
     "concurrent-trees": "mvn:com.googlecode.concurrent-trees:concurrent-trees:2.6.1",
     "easymock": "mvn:org.easymock:easymock:3.4",
diff --git a/lib/pom.xml b/lib/pom.xml
index 01ac45b..de64efb 100644
--- a/lib/pom.xml
+++ b/lib/pom.xml
@@ -174,6 +174,12 @@
             </dependency>
 
             <dependency>
+                <groupId>org.apache.commons</groupId>
+                <artifactId>commons-text</artifactId>
+                <version>1.2</version>
+            </dependency>
+
+            <dependency>
                 <groupId>io.dropwizard.metrics</groupId>
                 <artifactId>metrics-core</artifactId>
                 <version>3.2.2</version>