chore(tools): point server-all at Keycloak `localhost:8081` by default
This assumes the KC docker file at `server-all/target/docker/docker-compose.yml` is being used.
tofile="${apiman.wildfly.home}/standalone/configuration/standalone.xml" overwrite="true" />
<copy file="${apiman.apiman-tools-services.war}" tofile="${apiman.wildfly.webapps}/services.war"
overwrite="true" />
+
+ <!-- Point Apiman auth to port 8081, where (hopefully) Keycloak is running from Docker -->
+ <echo file="${apiman.wildfly.home}/bin/standalone.conf" append="true"><![CDATA[
+ if [[ -z $APIMAN_AUTH_URL ]]; then
+ APIMAN_AUTH_URL=http://localhost:8081/
+ fi
+ echo "*** Please ensure Keycloak is running and available at $APIMAN_AUTH_URL or set the environment variable APIMAN_AUTH_URL to your Keycloak instance ***"
+ ]]></echo>
</tasks>
</configuration>
<goals>
