[Apiman-user] Deploy Apiman Manager, Gateway, Elasticsearch locally - new bash script
Charles Moulliard
cmoulliard at redhat.com
Tue Feb 2 07:13:56 EST 2016
Hi,
FYI, I have created a new bash script to install / deploy locally Apiman
on one machine. Here is the link of the PR :
https://github.com/apiman/apiman-deployer/pull/1
When you will use it, you can accept the default values
Apiman Version :1.2.1.Final
ElasticSearch Version :1.7.2
Wildfly version : 9.0.2.Final
ElasticSearch Server : http://localhost:9200
Apiman Manager : http://localhost:8080. (Keycloak Server is running with
Apiman Manager)
Database : h2
Apiman Gateway :
Gateway Public Endpoint : https://localhost:8543/apiman-gateway/
Keycloak Server : https://localhost:8443/auth
Here is the offset of the port defined
- Apiman Manager offset: 0 (-> 8080, 8443)
- Apiman Gateway offset: 100 (-> 8180, 8543)
- Apiman Keycloak Server offset: 200 (-> 8280, 8643)
Remark :
- The script has been tested on MacOS X (= Darwin OS) with the
simple-echo service part of the apiman-quickstart project (mvn jetty:run).
http --verify=no GET https://localhost:8543/apiman-gateway/fuse/echo/1.0
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 317
Content-Type: application/json
Date: Tue, 02 Feb 2016 11:58:29 GMT
Server: Jetty(9.3.0.v20150612)
X-Powered-By: Undertow/1
{
"bodyLength": null,
"bodySha1": null,
"headers": {
"Accept": "*/*",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"Host": "localhost:9999",
"User-Agent": "HTTPie/0.9.2"
},
"method": "GET",
"resource": "/apiman-echo/hello",
"uri": "/apiman-echo/hello"
}
- The only thing that I have done manually is to add a NEW gateway
within the Apiman Manager GUI
(http://localhost:8080/apimanui/api-manager/admin/gateways) using this
address : https://localhost:8543/apiman-gateway/ and user : apimanager &
pwd : apiman123!
Regards,
--
Charles Moulliard
Principal Solution Architect / JBoss Fuse Expert - Global Enablement @redhat
cmoulliard at redhat.com | work: +31 205 65 12 84 | mobile: +32 473 604 014
MC-Square Business "Stockholm", Leonardo Da Vincilaan 19, Diegem 1831 -
Belgium
twitter: @cmoulliard <http://twitter.com/cmoulliard> | blog:
cmoulliard.github.io <http://cmoulliard.github.io>
committer: apache camel, karaf, servicemix, hawtio, fabric8, drools,
jbpm, deltaspike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20160202/cef6dee9/attachment.html
More information about the Apiman-user
mailing list