<div dir="ltr">The UI [1] calls out to the service-catalog [2] which is a k8s extension api server. The catalog aggregates the different broker services into a single list of ClusterServiceClasses which the UI then renders.<div><br></div><div>[1] <a href="https://github.com/openshift/origin-web-catalog">https://github.com/openshift/origin-web-catalog</a></div><div>[2] <a href="https://github.com/kubernetes-incubator/service-catalog/">https://github.com/kubernetes-incubator/service-catalog/</a></div><div><br></div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 30, 2018 at 9:07 AM, Charles Moulliard <span dir="ltr"><<a href="mailto:cmoullia@redhat.com" target="_blank">cmoullia@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Many thanks. <div><br></div><div>Do you how how the UI screen is able to know which Service or Template should be presented within the screen [1] ? </div><div><br></div><div>[1] <a href="https://www.dropbox.com/s/29aqb2obgc8b46r/catalog.png?dl=0" target="_blank">https://www.dropbox.com/s/<wbr>29aqb2obgc8b46r/catalog.png?<wbr>dl=0</a></div><div><div class="gmail-h5"><div><br></div><div class="gmail_extra"><div><div class="gmail-m_5339184610619521672gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px"><div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Jan 30, 2018 at 9:57 AM, Craig Brookes <span dir="ltr"><<a href="mailto:cbrookes@redhat.com" target="_blank">cbrookes@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Charles,<div><br></div><div>I am not familiar with that template, but will give you my answers to the list of questions:</div><span class="gmail-m_5339184610619521672gmail-"><div><br></div><div><span style="font-size:12.8px">- Where is this list of Services declared ?</span><br></div><div><br></div></span><div>At startup, the ASB looks at a docker registry for images with a specified name for example: *-apb. It then reads meta data about this image provided as a labels[1]</div><div>This information forms the basis for the ClusterServiceClass consumed by the service catalog.</div><span class="gmail-m_5339184610619521672gmail-"><div><br></div><div><span style="font-size:12.8px">- Can we customize it to crate its list of services ?</span><br></div><div><span style="font-size:12.8px"><br></span></div></span><div><span style="font-size:12.8px">Yes you can change the config map set in the ansible-service-broker namespace and redeploy. More info on the config can be found at [2].</span></div><span class="gmail-m_5339184610619521672gmail-"><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">- What are the prereq needed to follow in order to add / create a new service available from the openshift UI ?</span><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div></span><div><span style="font-size:12.8px">You will need to create at least 1 APB and you will need to change the configuration to point at a docker registry with the apb docker image. There is tooling and docs around APBs to help you do this at [3]</span></div><div><br></div><div><br></div><div>Craig Brookes</div><div><br></div><div><br></div><div>[1]<a href="https://hub.docker.com/r/aerogearcatalog/aerogear-digger-apb/~/dockerfile/" target="_blank">https://hub.docker.com/r/ae<wbr>rogearcatalog/aerogear-digger-<wbr>apb/~/dockerfile/</a></div><div>[2] <a href="https://github.com/openshift/ansible-service-broker/blob/master/docs/config.md" target="_blank">https://github.com/openshi<wbr>ft/ansible-service-broker/<wbr>blob/master/docs/config.md</a></div><div>[3] <a href="https://github.com/ansibleplaybookbundle/ansible-playbook-bundle" target="_blank">https://github.com/ansible<wbr>playbookbundle/ansible-playboo<wbr>k-bundle</a></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-m_5339184610619521672gmail-h5">On Tue, Jan 30, 2018 at 7:12 AM, Charles Moulliard <span dir="ltr"><<a href="mailto:cmoullia@redhat.com" target="_blank">cmoullia@redhat.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-m_5339184610619521672gmail-h5"><div dir="ltr">Hi,<div><br></div><div>When ASB is deployed on openshift using this template [1], then a list of predefined services will be uploaded and next can be used from the openshift UI</div><div><br></div><div>- Where is this list of Services declared ?</div><div>- Can we customize it to crate its list of services ?</div><div>- What are the prereq needed to follow in order to add / create a new service available from the openshift UI ?</div><div><br></div><div>[1] <a href="https://goo.gl/1kUWcr" target="_blank">https://goo.gl/1kUWcr</a></div><div><br></div><div>Regards</div><span class="gmail-m_5339184610619521672gmail-m_-5338695700136994568HOEnZb"><font color="#888888"><div><br></div><div>Charles<br><div><div class="gmail-m_5339184610619521672gmail-m_-5338695700136994568m_479968618987137993gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px"><div></div></div></div></div></div></div></div></div></div></div>
</div></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
Ansible-service-broker mailing list<br>
<a href="mailto:Ansible-service-broker@redhat.com" target="_blank">Ansible-service-broker@redhat.<wbr>com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/ansible-service-broker" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/ansible-service-brok<wbr>er</a><br>
<br></blockquote></div><span class="gmail-m_5339184610619521672gmail-HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_5339184610619521672gmail-m_-5338695700136994568gmail_signature"><div dir="ltr">Craig Brookes<div>RHMAP </div><div>@maleck13 Github</div></div></div>
</font></span></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Craig Brookes<div>RHMAP </div><div>@maleck13 Github</div></div></div>
</div></div></div>