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 @@
<dependency>
<groupId>
org.springframework.data
</groupId>
<artifactId>
spring-data-commons
</artifactId>
<version>
2.1.10.RELEASE
</version>
<type>
jar
</type>
</dependency>
<dependency>
...
...
@@ -157,11 +156,12 @@
<goal>
generate
</goal>
</goals>
<configuration>
<inputSpec>
${basedir}/../openAPI/
schema
</inputSpec>
<inputSpec>
${basedir}/../openAPI/
API/CloudStorm-1.0.0-openapi.yaml
</inputSpec>
<generatorName>
java
</generatorName>
<configOptions>
<sourceFolder>
src/gen/java/main
</sourceFolder>
</configOptions>
<output>
${project.build.directory}/generated-sources
</output>
<apiPackage>
${default.package}.handler
</apiPackage>
<modelPackage>
nl.uva.sne.drip.model
</modelPackage>
<invokerPackage>
${default.package}.handler
</invokerPackage>
</configuration>
</execution>
</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"
properties
:
VMs
:
type
:
array
items
:
$ref
:
'
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudsStormVM.yml#/CloudsStormVM'
VMs
:
type
:
array
items
:
$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"
properties
:
userName
:
type
:
"
string"
publicKeyPath
:
type
:
"
string"
topologies
:
type
:
array
items
:
$ref
:
'
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/CloudsStormSubTopology.yml#/CloudsStormSubTopology'
userName
:
type
:
"
string"
publicKeyPath
:
type
:
"
string"
topologies
:
type
:
array
items
:
$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"
properties
:
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