Skip to content

Instantly share code, notes, and snippets.

@corinnekrych
Last active August 28, 2017 14:03
Show Gist options
  • Save corinnekrych/abfab9f9a8f7a7a587bca25385b57551 to your computer and use it in GitHub Desktop.
Save corinnekrych/abfab9f9a8f7a7a587bca25385b57551 to your computer and use it in GitHub Desktop.
Input for Next command ON http://localhost:8080/forge/commands/fabric8-new-project/next
=======================================================================================
{
"metadata": {
"deprecated": false,
"category": "Openshift.io",
"name": "Quickstart",
"description": "Choose a quickstart"
},
"state": {
"valid": true,
"canExecute": false,
"wizard": true,
"canMoveToNextStep": true,
"canMoveToPreviousStep": false,
"steps": [
"Quickstart",
"Fabric8: Project Info"
]
},
"inputs": [
{
"name": "quickstart",
"shortName": " ",
"valueType": "io.fabric8.forge.generator.quickstart.BoosterDTO",
"inputType": "org.jboss.forge.inputType.DEFAULT",
"enabled": true,
"required": true,
"deprecated": false,
"label": "Quickstart",
"description": "",
"valueChoices": [
{
"id": "Secured Vertx - Rest & Red Hat SSO",
"description": "Quickstart to expose a REST Greeting endpoint using Eclipse Vert.x & Secured by Red Hat SSO",
"missionId": "rest-http-secured",
"missionName": "Secured",
"name": "Secured Vertx - Rest & Red Hat SSO",
"runtimeId": "vert.x",
"runtimeName": "Eclipse Vert.x"
},
....
],
"class": "UISelectOne",
"value": "Vert.x HTTP Booster"
}
],
"stepIndex": 1
}
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":[
"Quickstart",
"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
},
...
],
"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":"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