Skip to content

Commit 3cef995

Browse files
committed
Guided development for CDK
This fix uses Guided Development Installer and provides: 1. cheatsheets for different tasks 2. configuration for guided development installer 3. new guided development channel configuration
1 parent a7ad3c3 commit 3cef995

2 files changed

Lines changed: 93 additions & 0 deletions

File tree

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<cheatsheet title="Creating and deploying application to OpenShift">
3+
<intro>
4+
<description>This cheatsheet will guide you through creating, building and deploying
5+
application to Openshift.
6+
</description>
7+
</intro>
8+
<item title="Start CDK/Minishift">
9+
<description>Follow these steps to start CDK/Minishift in Eclipse
10+
</description>
11+
<subitem
12+
label="Open &apos;Servers View&apos;">
13+
</subitem>
14+
<subitem
15+
label="Select &apos;Container Development Environment 3.2+&apos;">
16+
</subitem>
17+
<subitem
18+
label="On local tool bar press &apos;Start the server&apos; button">
19+
</subitem>
20+
<subitem
21+
label="Wait for virtual machine is up and running">
22+
</subitem>
23+
<subitem
24+
label="Accept untrusted SSL certificate to connect to OpenShift cluster">
25+
</subitem>
26+
</item>
27+
<item title="Create OpenShift Application">
28+
<description>Follow these steps to create, build, and deploy the application
29+
</description>
30+
<subitem label="Open Openshift Explorer View">
31+
<command
32+
required="true"
33+
serialization="org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.jboss.tools.openshift.express.ui.explorer.expressConsoleView)"/>
34+
</subitem>
35+
<subitem label="Select &apos;New-&gt;Application...&apos; from context menu for root node">
36+
</subitem>
37+
<subitem label="Select nodejs-mongo-persistent project from &apos;Server application source&apos; list">
38+
</subitem>
39+
<subitem label="Press &apos;Next&apos; button to see &apos;Template parameters&apos; page">
40+
</subitem>
41+
<subitem label="Press &apos;Finish&apos; button to create application">
42+
</subitem>
43+
<subitem label="Press &apos;OK&apos; button in &apos;Create Application Summary&apos; dialog">
44+
</subitem>
45+
<subitem label="Press &apos;OK&apos; button in &apos;Create Application Summary&apos; dialog">
46+
</subitem>
47+
<subitem label="Press &apos;Finish&apos; button in &apos;Import OpenShift Application&apos; dialog">
48+
</subitem>
49+
<subitem label="Press &apos;Yes&apos; button to create server adapter for imported application">
50+
</subitem>
51+
</item>
52+
<item title="Wait Application built and deployed">
53+
<description>When the application is finished building and deploying you should see two running pods in <b>OpenShift Explorer View</b>.
54+
</description>
55+
</item>
56+
<item title="Open Application home page in browser">
57+
<description>At this point, you&apos;ve successfully built and deployed a Node.js and MongoDB application in containers running on OpenShift on your personal OpenShift cluster.
58+
From context menu for &apos;My Project&apos; node in OpenShift Explorer tree select &apos;Show In-&gt;Web Browser&apos; to see your Application home page in browser.
59+
</description>
60+
</item>
61+
</cheatsheet>

requirements.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,38 @@
776776
"devstudio": { }
777777
}
778778
},
779+
"cdkdevelopment": {
780+
"name": "OpenShift Guided Development",
781+
"description": "A step by step application development for Openshift!",
782+
"congratulation": "Congratulations! You've learned how to create and deploy applications on Openshift!",
783+
"file": {
784+
"creating-project": {
785+
"fileName": "cdk-creating-project-gd.xml",
786+
"taskName": "Creating, buildin and deploying application to OpenShift",
787+
"intro": "This cheatsheet explains how to create, build and deploy application to Openshift using Red Hat Developer Studio and Container Development Kit.",
788+
"onCompletion": "Congratulations! You have learned how to create, build and deploy application to Openshift!"
789+
}
790+
},
791+
"vendor": "Red Hat, Inc.",
792+
"modulePath": "model/guided-dev",
793+
"installable": true,
794+
"detectable": false,
795+
"bundle": "no",
796+
"targetFolderName": "developer-studio",
797+
"url": "https://developers.redhat.com/downloads",
798+
"fileName": "",
799+
"sha256sum": "",
800+
"version": "1.0.0",
801+
"useDownload": false,
802+
"defaultOption": "detected",
803+
"requires": ["devstudio", "cdk"],
804+
"size": 0,
805+
"installSize": 0,
806+
"channel" : {
807+
"containerDev": { },
808+
"guidedDev": { }
809+
}
810+
},
779811
"7zip": {
780812
"name": "7zip",
781813
"description": "7Zip Command Line Version",

0 commit comments

Comments
 (0)