-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ | |
} | ||
)(); | ||
</script><title>IBM Wazi Developer for Red Hat CodeReady Workspaces: Set up an SSL Certificate in an OpenShift Container Platform | IBM Z® Open Editor</title><meta name="description" content="IBM enterprise language support for COBOL, PL/I, HLASM, REXX, and JCL in VS Code”"> | ||
<link rel="modulepreload" href="/zopeneditor-about/assets/app.574d1b99.js"><link rel="modulepreload" href="/zopeneditor-about/assets/ocp-ssl-cert.html.72eec9e1.js"><link rel="modulepreload" href="/zopeneditor-about/assets/ocp-ssl-cert.html.dabe6731.js"><link rel="modulepreload" href="/zopeneditor-about/assets/plugin-vue_export-helper.21dcd24c.js"> | ||
<link rel="modulepreload" href="/zopeneditor-about/assets/app.e78f0d9f.js"><link rel="modulepreload" href="/zopeneditor-about/assets/ocp-ssl-cert.html.72eec9e1.js"><link rel="modulepreload" href="/zopeneditor-about/assets/ocp-ssl-cert.html.7380f60e.js"><link rel="modulepreload" href="/zopeneditor-about/assets/plugin-vue_export-helper.21dcd24c.js"> | ||
<link rel="stylesheet" href="/zopeneditor-about/assets/style.b4b0b9d1.css"> | ||
</head> | ||
<body> | ||
|
@@ -76,6 +76,6 @@ | |
</code></pre><div class="line-numbers" aria-hidden="true"><span class="line-number">1</span><br></div></div></li><li><p>Create a <code>secret</code> for the certificate and private key using <code>ocpcert.pem</code> and <code>certserverkey.key</code>.</p><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>oc create secret tls <Secret Name> --cert=<ocpcert.pem> --key=<certserverkey.key> -n openshift-ingress | ||
</code></pre><div class="line-numbers" aria-hidden="true"><span class="line-number">1</span><br></div></div></li><li><p>Update the Ingress Controller configuration with the <code>secret</code> we just created.</p><div class="language-text ext-text line-numbers-mode"><pre class="language-text"><code>oc patch ingresscontroller.operator default --type=merge -p '{"spec":{"defaultCertificate": {"name": "<Secret Name>"}}}' -n openshift-ingress-operator | ||
</code></pre><div class="line-numbers" aria-hidden="true"><span class="line-number">1</span><br></div></div><blockquote><p>Reference <a href="https://docs.openshift.com/container-platform/4.3/authentication/certificates/replacing-default-ingress-certificate.html" target="_blank" rel="noopener noreferrer">Replacing the default ingress certificate<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span></a></p></blockquote></li></ol><p>When a <code>signed</code> SSL certificate iss issued by a <code>trusted</code> CA server, then there is no further configurations required by the client browser accessing applications running on the OpenShift Container Platform from the <code>.apps</code> subdomain. It is recommended to use certificates from a <code>trusted</code> CA server versus a <code>self-signed</code> SSL certificate which would require further configurations on all client browsers to import both the intermediate and root certificates.</p><p>The approach and instructions introduced in this article applies to an OpenShift Container Platform 4.3, but it might be applicable to later versions. Always confirm with the OpenShift documentation before proceeding.</p><!--]--></div><footer class="page-meta"><!----><div class="meta-item last-updated"><span class="meta-item-label">Last Updated: </span><!----></div><div class="meta-item contributors"><span class="meta-item-label">Contributors: </span><span class="meta-item-info"><!--[--><!--[--><span class="contributor" title="email: [email protected]">Arvin Bhatnagar</span><!--[-->, <!--]--><!--]--><!--[--><span class="contributor" title="email: [email protected]">Hestia Zhang</span><!--[-->, <!--]--><!--]--><!--[--><span class="contributor" title="email: [email protected]">Min Huang</span><!--[-->, <!--]--><!--]--><!--[--><span class="contributor" title="email: [email protected]">Peter Haumer</span><!--[-->, <!--]--><!--]--><!--[--><span class="contributor" title="email: [email protected]">Peter Haumer</span><!--[-->, <!--]--><!--]--><!--[--><span class="contributor" title="email: [email protected]">kmaselli</span><!----><!--]--><!--]--></span></div></footer><nav class="page-nav"><p class="inner"><span class="prev"><a href="/zopeneditor-about/Blog/userbuild-blog.html" class="" aria-label="IBM Z® Open Editor makes building COBOL, PL/I, and HLASM applications easier with User Build"><!--[--><!--]--> IBM Z® Open Editor makes building COBOL, PL/I, and HLASM applications easier with User Build <!--[--><!--]--></a></span><span class="next"><a href="/zopeneditor-about/Blog/rse-october-110.html" class="" aria-label="What's new with IBM RSE API Plug-in for Zowe CLI 1.1.0"><!--[--><!--]--> What's new with IBM RSE API Plug-in for Zowe CLI 1.1.0 <!--[--><!--]--></a></span></p></nav><!--[--><!--]--></main><!--]--></div><!----><!--]--></div> | ||
<script type="module" src="/zopeneditor-about/assets/app.574d1b99.js" defer></script> | ||
<script type="module" src="/zopeneditor-about/assets/app.e78f0d9f.js" defer></script> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ | |
} | ||
)(); | ||
</script><title>Running IBM Z® Open Editor in the browser with Eclipse Theia | IBM Z® Open Editor</title><meta name="description" content="IBM enterprise language support for COBOL, PL/I, HLASM, REXX, and JCL in VS Code”"> | ||
<link rel="modulepreload" href="/zopeneditor-about/assets/app.574d1b99.js"><link rel="modulepreload" href="/zopeneditor-about/assets/web-based-with-theia.html.b5ed8430.js"><link rel="modulepreload" href="/zopeneditor-about/assets/web-based-with-theia.html.a4cfb63f.js"><link rel="modulepreload" href="/zopeneditor-about/assets/plugin-vue_export-helper.21dcd24c.js"> | ||
<link rel="modulepreload" href="/zopeneditor-about/assets/app.e78f0d9f.js"><link rel="modulepreload" href="/zopeneditor-about/assets/web-based-with-theia.html.b5ed8430.js"><link rel="modulepreload" href="/zopeneditor-about/assets/web-based-with-theia.html.bf0fbec0.js"><link rel="modulepreload" href="/zopeneditor-about/assets/plugin-vue_export-helper.21dcd24c.js"> | ||
<link rel="stylesheet" href="/zopeneditor-about/assets/style.b4b0b9d1.css"> | ||
</head> | ||
<body> | ||
|
@@ -57,6 +57,6 @@ | |
<span class="token comment"># mkdir plugins</span> | ||
<span class="token comment"># mv *.vsix plugins</span> | ||
</code></pre><div class="line-numbers" aria-hidden="true"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br></div></div></li><li><p>Restart the container and reload your browser.</p></li></ol><p>You are now able to create COBOL and PL/I files and see the Zowe Explorer views. To install more extensions into the container, go back to the container root shell. For example, you can install Zowe CLI into the container now as well.</p><h3 id="alternative-3-build-theia-from-source" tabindex="-1"><a class="header-anchor" href="#alternative-3-build-theia-from-source" aria-hidden="true">#</a> Alternative 3: Build Theia from source</h3><p>If you are interested in the Eclipse Theia project and want to try building it from source to explore it further, you can certainly do that and load Z Open Editor with it.</p><p>The Theia development team provides a very detailed document on how to set up your workspace. In particular, it lists all the dependencies required on your development machine, which differs quite a bit depending on the OS you are working on.</p><p>For more details, see the main Theia Developer Guide: <a href="https://github.com/eclipse-theia/theia/blob/master/doc/Developing.md" target="_blank" rel="noopener noreferrer">https://github.com/eclipse-theia/theia/blob/master/doc/Developing.md<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span></a>.</p><p>The main prerequisites are still Node V10 and Yarn. However, on a Windows PC, you need more dependencies such as the Windows Build Tools. The <a href="https://github.com/eclipse-theia/theia/blob/master/doc/Developing.md#building-on-windows" target="_blank" rel="noopener noreferrer">developer guide<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span></a> proposes to install the Windows package manager Choco and then use it for the installation of most dependencies including Node and Yarn.</p><p>After the prerequisites are set up, the steps for building Theia are basically to clone the repository and run <code>yarn</code> to build everything. If the build process aborts with errors, check for fixes in the <a href="https://github.com/eclipse-theia/theia/blob/master/doc/Developing.md#troubleshooting" target="_blank" rel="noopener noreferrer">Troubleshoot sections of the Theia development guide<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span></a>.</p><p>Once everything is built, running Theia with Z Open Editor and Zowe Explorer requires these additional steps:</p><ol><li>Create a folder called <code>plugins</code> in the top-level Theia folder you cloned.</li><li>Copy the Z Open Editor and Zowe Explorer vsix files into that <code>plugins</code> folder.</li><li>Run the command <code>cd examples/browser</code>.</li><li>Run the command <code>yarn start</code>.</li><li>Open a web browser and navigate to <a href="http://localhost:3000" target="_blank" rel="noopener noreferrer">http://localhost:3000<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span></a>.</li></ol><!--]--></div><footer class="page-meta"><!----><div class="meta-item last-updated"><span class="meta-item-label">Last Updated: </span><!----></div><div class="meta-item contributors"><span class="meta-item-label">Contributors: </span><span class="meta-item-info"><!--[--><!--[--><span class="contributor" title="email: [email protected]">Peter Haumer</span><!--[-->, <!--]--><!--]--><!--[--><span class="contributor" title="email: [email protected]">Min Huang</span><!--[-->, <!--]--><!--]--><!--[--><span class="contributor" title="email: [email protected]">Peter Haumer</span><!--[-->, <!--]--><!--]--><!--[--><span class="contributor" title="email: [email protected]">Shi Kun Li</span><!----><!--]--><!--]--></span></div></footer><nav class="page-nav"><p class="inner"><span class="prev"><a href="/zopeneditor-about/Blog/in-the-cloud-with-che.html" class="" aria-label="IBM Z® Open Editor in the cloud with Eclipse Che"><!--[--><!--]--> IBM Z® Open Editor in the cloud with Eclipse Che <!--[--><!--]--></a></span><!----></p></nav><!--[--><!--]--></main><!--]--></div><!----><!--]--></div> | ||
<script type="module" src="/zopeneditor-about/assets/app.574d1b99.js" defer></script> | ||
<script type="module" src="/zopeneditor-about/assets/app.e78f0d9f.js" defer></script> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.