Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
71134b81
Commit
71134b81
authored
May 28, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed localhost to 127.0.0.1
parent
be36037d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
ApiClient.java
...ain/java/nl/uva/sne/drip/sure/tosca/client/ApiClient.java
+1
-1
test_deployer.py
deployer/build/lib/test/test_deployer.py
+3
-3
properties.ini
deployer/properties.ini
+3
-3
test_deployer.py
deployer/test/test_deployer.py
+3
-3
No files found.
commons/src/main/java/nl/uva/sne/drip/sure/tosca/client/ApiClient.java
View file @
71134b81
...
...
@@ -49,7 +49,7 @@ import nl.uva.sne.drip.sure.tosca.auth.OAuth;
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
Map
<
String
,
String
>
defaultHeaderMap
=
new
HashMap
<
String
,
String
>();
private
String
tempFolderPath
=
null
;
...
...
deployer/build/lib/test/test_deployer.py
View file @
71134b81
...
...
@@ -38,9 +38,9 @@ class TestDeployer(unittest.TestCase):
yaml
.
dump
(
tosca_template_dict
,
outfile
,
default_flow_style
=
False
)
sure_tosca_base_url
=
'http://
localhost
:8081/tosca-sure/1.0.0'
polemarch_base_url
=
'http://
localhost
:30001/api/v2'
semaphore_base_url
=
'http://
localhost
:3000/api'
sure_tosca_base_url
=
'http://
127.0.0.1
:8081/tosca-sure/1.0.0'
polemarch_base_url
=
'http://
127.0.0.1
:30001/api/v2'
semaphore_base_url
=
'http://
127.0.0.1
:3000/api'
tosca_service_is_up
=
ToscaHelper
.
service_is_up
(
sure_tosca_base_url
)
semaphore_is_up
=
ToscaHelper
.
service_is_up
(
semaphore_base_url
)
...
...
deployer/properties.ini
View file @
71134b81
[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]
username
=
admin
password
=
password
base_url
=
http://
localhost
:3000/api
base_url
=
http://
127.0.0.1
:3000/api
[message_broker]
host
=
localhost
host
=
127.0.0.1
queue_name
=
deployer
\ No newline at end of file
deployer/test/test_deployer.py
View file @
71134b81
...
...
@@ -38,9 +38,9 @@ class TestDeployer(unittest.TestCase):
yaml
.
dump
(
tosca_template_dict
,
outfile
,
default_flow_style
=
False
)
sure_tosca_base_url
=
'http://
localhost
:8081/tosca-sure/1.0.0'
polemarch_base_url
=
'http://
localhost
:30001/api/v2'
semaphore_base_url
=
'http://
localhost
:3000/api'
sure_tosca_base_url
=
'http://
127.0.0.1
:8081/tosca-sure/1.0.0'
polemarch_base_url
=
'http://
127.0.0.1
:30001/api/v2'
semaphore_base_url
=
'http://
127.0.0.1
:3000/api'
tosca_service_is_up
=
ToscaHelper
.
service_is_up
(
sure_tosca_base_url
)
semaphore_is_up
=
ToscaHelper
.
service_is_up
(
semaphore_base_url
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment