From e2c51e31c0f07733a44732966c4ee58789325b46 Mon Sep 17 00:00:00 2001 From: Tri Nguyen <tri.m.nguyen@aalto.fi> Date: Fri, 30 Aug 2024 16:36:15 +0300 Subject: [PATCH] rm leak --- config/rohe_obs_conf.json | 6 +++--- example/bts/bts_client/client_v0.0.3/client.json | 4 ++-- example/bts/qoa_server/prometheus.yml | 2 +- example/bts/qoa_server/qoa_config.json | 2 +- observability/qoa4mlopa/bts_example/submit_contract.sh | 2 +- observability/qoa4mlopa/bts_example/submit_policies.sh | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/config/rohe_obs_conf.json b/config/rohe_obs_conf.json index e1dc737..8f1b136 100644 --- a/config/rohe_obs_conf.json +++ b/config/rohe_obs_conf.json @@ -3,7 +3,7 @@ "amqp_collector": { "class": "amqp", "conf": { - "end_point": "195.148.22.62", + "end_point": "localhost", "exchange_name": "exchange_name", "exchange_type": "topic", "in_queue": "collector_1", @@ -15,7 +15,7 @@ "amqp_connector": { "class": "amqp", "conf": { - "end_point": "195.148.22.62", + "end_point": "localhost", "exchange_name": "exchange_name", "exchange_type": "topic", "out_routing_key": "out_routing_key" @@ -25,7 +25,7 @@ "database": { "collection": "registration", "db_name": "rohe_observation", - "url": "mongodb://195.148.22.62:27017/" + "url": "mongodb://localhost:27017/" }, "false_rate": 3, "output_folder": "/results/", diff --git a/example/bts/bts_client/client_v0.0.3/client.json b/example/bts/bts_client/client_v0.0.3/client.json index 2c9e7f5..ef6dd0b 100644 --- a/example/bts/bts_client/client_v0.0.3/client.json +++ b/example/bts/bts_client/client_v0.0.3/client.json @@ -1,7 +1,7 @@ { "broker_service": { "broker": "AMQP", - "url": "195.148.22.62" + "url": "localhost" }, "data_normalize": { "max": 12.95969626, @@ -49,6 +49,6 @@ "service": "request" }, "service_name": "bts", - "url": "http://195.148.22.62:8181/v1/data/qoa4ml/bts/alarm/violation" + "url": "http://localhost:8181/v1/data/qoa4ml/bts/alarm/violation" } } diff --git a/example/bts/qoa_server/prometheus.yml b/example/bts/qoa_server/prometheus.yml index c720554..5f638c7 100644 --- a/example/bts/qoa_server/prometheus.yml +++ b/example/bts/qoa_server/prometheus.yml @@ -8,4 +8,4 @@ scrape_configs: - job_name: node_exporter scrape_interval: 1s static_configs: - - targets: ["192.168.1.156:9098"] \ No newline at end of file + - targets: ["localhost:9098"] \ No newline at end of file diff --git a/example/bts/qoa_server/qoa_config.json b/example/bts/qoa_server/qoa_config.json index a3b54ae..9184256 100644 --- a/example/bts/qoa_server/qoa_config.json +++ b/example/bts/qoa_server/qoa_config.json @@ -1,7 +1,7 @@ { "broker_info": { "broker": "AMQP", - "url": "195.148.22.62" + "url": "localhost" }, "prom_info": { "metric": { diff --git a/observability/qoa4mlopa/bts_example/submit_contract.sh b/observability/qoa4mlopa/bts_example/submit_contract.sh index ad6bf0b..ffbd3ba 100755 --- a/observability/qoa4mlopa/bts_example/submit_contract.sh +++ b/observability/qoa4mlopa/bts_example/submit_contract.sh @@ -1,6 +1,6 @@ #!/bin/bash -# e.g., parameter $1 '195.148.22.62:8181/v1/data/bts/contract' +# e.g., parameter $1 'localhost:8181/v1/data/bts/contract' # e.g., parameter $2: @contract.json echo "DEBUG: call $1 with $2" curl --location --request PUT "$1" -H 'Content-Type: application/json' -d "$2" diff --git a/observability/qoa4mlopa/bts_example/submit_policies.sh b/observability/qoa4mlopa/bts_example/submit_policies.sh index e472fd5..cbd89c9 100755 --- a/observability/qoa4mlopa/bts_example/submit_policies.sh +++ b/observability/qoa4mlopa/bts_example/submit_policies.sh @@ -1,5 +1,5 @@ #!/bin/bash -# e.g., parameter $1 '195.148.22.62:8181/v1/policies/bts' +# e.g., parameter $1 'localhost:8181/v1/policies/bts' # e.g., parameter $2: @bts.rego echo "DEBUG: call $1 with $2" curl --location --request PUT "$1" -H 'Content-Type: text/plain' --data-binary "$2"