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
2598b4a0
Commit
2598b4a0
authored
Dec 09, 2019
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved shema files
parent
1fdf0eb0
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
320 deletions
+24
-320
pom.xml
drip-commons/pom.xml
+20
-16
CloudsStormSubTopology.yml
openAPI/schema/CloudsStormSubTopology.yml
+1
-1
CloudsStormTopTopology.yml
openAPI/schema/CloudsStormTopTopology.yml
+1
-1
OutputParameters.json
openAPI/schema/TOSCA/OutputParameters.json
+0
-48
OutputParameters.yml
openAPI/schema/TOSCA/OutputParameters.yml
+0
-22
TOSCA-v1.0.json
openAPI/schema/TOSCA/TOSCA-v1.0.json
+0
-230
TopologyTemplate.yml
openAPI/schema/TOSCA/TopologyTemplate.yml
+1
-1
ToscaTemplate.yml
openAPI/schema/TOSCA/ToscaTemplate.yml
+1
-1
No files found.
drip-commons/pom.xml
View file @
2598b4a0
...
@@ -148,21 +148,25 @@
...
@@ -148,21 +148,25 @@
</executions>
</executions>
</plugin>
</plugin>
<plugin>
<plugin>
<groupId>
org.jsonschema2pojo
</groupId>
<groupId>
org.openapitools
</groupId>
<artifactId>
jsonschema2pojo-maven-plugin
</artifactId>
<artifactId>
openapi-generator-maven-plugin
</artifactId>
<version>
1.0.1
</version>
<version>
4.2.2
</version>
<configuration>
<sourceDirectory>
${basedir}/../openAPI/schema
</sourceDirectory>
<targetPackage>
nl.uva.sne.drip.model
</targetPackage>
</configuration>
<executions>
<executions>
<execution>
<execution>
<goals>
<goals>
<goal>
generate
</goal>
<goal>
generate
</goal>
</goals>
</goals>
<configuration>
<inputSpec>
${basedir}/../openAPI/schema
</inputSpec>
<generatorName>
java
</generatorName>
<configOptions>
<sourceFolder>
src/gen/java/main
</sourceFolder>
</configOptions>
</configuration>
</execution>
</execution>
</executions>
</executions>
</plugin>
</plugin>
</plugins>
</plugins>
</build>
</build>
</project>
</project>
\ No newline at end of file
openAPI/schema/CloudsStormSubTopology.yml
View file @
2598b4a0
...
@@ -4,4 +4,4 @@ CloudsStormSubTopology:
...
@@ -4,4 +4,4 @@ CloudsStormSubTopology:
VMs
:
VMs
:
type
:
array
type
:
array
items
:
items
:
$ref
:
'
https://raw.githubusercontent.com/skoulouzis/
DRIP/DRIP_3.0/openAPI/CloudsStormVM.yml#/CloudsStormVM
'
$ref
:
'
https://raw.githubusercontent.com/skoulouzis/
CONF/DRIP_3.0/openAPI/schema/CloudsStormVM.yml
'
openAPI/schema/CloudsStormTopTopology.yml
View file @
2598b4a0
...
@@ -8,4 +8,4 @@ CloudsStormTopTopology:
...
@@ -8,4 +8,4 @@ CloudsStormTopTopology:
topologies
:
topologies
:
type
:
array
type
:
array
items
:
items
:
$ref
:
'
https://raw.githubusercontent.com/skoulouzis/
DRIP/DRIP_3.0/openAPI
/CloudsStormSubTopology.yml#/CloudsStormSubTopology'
$ref
:
'
https://raw.githubusercontent.com/skoulouzis/
CONF/DRIP_3.0/openAPI/schema
/CloudsStormSubTopology.yml#/CloudsStormSubTopology'
openAPI/schema/TOSCA/OutputParameters.json
deleted
100644 → 0
View file @
1fdf0eb0
{
"definitions"
:
{
"docsoasisopenorgtoscans201112:OutputParameters"
:
{
"required"
:
[
"OutputParameter"
],
"type"
:
"object"
,
"properties"
:
{
"OutputParameter"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/docsoasisopenorgtoscans201112:tParameter"
},
"minItems"
:
1
}
}
},
"docsoasisopenorgtoscans201112:tParameter"
:
{
"properties"
:
{
"name"
:
{
"type"
:
"string"
},
"type"
:
{
"type"
:
"string"
},
"required"
:
{
"$ref"
:
"#/definitions/docsoasisopenorgtoscans201112:tBoolean"
}
},
"required"
:
[
"name"
,
"type"
],
"type"
:
"object"
},
"lang"
:
{
"type"
:
"string"
},
"space"
:
{
"enum"
:
[
"default"
,
"preserve"
],
"type"
:
"string"
}
},
"$ref"
:
"#/definitions/docsoasisopenorgtoscans201112:OutputParameters"
}
openAPI/schema/TOSCA/OutputParameters.yml
deleted
100644 → 0
View file @
1fdf0eb0
---
definitions
:
Output
:
properties
:
name
:
type
:
string
type
:
type
:
string
description
:
type
:
string
required
:
type
:
boolean
value
:
type
:
$ref
:
"
#/definitions/Value"
Value
:
properties
:
name
:
type
:
string
openAPI/schema/TOSCA/TOSCA-v1.0.json
deleted
100644 → 0
View file @
1fdf0eb0
{
"definitions"
:
{
"docsoasisopenorgtoscans201112:maxInstances"
:
{
"type"
:
"string"
},
"docsoasisopenorgtoscans201112:upperBound"
:
{
"type"
:
"string"
},
"docsoasisopenorgtoscans201112:tBoolean"
:
{
"enum"
:
[
"yes"
,
"no"
],
"type"
:
"string"
},
"docsoasisopenorgtoscans201112:tTags"
:
{
"required"
:
[
"Tag"
],
"type"
:
"object"
,
"properties"
:
{
"Tag"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"docsoasisopenorgtoscans201112:tTag"
},
"minItems"
:
1
}
}
},
"docsoasisopenorgtoscans201112:tBoundaryDefinitions"
:
{
"type"
:
"object"
,
"properties"
:
{
"Properties"
:
{
"type"
:
"docsoasisopenorgtoscans201112:Properties"
},
"PropertyConstraints"
:
{
"$ref"
:
"#/definitions/docsoasisopenorgtoscans201112:PropertyConstraints"
},
"Requirements"
:
{
"$ref"
:
"#/definitions/docsoasisopenorgtoscans201112:Requirements"
},
"Capabilities"
:
{
"$ref"
:
"#/definitions/docsoasisopenorgtoscans201112:Capabilities"
},
"Policies"
:
{
"$ref"
:
"#/definitions/docsoasisopenorgtoscans201112:Policies"
},
"Interfaces"
:
{
"$ref"
:
"#/definitions/docsoasisopenorgtoscans201112:Interfaces"
}
}
},
"docsoasisopenorgtoscans201112:tDeploymentArtifacts"
:
{
"required"
:
[
"DeploymentArtifact"
],
"type"
:
"object"
,
"properties"
:
{
"DeploymentArtifact"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"docsoasisopenorgtoscans201112:tDeploymentArtifact"
},
"minItems"
:
1
}
}
},
"docsoasisopenorgtoscans201112:tImplementationArtifacts"
:
{
"required"
:
[
"ImplementationArtifact"
],
"type"
:
"object"
,
"properties"
:
{
"ImplementationArtifact"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"docsoasisopenorgtoscans201112:ImplementationArtifact"
},
"minItems"
:
1
}
}
},
"docsoasisopenorgtoscans201112:tAppliesTo"
:
{
"required"
:
[
"NodeTypeReference"
],
"type"
:
"object"
,
"properties"
:
{
"NodeTypeReference"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"docsoasisopenorgtoscans201112:NodeTypeReference"
},
"minItems"
:
1
}
}
},
"docsoasisopenorgtoscans201112:tTopologyElementInstanceStates"
:
{
"required"
:
[
"InstanceState"
],
"type"
:
"object"
,
"properties"
:
{
"InstanceState"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"docsoasisopenorgtoscans201112:InstanceState"
},
"minItems"
:
1
}
}
},
"docsoasisopenorgtoscans201112:tRequiredContainerFeatures"
:
{
"required"
:
[
"RequiredContainerFeature"
],
"type"
:
"object"
,
"properties"
:
{
"RequiredContainerFeature"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"docsoasisopenorgtoscans201112:tRequiredContainerFeature"
},
"minItems"
:
1
}
}
},
"docsoasisopenorgtoscans201112:Extensions"
:
{
"required"
:
[
"Extension"
],
"type"
:
"object"
,
"properties"
:
{
"Extension"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"docsoasisopenorgtoscans201112:tExtension"
},
"minItems"
:
1
}
}
},
"docsoasisopenorgtoscans201112:PropertyConstraints"
:
{
"required"
:
[
"PropertyConstraint"
],
"type"
:
"object"
,
"properties"
:
{
"PropertyConstraint"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"docsoasisopenorgtoscans201112:tPropertyConstraint"
},
"minItems"
:
1
}
}
},
"docsoasisopenorgtoscans201112:Requirements"
:
{
"required"
:
[
"Requirement"
],
"type"
:
"object"
,
"properties"
:
{
"Requirement"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"docsoasisopenorgtoscans201112:tRequirementRef"
},
"minItems"
:
1
}
}
},
"docsoasisopenorgtoscans201112:Capabilities"
:
{
"required"
:
[
"Capability"
],
"type"
:
"object"
,
"properties"
:
{
"Capability"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"docsoasisopenorgtoscans201112:tCapabilityRef"
},
"minItems"
:
1
}
}
},
"docsoasisopenorgtoscans201112:Policies"
:
{
"required"
:
[
"Policy"
],
"type"
:
"object"
,
"properties"
:
{
"Policy"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"docsoasisopenorgtoscans201112:tPolicy"
},
"minItems"
:
1
}
}
},
"docsoasisopenorgtoscans201112:Interfaces"
:
{
"required"
:
[
"Interface"
],
"type"
:
"object"
,
"properties"
:
{
"Interface"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"docsoasisopenorgtoscans201112:tExportedInterface"
},
"minItems"
:
1
}
}
},
"lang"
:
{
"type"
:
"string"
},
"space"
:
{
"enum"
:
[
"default"
,
"preserve"
],
"type"
:
"string"
}
}
}
openAPI/schema/TOSCA/TopologyTemplate.yml
View file @
2598b4a0
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
node_templates
:
node_templates
:
type
:
object
type
:
object
additionalProperties
:
additionalProperties
:
$ref
:
'
https://raw.githubusercontent.com/skoulouzis/
DRIP/DRIP_3.0/openAPI
/TOSCA/NodeTemplate.yml#/NodeTemplate'
$ref
:
'
https://raw.githubusercontent.com/skoulouzis/
CONF/DRIP_3.0/openAPI/schema
/TOSCA/NodeTemplate.yml#/NodeTemplate'
relationship_templates
:
relationship_templates
:
type
:
object
type
:
object
additionalProperties
:
additionalProperties
:
...
...
openAPI/schema/TOSCA/ToscaTemplate.yml
View file @
2598b4a0
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
template_name
:
template_name
:
type
:
"
string"
type
:
"
string"
topology_template
:
topology_template
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/
DRIP/DRIP_3.0/openAPI
/TOSCA/TopologyTemplate.yml#/TopologyTemplate"
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/
CONF/DRIP_3.0/openAPI/schema
/TOSCA/TopologyTemplate.yml#/TopologyTemplate"
template_author
:
template_author
:
type
:
"
string"
type
:
"
string"
template_version
:
template_version
:
...
...
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