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
0e6d1f40
Commit
0e6d1f40
authored
Aug 06, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved dbs
parent
28dfc109
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
5 additions
and
6 deletions
+5
-6
__main__.py
deployer/__main__.py
+1
-1
deploy_service.cpython-38.pyc
deployer/service/__pycache__/deploy_service.cpython-38.pyc
+0
-0
tosca_helper.cpython-38.pyc
deployer/service/__pycache__/tosca_helper.cpython-38.pyc
+0
-0
docker-compose.yml
docker-compose/docker-compose.yml
+1
-1
mongo-deployment.yaml
k8s/CONF/DBs/mongo-deployment.yaml
+0
-0
mongo-service.yaml
k8s/CONF/DBs/mongo-service.yaml
+0
-0
mysql-configmap.yaml
k8s/CONF/DBs/mysql-configmap.yaml
+0
-0
mysql-deployment.yaml
k8s/CONF/DBs/mysql-deployment.yaml
+0
-0
mysql-service.yaml
k8s/CONF/DBs/mysql-service.yaml
+0
-0
ToscaTemplateService.java
...in/java/nl/uva/sne/drip/service/ToscaTemplateService.java
+0
-2
semaphore_helper.py
...hon-client-generated/semaphore_client/semaphore_helper.py
+3
-2
No files found.
deployer/__main__.py
View file @
0e6d1f40
...
@@ -114,7 +114,7 @@ def handle_delivery(message):
...
@@ -114,7 +114,7 @@ def handle_delivery(message):
def
threaded_function
(
args
):
def
threaded_function
(
args
):
while
not
done
:
while
not
done
:
connection
.
process_data_events
()
connection
.
process_data_events
()
sleep
(
5
)
sleep
(
8
)
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
...
...
deployer/service/__pycache__/deploy_service.cpython-38.pyc
0 → 100644
View file @
0e6d1f40
File added
deployer/service/__pycache__/tosca_helper.cpython-38.pyc
0 → 100644
View file @
0e6d1f40
File added
docker-compose/docker-compose.yml
View file @
0e6d1f40
...
@@ -62,7 +62,7 @@ services:
...
@@ -62,7 +62,7 @@ services:
-
rabbit
-
rabbit
-
mongo
-
mongo
-
sure-tosca
-
sure-tosca
image
:
manager
image
:
qcdis/
manager
environment
:
environment
:
RABBITMQ_HOST
:
rabbit
RABBITMQ_HOST
:
rabbit
MONGO_HOST
:
mongo
MONGO_HOST
:
mongo
...
...
k8s/CONF/mongo-deployment.yaml
→
k8s/CONF/
DBs/
mongo-deployment.yaml
View file @
0e6d1f40
File moved
k8s/CONF/mongo-service.yaml
→
k8s/CONF/
DBs/
mongo-service.yaml
View file @
0e6d1f40
File moved
k8s/CONF/mysql-configmap.yaml
→
k8s/CONF/
DBs/
mysql-configmap.yaml
View file @
0e6d1f40
File moved
k8s/CONF/mysql-deployment.yaml
→
k8s/CONF/
DBs/
mysql-deployment.yaml
View file @
0e6d1f40
File moved
k8s/CONF/mysql-service.yaml
→
k8s/CONF/
DBs/
mysql-service.yaml
View file @
0e6d1f40
File moved
manager/src/main/java/nl/uva/sne/drip/service/ToscaTemplateService.java
View file @
0e6d1f40
...
@@ -14,9 +14,7 @@ import com.fasterxml.jackson.dataformat.yaml.YAMLGenerator.Feature;
...
@@ -14,9 +14,7 @@ import com.fasterxml.jackson.dataformat.yaml.YAMLGenerator.Feature;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Optional
;
import
java.util.logging.Level
;
import
java.util.logging.Level
;
import
java.util.logging.Logger
;
import
nl.uva.sne.drip.api.NotFoundException
;
import
nl.uva.sne.drip.api.NotFoundException
;
import
nl.uva.sne.drip.dao.ToscaTemplateDAO
;
import
nl.uva.sne.drip.dao.ToscaTemplateDAO
;
import
nl.uva.sne.drip.model.Exceptions.TypeExeption
;
import
nl.uva.sne.drip.model.Exceptions.TypeExeption
;
...
...
semaphore-python-client-generated/semaphore_client/semaphore_helper.py
View file @
0e6d1f40
...
@@ -71,9 +71,10 @@ class SemaphoreHelper:
...
@@ -71,9 +71,10 @@ class SemaphoreHelper:
repository
=
self
.
find_repository
(
project_id
,
name
,
git_url
)
repository
=
self
.
find_repository
(
project_id
,
name
,
git_url
)
return
repository
.
id
return
repository
.
id
def
create_template
(
self
,
project_id
,
key_id
,
inventory_id
,
repository_id
,
playbook_name
):
def
create_template
(
self
,
project_id
,
key_id
,
inventory_id
,
repository_id
,
playbook_name
,
arguments
=
None
):
template_request
=
TemplateRequest
(
ssh_key_id
=
key_id
,
project_id
=
project_id
,
inventory_id
=
inventory_id
,
template_request
=
TemplateRequest
(
ssh_key_id
=
key_id
,
project_id
=
project_id
,
inventory_id
=
inventory_id
,
repository_id
=
repository_id
,
alias
=
playbook_name
,
playbook
=
playbook_name
)
repository_id
=
repository_id
,
alias
=
playbook_name
,
playbook
=
playbook_name
,
arguments
=
arguments
)
self
.
project_api
.
project_project_id_templates_post
(
template_request
,
project_id
)
self
.
project_api
.
project_project_id_templates_post
(
template_request
,
project_id
)
templates
=
self
.
project_api
.
project_project_id_templates_get
(
project_id
,
playbook_name
,
'asc'
)
templates
=
self
.
project_api
.
project_project_id_templates_get
(
project_id
,
playbook_name
,
'asc'
)
return
self
.
find_template
(
templates
,
playbook_name
)
.
id
return
self
.
find_template
(
templates
,
playbook_name
)
.
id
...
...
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