summaryrefslogtreecommitdiffstats
path: root/sdnr/northbound/oofpcipoc/provider
diff options
context:
space:
mode:
authorSandeep Shah <sandeeplinux1068@gmail.com>2019-08-01 08:46:22 -0500
committerSandeep Shah <sandeeplinux1068@gmail.com>2019-08-01 08:46:22 -0500
commit17a6cea68f83a736a19a8b4012f3df59ca597d3f (patch)
tree83ec4b31bf0e49ffa79e8aed089213daa82341dc /sdnr/northbound/oofpcipoc/provider
parent6e4edaf8f5ceba8f8334e614003d271daf70fa21 (diff)
Bug fix in SDNR oofpcipoc provider class
Bug fix to refer to the correct YANG model when determining if pertinent DG exist0s. yang model: oofpcipoc-api Issue-ID: CCSDK-1560 Signed-off-by: SandeepLinux <Sandeep.Shah@ibm.com> Change-Id: Idf02978a4a4e179f290403b6547c3daffbd843df
Diffstat (limited to 'sdnr/northbound/oofpcipoc/provider')
-rw-r--r--sdnr/northbound/oofpcipoc/provider/src/main/java/org/onap/ccsdk/features/sdnr/northbound/oofpcipoc/OofpcipocProvider.java26
1 files changed, 13 insertions, 13 deletions
diff --git a/sdnr/northbound/oofpcipoc/provider/src/main/java/org/onap/ccsdk/features/sdnr/northbound/oofpcipoc/OofpcipocProvider.java b/sdnr/northbound/oofpcipoc/provider/src/main/java/org/onap/ccsdk/features/sdnr/northbound/oofpcipoc/OofpcipocProvider.java
index bfb9b04f2..f0749fbee 100644
--- a/sdnr/northbound/oofpcipoc/provider/src/main/java/org/onap/ccsdk/features/sdnr/northbound/oofpcipoc/OofpcipocProvider.java
+++ b/sdnr/northbound/oofpcipoc/provider/src/main/java/org/onap/ccsdk/features/sdnr/northbound/oofpcipoc/OofpcipocProvider.java
@@ -54,7 +54,7 @@ public class OofpcipocProvider implements AutoCloseable, OofpcipocApiService {
private static final Logger LOG = LoggerFactory.getLogger(OofpcipocProvider.class);
- private static final String APPLICATION_NAME = "Oofpcipoc";
+ private static final String APPLICATION_NAME = "oofpcipoc-api";
private final ExecutorService executor;
@@ -125,12 +125,12 @@ public class OofpcipocProvider implements AutoCloseable, OofpcipocApiService {
// Call SLI sync method
try
{
- if (OofpcipocClient.hasGraph("Oofpcipoc", svcOperation , null, "sync"))
+ if (OofpcipocClient.hasGraph("oofpcipoc-api", svcOperation , null, "sync"))
{
LOG.info( "OofpcipocClient has a Directed Graph for '" + svcOperation + "'");
try
{
- OofpcipocClient.execute("Oofpcipoc", svcOperation, null, "sync", serviceDataBuilder, parms);
+ OofpcipocClient.execute("oofpcipoc-api", svcOperation, null, "sync", serviceDataBuilder, parms);
}
catch (Exception e)
{
@@ -195,13 +195,13 @@ public class OofpcipocProvider implements AutoCloseable, OofpcipocApiService {
try
{
- if (OofpcipocClient.hasGraph("Oofpcipoc", svcOperation , null, "sync"))
+ if (OofpcipocClient.hasGraph("oofpcipoc-api", svcOperation , null, "sync"))
{
LOG.info( "OofpcipocClient has a Directed Graph for '" + svcOperation + "'");
try
{
- OofpcipocClient.execute("Oofpcipoc", svcOperation, null, "sync", serviceDataBuilder, parms);
+ OofpcipocClient.execute("oofpcipoc-api", svcOperation, null, "sync", serviceDataBuilder, parms);
}
catch (Exception e)
{
@@ -264,13 +264,13 @@ public class OofpcipocProvider implements AutoCloseable, OofpcipocApiService {
try
{
- if (OofpcipocClient.hasGraph("Oofpcipoc", svcOperation , null, "sync"))
+ if (OofpcipocClient.hasGraph("oofpcipoc-api", svcOperation , null, "sync"))
{
LOG.info( "OofpcipocClient has a Directed Graph for '" + svcOperation + "'");
try
{
- OofpcipocClient.execute("Oofpcipoc", svcOperation, null, "sync", serviceDataBuilder, parms);
+ OofpcipocClient.execute("oofpcipoc-api", svcOperation, null, "sync", serviceDataBuilder, parms);
}
catch (Exception e)
{
@@ -333,13 +333,13 @@ public class OofpcipocProvider implements AutoCloseable, OofpcipocApiService {
try
{
- if (OofpcipocClient.hasGraph("Oofpcipoc", svcOperation , null, "sync"))
+ if (OofpcipocClient.hasGraph("oofpcipoc-api", svcOperation , null, "sync"))
{
LOG.info( "OofpcipocClient has a Directed Graph for '" + svcOperation + "'");
try
{
- OofpcipocClient.execute("Oofpcipoc", svcOperation, null, "sync", serviceDataBuilder, parms);
+ OofpcipocClient.execute("oofpcipoc-api", svcOperation, null, "sync", serviceDataBuilder, parms);
}
catch (Exception e)
{
@@ -402,13 +402,13 @@ public class OofpcipocProvider implements AutoCloseable, OofpcipocApiService {
try
{
- if (OofpcipocClient.hasGraph("Oofpcipoc", svcOperation , null, "sync"))
+ if (OofpcipocClient.hasGraph("oofpcipoc-api", svcOperation , null, "sync"))
{
LOG.info( "OofpcipocClient has a Directed Graph for '" + svcOperation + "'");
try
{
- OofpcipocClient.execute("Oofpcipoc", svcOperation, null, "sync", serviceDataBuilder, parms);
+ OofpcipocClient.execute("oofpcipoc-api", svcOperation, null, "sync", serviceDataBuilder, parms);
}
catch (Exception e)
{
@@ -470,12 +470,12 @@ public class OofpcipocProvider implements AutoCloseable, OofpcipocApiService {
// Call SLI sync method
try
{
- if (OofpcipocClient.hasGraph("Oofpcipoc", svcOperation , null, "sync"))
+ if (OofpcipocClient.hasGraph("oofpcipoc-api", svcOperation , null, "sync"))
{
LOG.info( "OofpcipocClient has a Directed Graph for '" + svcOperation + "'");
try
{
- OofpcipocClient.execute("Oofpcipoc", svcOperation, null, "sync", serviceDataBuilder, parms);
+ OofpcipocClient.execute("oofpcipoc-api", svcOperation, null, "sync", serviceDataBuilder, parms);
}
catch (Exception e)
{