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
c1bc5074
Commit
c1bc5074
authored
5 years ago
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
write cloudstrom schema
parent
05902775
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
44 deletions
+43
-44
CloudStormService.java
...n/java/nl/uva/sne/drip/provisioner/CloudStormService.java
+1
-0
CloudsStormInfrasCode.yml
openAPI/schema/CloudStorm/CloudsStormInfrasCode.yml
+9
-9
InfrasCode.yml
openAPI/schema/CloudStorm/InfrasCode.yml
+13
-13
OpCode.yml
openAPI/schema/CloudStorm/OpCode.yml
+13
-15
Options.yml
openAPI/schema/CloudStorm/Options.yml
+7
-7
No files found.
drip-provisioner/src/main/java/nl/uva/sne/drip/provisioner/CloudStormService.java
View file @
c1bc5074
...
...
@@ -228,6 +228,7 @@ class CloudStormService {
private
void
writeCloudStormInfrasCodeFiles
(
String
infrasCodeTempInputDirPath
,
List
<
CloudsStormSubTopology
>
cloudStormSubtopologies
)
throws
ApiException
{
List
<
NodeTemplateMap
>
vmTopologiesMaps
=
helper
.
getVMTopologyTemplates
();
int
i
=
0
;
InfrasCodes
ce
=
new
for
(
NodeTemplateMap
vmTopologyMap
:
vmTopologiesMaps
)
{
Map
<
String
,
Object
>
provisionInterface
=
helper
.
getProvisionerInterfaceFromVMTopology
(
vmTopologyMap
);
String
operation
=
provisionInterface
.
keySet
().
iterator
().
next
();
...
...
This diff is collapsed.
Click to expand it.
openAPI/schema/CloudStorm/CloudsStormInfrasCode.yml
View file @
c1bc5074
CloudsStormInfrasCode
:
type
:
"
object"
properties
:
Mode
:
type
:
"
string"
InfrasCodes
:
type
:
"
array"
items
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudStorm/InfrasCode.yml#/InfrasCode"
CloudsStormInfrasCode
:
type
:
"
object"
properties
:
Mode
:
type
:
"
string"
InfrasCodes
:
type
:
"
array"
items
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudStorm/InfrasCode.yml#/InfrasCode"
This diff is collapsed.
Click to expand it.
openAPI/schema/CloudStorm/InfrasCode.yml
View file @
c1bc5074
InfrasCode
:
type
:
"
object"
properties
:
CodeType
:
type
:
"
string"
OpCode
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudStorm/OpCode.yml#/OpCode"
Count
:
type
:
"
integer"
OpCodes
:
type
:
"
array"
items
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudStorm/OpCode.yml#/OpCode"
InfrasCode
:
type
:
"
object"
properties
:
CodeType
:
type
:
"
string"
OpCode
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudStorm/OpCode.yml#/OpCode"
Count
:
type
:
"
integer"
OpCodes
:
type
:
"
array"
items
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudStorm/OpCode.yml#/OpCode"
This diff is collapsed.
Click to expand it.
openAPI/schema/CloudStorm/OpCode.yml
View file @
c1bc5074
OpCode
:
type
:
"
object"
properties
:
Operation
:
type
:
"
string"
Operation
:
type
:
"
string"
Objects
:
type
:
"
string"
Command
:
type
:
"
string"
Log
:
type
:
"
boolean"
Options
:
type
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudStorm/Options.yml#/Options"
OpCode
:
type
:
"
object"
properties
:
Operation
:
type
:
"
string"
Objects
:
type
:
"
string"
Command
:
type
:
"
string"
Log
:
type
:
"
boolean"
Options
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudStorm/Options.yml#/Options"
This diff is collapsed.
Click to expand it.
openAPI/schema/CloudStorm/Options.yml
View file @
c1bc5074
Options
:
type
:
"
object"
properties
:
Src
:
type
:
"
string"
Dst
:
type
:
"
string"
Options
:
type
:
"
object"
properties
:
Src
:
type
:
"
string"
Dst
:
type
:
"
string"
This diff is collapsed.
Click to expand it.
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