Skip to content

Instantly share code, notes, and snippets.

@corinnekrych
Last active August 24, 2017 13:55
Show Gist options
  • Select an option

  • Save corinnekrych/e36f4a70184be0cb93af03f4461ab026 to your computer and use it in GitHub Desktop.

Select an option

Save corinnekrych/e36f4a70184be0cb93af03f4461ab026 to your computer and use it in GitHub Desktop.
Input
-----
{
"metadata": {
"deprecated": false,
"category": "Openshift.io",
"name": "Runtime",
"description": "Choose the runtime for your mission"
},
"state": {
"valid": true,
"canExecute": false,
"wizard": true,
"canMoveToNextStep": true,
"canMoveToPreviousStep": true,
"steps": [
"Mission",
"Runtime",
"Fabric8: Project Info"
],
"isExecute": false
},
"inputs": [
{
"name": "runtime",
"shortName": " ",
"valueType": "io.openshift.booster.catalog.Runtime",
"inputType": "org.jboss.forge.inputType.DEFAULT",
"enabled": true,
"required": true,
"deprecated": false,
"label": "Runtime",
"description": "",
"valueChoices": [
{
"id": "Eclipse Vert.x",
"key": "vert.x",
"name": "Eclipse Vert.x"
},
{
"id": "Spring Boot",
"key": "spring-boot",
"name": "Spring Boot"
},
{
"id": "WildFly Swarm",
"key": "wildfly-swarm",
"name": "WildFly Swarm"
}
],
"class": "UISelectOne",
"value": "Eclipse Vert.x"
},
{
"name": "mission",
"shortName": " ",
"valueType": "io.openshift.booster.catalog.Mission",
"inputType": "org.jboss.forge.inputType.DEFAULT",
"enabled": true,
"required": true,
"deprecated": false,
"label": "Mission",
"description": "",
"valueChoices": [
{
"id": "CRUD",
"key": "crud",
"name": "CRUD"
},
{
"id": "Circuit Breaker",
"key": "circuit-breaker",
"name": "Circuit Breaker"
},
{
"id": "Externalized Configuration",
"key": "configmap",
"name": "Externalized Configuration"
},
{
"id": "Health Check",
"key": "health-check",
"name": "Health Check"
},
{
"id": "REST API Level 0",
"key": "rest-http",
"name": "REST API Level 0"
},
{
"id": "Secured",
"key": "rest-http-secured",
"name": "Secured"
}
],
"class": "UISelectOne",
"value": "CRUD"
}
],
"results": [],
"stepIndex": 2
}
output
------
{
"metadata":{
"deprecated":false,
"category":"Fabric8",
"name":"Fabric8: Project Info",
"description":"Project Information"
},
"state":{
"valid":false,
"canExecute":false,
"wizard":true,
"canMoveToNextStep":false,
"canMoveToPreviousStep":true,
"steps":[
"Mission",
"Runtime",
"Fabric8: Project Info"
]
},
"inputs":[
{
"name":"gitOrganisation",
"shortName":" ",
"valueType":"io.fabric8.forge.generator.git.GitOrganisationDTO",
"inputType":"org.jboss.forge.inputType.DEFAULT",
"enabled":true,
"required":true,
"deprecated":false,
"label":"Organisation",
"description":"The github organisation to create this project inside",
"valueChoices":[
{
"id":"3.musket33rs",
"avatarUrl":"https://avatars2.githubusercontent.com/u/1974314?v=4",
"description":"http://3musket33rs.github.com",
"htmlUrl":"https://github.com/3musket33rs",
"name":"3.musket33rs",
"valid":true
},
{
"id":"AeroGear",
"avatarUrl":"https://avatars1.githubusercontent.com/u/954205?v=4",
"description":"http://aerogear.org",
"htmlUrl":"https://github.com/aerogear",
"name":"AeroGear",
"valid":true
},
{
"id":"Duchess France",
"avatarUrl":"https://avatars3.githubusercontent.com/u/693806?v=4",
"description":"http://duchess-france.org",
"htmlUrl":"https://github.com/DuchessFrance",
"name":"Duchess France",
"valid":true
},
{
"id":"Fabric8 UI",
"avatarUrl":"https://avatars2.githubusercontent.com/u/25244298?v=4",
"description":"http://fabric8.io/",
"htmlUrl":"https://github.com/fabric8-ui",
"name":"Fabric8 UI",
"valid":true
},
{
"id":"FeedHenry",
"avatarUrl":"https://avatars0.githubusercontent.com/u/772226?v=4",
"description":"http://feedhenry.org",
"htmlUrl":"https://github.com/feedhenry",
"name":"FeedHenry",
"valid":true
},
{
"id":"FeedHenry Templates",
"avatarUrl":"https://avatars3.githubusercontent.com/u/7250163?v=4",
"description":"http://feedhenry.org/",
"htmlUrl":"https://github.com/feedhenry-templates",
"name":"FeedHenry Templates",
"valid":true
},
{
"id":"JBoss Mobile",
"avatarUrl":"https://avatars1.githubusercontent.com/u/8671610?v=4",
"description":"http://www.jboss.org/unifiedpush/",
"htmlUrl":"https://github.com/jboss-mobile",
"name":"JBoss Mobile",
"valid":true
},
{
"id":"JSSophia",
"avatarUrl":"https://avatars3.githubusercontent.com/u/1749487?v=4",
"description":"http://groups.google.com/group/jssophia",
"htmlUrl":"https://github.com/jssophia",
"name":"JSSophia",
"valid":true
},
{
"id":"Riviera GUG",
"avatarUrl":"https://avatars3.githubusercontent.com/u/1902347?v=4",
"description":"http://www.rivieragug.org",
"htmlUrl":"https://github.com/rivieragug",
"name":"Riviera GUG",
"valid":true
},
{
"id":"corinnekrych",
"description":"My personal github account",
"htmlUrl":"https://github.com/corinnekrych",
"name":"corinnekrych",
"valid":true
},
{
"id":"fabric8",
"avatarUrl":"https://avatars1.githubusercontent.com/u/6074349?v=4",
"description":"https://fabric8.io/",
"htmlUrl":"https://github.com/fabric8io",
"name":"fabric8",
"valid":true
}
],
"class":"UISelectOne",
"value":"corinnekrych"
},
{
"name":"named",
"shortName":" ",
"valueType":"java.lang.String",
"inputType":"org.jboss.forge.inputType.DEFAULT",
"enabled":true,
"required":true,
"deprecated":false,
"label":"OpenShift Project name",
"description":"The following characters are accepted: -a-z0-9 and the name cannot start or end with a dash",
"class":"UIInput"
},
{
"name":"groupId",
"shortName":" ",
"valueType":"java.lang.String",
"inputType":"org.jboss.forge.inputType.DEFAULT",
"enabled":true,
"required":true,
"deprecated":false,
"label":"Group Id",
"description":"",
"class":"UIInput",
"value":"io.openshift.booster"
},
{
"name":"artifactId",
"shortName":" ",
"valueType":"java.lang.String",
"inputType":"org.jboss.forge.inputType.DEFAULT",
"enabled":true,
"required":true,
"deprecated":false,
"label":"Artifact Id",
"description":"",
"class":"UIInput",
"value":"booster-crud-vertx"
},
{
"name":"version",
"shortName":" ",
"valueType":"java.lang.String",
"inputType":"org.jboss.forge.inputType.DEFAULT",
"enabled":true,
"required":true,
"deprecated":false,
"label":"Version",
"description":"",
"class":"UIInput",
"value":"1.0.0-SNAPSHOT"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment