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
29d9500f
Commit
29d9500f
authored
Dec 24, 2019
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add cloud storm credentials
parent
63ff07a8
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
35 additions
and
11 deletions
+35
-11
workspace.xml
drip-planner/.idea/workspace.xml
+3
-7
CloudStormService.java
...n/java/nl/uva/sne/drip/provisioner/CloudStormService.java
+3
-0
CloudCredential.yml
openAPI/schema/CloudStorm/CloudCredential.yml
+1
-1
CloudCredentials.yml
openAPI/schema/CloudStorm/CloudCredentials.yml
+7
-0
CredentialInfo.yml
openAPI/schema/CloudStorm/CredentialInfo.yml
+18
-0
cloudCreds.yml
openAPI/schema/CloudStorm/cloudCreds.yml
+2
-2
credInfo.yml
openAPI/schema/CloudStorm/credInfo.yml
+1
-1
No files found.
drip-planner/.idea/workspace.xml
View file @
29d9500f
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"e478ccae-5352-4e8e-9efb-3f5cda44e877"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/../drip-commons/src/main/java/nl/uva/sne/drip/commons/utils/ToscaHelper.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../drip-commons/src/main/java/nl/uva/sne/drip/commons/utils/ToscaHelper.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../drip-manager/src/main/java/nl/uva/sne/drip/service/DRIPService.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../drip-manager/src/main/java/nl/uva/sne/drip/service/DRIPService.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../drip-manager/src/main/java/nl/uva/sne/drip/service/ToscaTemplateService.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../drip-manager/src/main/java/nl/uva/sne/drip/service/ToscaTemplateService.java"
afterDir=
"false"
/>
</list>
<list
default=
"true"
id=
"e478ccae-5352-4e8e-9efb-3f5cda44e877"
name=
"Default Changelist"
comment=
""
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_NON_ACTIVE_CHANGELIST"
value=
"false"
/>
...
...
@@ -290,11 +286,11 @@
<screen
x=
"67"
y=
"34"
width=
"2493"
height=
"1406"
/>
</state>
<state
x=
"679"
y=
"283"
key=
"SettingsEditor/67.34.2493.1406@67.34.2493.1406"
timestamp=
"1575885393075"
/>
<state
x=
"893"
y=
"526"
key=
"com.intellij.ide.util.TipDialog"
timestamp=
"157
6847777222
"
>
<state
x=
"893"
y=
"526"
key=
"com.intellij.ide.util.TipDialog"
timestamp=
"157
7206106759
"
>
<screen
x=
"67"
y=
"34"
width=
"2493"
height=
"1406"
/>
</state>
<state
x=
"681"
y=
"400"
key=
"com.intellij.ide.util.TipDialog/67.34.1853.1046@67.34.1853.1046"
timestamp=
"1576760567200"
/>
<state
x=
"893"
y=
"526"
key=
"com.intellij.ide.util.TipDialog/67.34.2493.1406@67.34.2493.1406"
timestamp=
"157
6847777222
"
/>
<state
x=
"893"
y=
"526"
key=
"com.intellij.ide.util.TipDialog/67.34.2493.1406@67.34.2493.1406"
timestamp=
"157
7206106759
"
/>
<state
x=
"882"
y=
"239"
width=
"862"
height=
"993"
key=
"find.popup"
timestamp=
"1576090708880"
>
<screen
x=
"67"
y=
"34"
width=
"2493"
height=
"1406"
/>
</state>
...
...
drip-provisioner/src/main/java/nl/uva/sne/drip/provisioner/CloudStormService.java
View file @
29d9500f
...
...
@@ -178,6 +178,9 @@ class CloudStormService {
List
<
NodeTemplateMap
>
vmTopologiesMaps
=
helper
.
getVMTopologyTemplates
();
for
(
NodeTemplateMap
vmTopologyMap
:
vmTopologiesMaps
)
{
Credential
credentials
=
helper
.
getCredentialsFromVMTopology
(
vmTopologyMap
);
Cloudstorm
objectMapper
.
writeValue
(
new
File
(
credentialsTempInputDirPath
+
File
.
separator
+
"top.yml"
),
credentials
);
}
}
...
...
openAPI/schema/CloudStorm/CloudCred.yml
→
openAPI/schema/CloudStorm/CloudCred
ential
.yml
View file @
29d9500f
CloudCred
:
CloudCred
ential
:
type
:
"
object"
properties
:
cloudProvider
:
...
...
openAPI/schema/CloudStorm/CloudCredentials.yml
0 → 100644
View file @
29d9500f
CloudCredentials
:
type
:
"
object"
properties
:
CloudCredential
:
type
:
"
array"
items
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudStorm/CloudCredential.yml#/CloudCredential"
openAPI/schema/CloudStorm/CredentialInfo.yml
0 → 100644
View file @
29d9500f
CredentialInfo
:
type
:
"
object"
properties
:
userKeyName
:
type
:
"
string"
keyAlias
:
type
:
"
string"
keyPassword
:
type
:
"
string"
proxyFileName
:
type
:
"
string"
trustedCertDirName
:
type
:
"
string"
accessKey
:
type
:
"
string"
secretKey
:
type
:
"
string"
openAPI/schema/CloudStorm/cloudCreds.yml
View file @
29d9500f
cloudCreds
:
type
:
"
object"
properties
:
CloudCred
:
CloudCred
ential
:
type
:
"
array"
items
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudStorm/CloudCred
.yml#/CloudCred
"
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudStorm/CloudCred
ential.yml#/CloudCredential
"
openAPI/schema/CloudStorm/credInfo.yml
View file @
29d9500f
cred
Info
:
Credential
Info
:
type
:
"
object"
properties
:
userKeyName
:
...
...
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