summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/onap/pomba/contextaggregator/datatypes/AggregatedModels.java2
-rw-r--r--src/main/java/org/onap/pomba/contextaggregator/rest/RestRequest.java8
2 files changed, 3 insertions, 7 deletions
diff --git a/src/main/java/org/onap/pomba/contextaggregator/datatypes/AggregatedModels.java b/src/main/java/org/onap/pomba/contextaggregator/datatypes/AggregatedModels.java
index 5648b91..552e4ba 100644
--- a/src/main/java/org/onap/pomba/contextaggregator/datatypes/AggregatedModels.java
+++ b/src/main/java/org/onap/pomba/contextaggregator/datatypes/AggregatedModels.java
@@ -53,7 +53,7 @@ public class AggregatedModels {
ModelContext context = null;
if (entry.getValue().isEmpty()) {
context = new ModelContext();
- context.setVf(null);
+ context.setVfs(null);
} else {
context = gson.fromJson(entry.getValue(), ModelContext.class);
}
diff --git a/src/main/java/org/onap/pomba/contextaggregator/rest/RestRequest.java b/src/main/java/org/onap/pomba/contextaggregator/rest/RestRequest.java
index cacc8e6..6ec63f7 100644
--- a/src/main/java/org/onap/pomba/contextaggregator/rest/RestRequest.java
+++ b/src/main/java/org/onap/pomba/contextaggregator/rest/RestRequest.java
@@ -38,9 +38,7 @@ public class RestRequest {
private static final String SERVICE_INSTANCE_ID = "serviceInstanceId";
private static final String MODEL_VERSION_ID = "modelVersionId";
- private static final String MODE_INVARIANT_ID = "modelInvariantId";
- private static final String CUSTOMER_ID = "customerId";
- private static final String SERVICE_TYPE = "serviceType";
+ private static final String MODEL_INVARIANT_ID = "modelInvariantId";
private static final String APP_NAME = "context-aggregator";
@@ -91,9 +89,7 @@ public class RestRequest {
.host(builder.getHost()).port(builder.getPort()).path(builder.getBaseUri())
.queryParam(SERVICE_INSTANCE_ID, event.getServiceInstanceId())
.queryParam(MODEL_VERSION_ID, event.getModelVersionId())
- .queryParam(MODE_INVARIANT_ID, event.getModelInvariantId())
- .queryParam(SERVICE_TYPE, event.getServiceType()).queryParam(CUSTOMER_ID, event.getCustomerId()).build()
- .encode();
+ .queryParam(MODEL_INVARIANT_ID, event.getModelInvariantId()).build().encode();
return uriComponents.toUriString();
}