Update fabric test dummy configuration with onos endpoint
Change-Id: I6247726cec235a8e97b53c62f1d6679084837d34
diff --git a/fabric-umbrella/Chart.yaml b/fabric-umbrella/Chart.yaml
index c805d55..5a43e1b 100644
--- a/fabric-umbrella/Chart.yaml
+++ b/fabric-umbrella/Chart.yaml
@@ -7,7 +7,7 @@
description: Fabric ROC Umbrella chart to deploy all Fabric ROC
kubeVersion: ">=1.18.0"
type: application
-version: 0.1.3
+version: 0.1.4
appVersion: v0.0.0
keywords:
- aether
diff --git a/fabric-umbrella/templates/sdcore-test-dummy-config.yaml b/fabric-umbrella/templates/sdcore-test-dummy-config.yaml
index 553f215..cd9838e 100644
--- a/fabric-umbrella/templates/sdcore-test-dummy-config.yaml
+++ b/fabric-umbrella/templates/sdcore-test-dummy-config.yaml
@@ -5,10 +5,10 @@
apiVersion: v1
kind: ConfigMap
metadata:
- name: {{ .Release.Name }}-sdcore-test-dummy
+ name: {{ .Release.Name }}-fabric-test-dummy
namespace: {{ .Release.Namespace }}
data:
- sdcore-test-dummy.conf: |-
+ fabric-test-dummy.conf: |-
log_format client '$remote_addr - $remote_user $request_time $upstream_response_time '
'[$time_local] "$request" $status $body_bytes_sent $request_body "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
@@ -39,6 +39,10 @@
rewrite ^/api/subscriber/.* /api/subscriber break;
proxy_pass http://127.0.0.1:8080/post_dummy;
}
+ location /onos/v1/network/configuration {
+ root /;
+ proxy_pass http://127.0.0.1:8080/post_dummy;
+ }
location = /post_dummy {
# turn off logging here to avoid double logging
access_log off;