Commit 71134b81 authored by Spiros Koulouzis's avatar Spiros Koulouzis

changed localhost to 127.0.0.1

parent be36037d
...@@ -49,7 +49,7 @@ import nl.uva.sne.drip.sure.tosca.auth.OAuth; ...@@ -49,7 +49,7 @@ import nl.uva.sne.drip.sure.tosca.auth.OAuth;
public class ApiClient { public class ApiClient {
private String basePath = "https://localhost/tosca-sure/1.0.0"; private String basePath = "https://127.0.0.1/tosca-sure/1.0.0";
private boolean debugging = false; private boolean debugging = false;
private Map<String, String> defaultHeaderMap = new HashMap<String, String>(); private Map<String, String> defaultHeaderMap = new HashMap<String, String>();
private String tempFolderPath = null; private String tempFolderPath = null;
......
...@@ -38,9 +38,9 @@ class TestDeployer(unittest.TestCase): ...@@ -38,9 +38,9 @@ class TestDeployer(unittest.TestCase):
yaml.dump(tosca_template_dict, outfile, default_flow_style=False) yaml.dump(tosca_template_dict, outfile, default_flow_style=False)
sure_tosca_base_url = 'http://localhost:8081/tosca-sure/1.0.0' sure_tosca_base_url = 'http://127.0.0.1:8081/tosca-sure/1.0.0'
polemarch_base_url='http://localhost:30001/api/v2' polemarch_base_url='http://127.0.0.1:30001/api/v2'
semaphore_base_url = 'http://localhost:3000/api' semaphore_base_url = 'http://127.0.0.1:3000/api'
tosca_service_is_up = ToscaHelper.service_is_up(sure_tosca_base_url) tosca_service_is_up = ToscaHelper.service_is_up(sure_tosca_base_url)
semaphore_is_up = ToscaHelper.service_is_up(semaphore_base_url) semaphore_is_up = ToscaHelper.service_is_up(semaphore_base_url)
......
[tosca-sure] [tosca-sure]
base_url = http://localhost:8081/tosca-sure/1.0.0 base_url = http://127.0.0.1:8081/tosca-sure/1.0.0
[semaphore] [semaphore]
username = admin username = admin
password = password password = password
base_url = http://localhost:3000/api base_url = http://127.0.0.1:3000/api
[message_broker] [message_broker]
host = localhost host = 127.0.0.1
queue_name = deployer queue_name = deployer
\ No newline at end of file
...@@ -38,9 +38,9 @@ class TestDeployer(unittest.TestCase): ...@@ -38,9 +38,9 @@ class TestDeployer(unittest.TestCase):
yaml.dump(tosca_template_dict, outfile, default_flow_style=False) yaml.dump(tosca_template_dict, outfile, default_flow_style=False)
sure_tosca_base_url = 'http://localhost:8081/tosca-sure/1.0.0' sure_tosca_base_url = 'http://127.0.0.1:8081/tosca-sure/1.0.0'
polemarch_base_url='http://localhost:30001/api/v2' polemarch_base_url='http://127.0.0.1:30001/api/v2'
semaphore_base_url = 'http://localhost:3000/api' semaphore_base_url = 'http://127.0.0.1:3000/api'
tosca_service_is_up = ToscaHelper.service_is_up(sure_tosca_base_url) tosca_service_is_up = ToscaHelper.service_is_up(sure_tosca_base_url)
semaphore_is_up = ToscaHelper.service_is_up(semaphore_base_url) semaphore_is_up = ToscaHelper.service_is_up(semaphore_base_url)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment