Filter only DSR Sips when getting TAPI resources from DCS (to align with ONOS-7827)

Change-Id: I1daf7aa0b79829be2d3e2ffea266142f7c3bc42e
diff --git a/odtn-phase1-demo/src/resources/getResources.js b/odtn-phase1-demo/src/resources/getResources.js
index d92b3f2..c555a66 100644
--- a/odtn-phase1-demo/src/resources/getResources.js
+++ b/odtn-phase1-demo/src/resources/getResources.js
@@ -30,7 +30,9 @@
     })
     .then(([deviceDetails, sipDetails, connectivityService]) => {
 
-      const sipIdMap = sipDetails.reduce((_sipIdMap, sipDetail) => {
+      const sipIdMap = sipDetails
+        .filter(filterOnlyDsrSips)
+        .reduce((_sipIdMap, sipDetail) => {
         _sipIdMap[sipDetail.name.filter(kv => kv["value-name"] === "onos-cp")[0].value] = sipDetail.uuid
         return _sipIdMap
       }, {})
@@ -51,4 +53,8 @@
       console.error(err)
     })
 
+}
+
+function filterOnlyDsrSips(sipDetail) {
+  return sipDetail["layer-protocol-name"] === 'DSR'
 }
\ No newline at end of file