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
5d3ca132
Commit
5d3ca132
authored
Dec 09, 2019
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix schema
parent
050c3ea5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
69 additions
and
20 deletions
+69
-20
pom.xml
drip-commons/pom.xml
+5
-5
CloudStorm-1.0.0-openapi.yaml
openAPI/API/CloudStorm-1.0.0-openapi.yaml
+47
-0
CloudsStormSubTopology.yml
openAPI/schema/CloudsStormSubTopology.yml
+7
-5
CloudsStormTopTopology.yml
openAPI/schema/CloudsStormTopTopology.yml
+9
-9
CloudsStormVM.yml
openAPI/schema/CloudsStormVM.yml
+1
-1
No files found.
drip-commons/pom.xml
View file @
5d3ca132
...
@@ -120,7 +120,6 @@
...
@@ -120,7 +120,6 @@
<dependency>
<dependency>
<groupId>
org.springframework.data
</groupId>
<groupId>
org.springframework.data
</groupId>
<artifactId>
spring-data-commons
</artifactId>
<artifactId>
spring-data-commons
</artifactId>
<version>
2.1.10.RELEASE
</version>
<type>
jar
</type>
<type>
jar
</type>
</dependency>
</dependency>
<dependency>
<dependency>
...
@@ -157,11 +156,12 @@
...
@@ -157,11 +156,12 @@
<goal>
generate
</goal>
<goal>
generate
</goal>
</goals>
</goals>
<configuration>
<configuration>
<inputSpec>
${basedir}/../openAPI/
schema
</inputSpec>
<inputSpec>
${basedir}/../openAPI/
API/CloudStorm-1.0.0-openapi.yaml
</inputSpec>
<generatorName>
java
</generatorName>
<generatorName>
java
</generatorName>
<configOptions>
<output>
${project.build.directory}/generated-sources
</output>
<sourceFolder>
src/gen/java/main
</sourceFolder>
<apiPackage>
${default.package}.handler
</apiPackage>
</configOptions>
<modelPackage>
nl.uva.sne.drip.model
</modelPackage>
<invokerPackage>
${default.package}.handler
</invokerPackage>
</configuration>
</configuration>
</execution>
</execution>
</executions>
</executions>
...
...
openAPI/API/CloudStorm-1.0.0-openapi.yaml
0 → 100644
View file @
5d3ca132
openapi
:
3.0.0
info
:
title
:
Simple Inventory API
description
:
This is a simple API
contact
:
email
:
you@your-company.com
license
:
name
:
Apache 2.0
url
:
http://www.apache.org/licenses/LICENSE-2.0.html
version
:
1.0.0
servers
:
-
url
:
https://virtserver.swaggerhub.com/skoulouzis/CloudStorm/1.0.0
description
:
SwaggerHub API Auto Mocking
tags
:
-
name
:
admins
description
:
Secured Admin-only calls
-
name
:
developers
description
:
Operations available to regular developers
paths
:
/topology
:
get
:
summary
:
return topology
description
:
return topology
operationId
:
getTopology
parameters
:
-
name
:
searchString
in
:
query
description
:
pass an optional search string for looking up inventory
required
:
false
style
:
form
explode
:
true
schema
:
maximum
:
50
type
:
string
responses
:
"
200"
:
description
:
search results matching criteria
content
:
application/json
:
schema
:
$ref
:
'
#/components/schemas/CloudsStormTopTopology'
"
400"
:
description
:
bad input parameter
components
:
schemas
:
CloudsStormTopTopology
:
$ref
:
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudsStormTopTopology.yml#/CloudsStormTopTopology
openAPI/schema/CloudsStormSubTopology.yml
View file @
5d3ca132
CloudsStormSubTopology
:
CloudsStormSubTopology
:
type
:
"
object"
type
:
"
object"
properties
:
properties
:
VMs
:
VMs
:
type
:
array
type
:
array
items
:
items
:
$ref
:
'
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudsStormVM.yml#/CloudsStormVM'
$ref
:
'
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudsStormVM.yml#/CloudsStormVM'
openAPI/schema/CloudsStormTopTopology.yml
View file @
5d3ca132
CloudsStormTopTopology
:
CloudsStormTopTopology
:
type
:
"
object"
type
:
"
object"
properties
:
properties
:
userName
:
userName
:
type
:
"
string"
type
:
"
string"
publicKeyPath
:
publicKeyPath
:
type
:
"
string"
type
:
"
string"
topologies
:
topologies
:
type
:
array
type
:
array
items
:
items
:
$ref
:
'
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudsStormSubTopology.yml#/CloudsStormSubTopology'
$ref
:
'
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudsStormSubTopology.yml#/CloudsStormSubTopology'
openAPI/schema/CloudsStormVM.yml
View file @
5d3ca132
CloudsStormVM
:
CloudsStormVM
:
type
:
"
object"
type
:
"
object"
properties
:
properties
:
name
:
name
:
...
...
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