Hi Eric,


Thanks for responding to my request. I configured the Kecloak as per the instructions provided in the URL you shared and I configured the system properties as below in standalone-apicurio.xml. But when I start the Apicurio still it is point to public GB.





    <property name="apicurio.kc.auth.rootUrl" value="http://localhost:8080/auth"/>

    <property name="apicurio.kc.auth.realm" value="apicurio"/>

    <property name="apicurio.hub.storage.jdbc.type" value="h2"/>

    <property name="apicurio.hub.storage.jdbc.init" value="true"/>

    <property name="apicurio.hub.github.url" value="https://github.uscc.com"/>

    <property name="apicurio.hub.github.api" value="https://api.github.uscc.com"/>




Do I need to change any other settings or clearup any cache to point local GH installation. Once again thanks in advance for your support.






From: Eric Wittmann [mailto:eric.wittmann@redhat.com]
Sent: Friday, June 21, 2019 10:51 AM
To: Gupta, Madhu
Cc: apicurio@lists.jboss.org
Subject: Re: [Apicurio] How to configure to use internally hosted github repository


We do not have access to a local GitHub installation in order to test this, which is why we do not have documentation for it.  However, you should be able to use two existing articles in the official Apicurio documentation to help.


Here is the article about how to configure a local GitLab instance:



You'll obviously want to extrapolate from the information in that article to GitHub instead of GitLab.  To help with that, there is some good information about how to configure the Keycloak side of things here:



The Apicurio configuration is pretty easy, it's just setting some system properties:





The values above are defaults - obviously used for integrating with the public instance of GH.  You'll want to set BOTH properties to appropriate values for your local instance.


The trickier part is configuring your local Keycloak.  This requires some configuration in Keycloak **AND** some configuration in your local GitHub instance.  The configuration needed is documented in the second link I included above.


Let me know if you run into any issues.







On Fri, Jun 21, 2019 at 11:42 AM Gupta, Madhu <Madhu.Gupta@uscellular.com> wrote:



I am currently using Apicurio standalone installation. I would like to use Apicurio to integrate with internally hosted github repository. Please advise how to configure the same.




Madhu Gupta


Apicurio mailing list