<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Marc,</p>
<p>I have used this procedure to install APIMAN, wildfly and vert.x
:</p>
<pre class="code-block">// Step 1
mkdir ~/apiman-1.3.1.Final
cd ~/apiman-1.3.1.Final
curl <a class="moz-txt-link-freetext" href="http://download.jboss.org/wildfly/10.1.0.Final/wildfly-10.1.0.Final.zip">http://download.jboss.org/wildfly/10.1.0.Final/wildfly-10.1.0.Final.zip</a> -o wildfly-10.1.0.Final.zip
curl <a class="moz-txt-link-freetext" href="http://downloads.jboss.org/apiman/1.3.1.Final/apiman-distro-wildfly10-1.3.1.Final-overlay.zip">http://downloads.jboss.org/apiman/1.3.1.Final/apiman-distro-wildfly10-1.3.1.Final-overlay.zip</a> -o apiman-distro-wildfly10-1.3.1.Final-overlay.zip
unzip wildfly-10.1.0.Final.zip
unzip -o apiman-distro-wildfly10-1.3.1.Final-overlay.zip -d wildfly-10.1.0.Final
cd wildfly-10.1.0.Final
./bin/standalone.sh -c standalone-apiman.xml
// Step 2
cd ~/apiman-1.3.1.Final
curl <a class="moz-txt-link-freetext" href="http://downloads.jboss.org/apiman/1.3.1.Final/apiman-distro-vertx-1.3.1.Final.zip">http://downloads.jboss.org/apiman/1.3.1.Final/apiman-distro-vertx-1.3.1.Final.zip</a> -o apiman-distro-vertx-1.3.1.Final.zip
cd apiman-distro-vertx-1.3.1.Final
./apiman-gateway.sh --conf=configs/conf-es.json
// Step 3
Add the gateway to the Manager.</pre>
<p>After that, I write this in the form when I created my API :<br>
</p>
<p><img src="cid:part1.B716BDD1.7F466A00@ac-dijon.fr" alt=""></p>
<br>
For your point of view, is it correct?<br>
<br>
Thank you for your reply.<br>
<br>
Olivier<br>
<br>
<br>
<div class="moz-cite-prefix">Le 07/09/2017 à 18:17, Marc Savy a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAA7j38Lw0BNz73Otz_m4AQRrCWEKfzxtuYmJpqPHwj9KTpJ=gg@mail.gmail.com">
<div dir="ltr">That's for the Servlet version -- perhaps you
aren't using Vert.x?</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 7 September 2017 at 08:35, Olivier
ROZIER <span dir="ltr"><<a
href="mailto:orozier@ac-dijon.fr" target="_blank"
moz-do-not-send="true">orozier@ac-dijon.fr</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hi Marc,</p>
<p>I found the solution! <br>
</p>
<p>In fact when you run wildfly via the command <i><br>
</i></p>
<p><i>./bin/standalone.sh -c standalone-apiman.xml </i><br>
</p>
You must add the argument <i>-b=0.0.0.0<br>
<br>
</i>Therefore, instead of execute the command <br>
<i>./bin/standalone.sh -c standalone-apiman.xml <br>
</i><br>
You must run the command :<i><br>
</i><br>
<i>./bin/standalone.sh -c standalone-apiman.xml -b=0.0.0.0</i><span
class=""><br>
<br>
Thank you for your help.<br>
<br>
Olivier<br>
<br>
</span><span class="">
<div class="m_5675145863599612793moz-cite-prefix">Le
05/09/2017 à 14:26, Marc Savy a écrit :<br>
</div>
</span>
<div>
<div class="h5">
<blockquote type="cite">
<div dir="ltr">Hi Olivier,
<div><br>
</div>
<div>Does *hostname* not work for you:</div>
<div><br>
</div>
<div><a
href="https://github.com/apiman/apiman/blob/master/distro/vertx/src/main/resources/overlay/configs/conf-es.json#L219"
target="_blank" moz-do-not-send="true">https://github.com/apiman/<wbr>apiman/blob/master/distro/<wbr>vertx/src/main/resources/<wbr>overlay/configs/conf-es.json#<wbr>L219</a><br>
</div>
<div><br>
</div>
<div>You can also alter the reported endpoint with
*publicEndpoint*:</div>
<div><br>
</div>
<div><a
href="https://github.com/apiman/apiman/blob/master/distro/vertx/src/main/resources/overlay/configs/conf-es.json#L223"
target="_blank" moz-do-not-send="true">https://github.com/apiman/<wbr>apiman/blob/master/distro/<wbr>vertx/src/main/resources/<wbr>overlay/configs/conf-es.json#<wbr>L223</a><br>
</div>
<div><br>
</div>
<div>It seems to work (on 1.3.1.Final, at least),
but please verify and let us know.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Marc</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 5 September 2017 at
07:32, Olivier ROZIER <span dir="ltr"><<a
href="mailto:orozier@ac-dijon.fr"
target="_blank" moz-do-not-send="true">orozier@ac-dijon.fr</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hello Mark, <br>
</p>
<p>I forgot to say you that I use APIMAN
1.3.1.Final overlayfor Wildfly 10 and
APIMAN 1.3.1.Final Vert.x Gateway.</p>
<p>Thank you for your help.</p>
<span class="m_5675145863599612793HOEnZb"><font
color="#888888">
<p>Olivier<br>
</p>
<br>
</font></span><span>
<div
class="m_5675145863599612793m_6501864515072057119moz-cite-prefix">Le
04/09/2017 à 11:46, Marc Savy a écrit :<br>
</div>
</span>
<div>
<div class="m_5675145863599612793h5">
<blockquote type="cite">
<div dir="ltr">Thanks for the
clarification, that's helpful. I'll
look into it and get back to you
shortly.
<div><br>
</div>
<div>Regards,</div>
<div>Marc</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 4
September 2017 at 09:47, Olivier
ROZIER <span dir="ltr"><<a
href="mailto:orozier@ac-dijon.fr"
target="_blank"
moz-do-not-send="true">orozier@ac-dijon.fr</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div text="#000000"
bgcolor="#FFFFFF">
<p>Hello Eric,</p>
<p>Thank you for your answer.</p>
<p>In fact, when I say "it
doesn't work", I would say
that there is no result in
the client REST but also,
there is no error message. I
haven't got response in
fact...</p>
<p>When I execute the command
<i>netstat -ltanu</i>, I
have this result :<br>
</p>
<p><img
src="cid:part7.76A152E5.45D4B612@ac-dijon.fr"
alt="" class=""></p>
<p>As you can see, I have got
the line <a
href="http://127.0.0.1:8080"
target="_blank"
moz-do-not-send="true">127.0.0.1:8080</a>
but I haven't got the line <a
href="http://169.254.107.101:8080" target="_blank"
moz-do-not-send="true">169.254.107.101:8080</a>
<br>
</p>
<p>I think the problem comes
from here but I don't know
in which file I must specify
the IP Address and the port
(<a
href="http://169.254.107.101:8080"
target="_blank"
moz-do-not-send="true">169.254.107.101:8080</a>).</p>
<p>Moreover, I haven't got
firewall.</p>
<p>Do you understand better?</p>
<p>Thank you in advance for
your help.</p>
<span
class="m_5675145863599612793m_6501864515072057119HOEnZb"><font
color="#888888">
<p>Olivier<br>
</p>
</font></span>
<div>
<div
class="m_5675145863599612793m_6501864515072057119h5">
<p><br>
</p>
<br>
<div
class="m_5675145863599612793m_6501864515072057119m_-1983999077136267017moz-cite-prefix">Le
01/09/2017 à 17:56, Eric
Wittmann a écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr">When you
say it "doesn't work"
can you be more
specific? Is the host
unreachable or do you
receive an error from
the Apiman server?
<div><br>
</div>
<div>I'll assume that
the host is simply
unreachable and
answer that. :)</div>
<div><br>
</div>
<div>Marc will need to
confirm, but I
believe the vert.x
server automatically
binds to 0.0.0.0
when it starts up,
so I don't think you
should need to
configure anything
to bind to a
specific network
host.</div>
<div><br>
</div>
<div>The only other
thing I can think of
is that your Ubuntu
system has a
firewall enabled and
that you need to
open port 8080 on
that firewall so
that external TCP
requests can be
made.</div>
<div><br>
</div>
<div><a
href="https://help.ubuntu.com/stable/ubuntu-help/net-firewall-on-off.html"
target="_blank"
moz-do-not-send="true">https://help.ubuntu.com/stable<wbr>/ubuntu-help/net-firewall-on-o<wbr>ff.html</a><br>
</div>
<div><br>
</div>
<div>-Eric</div>
</div>
<div class="gmail_extra"><br>
<div
class="gmail_quote">On
Fri, Sep 1, 2017 at
10:39 AM, Olivier
ROZIER <span
dir="ltr"><<a
href="mailto:orozier@ac-dijon.fr"
target="_blank"
moz-do-not-send="true">orozier@ac-dijon.fr</a>></span> wrote:<br>
<blockquote
class="gmail_quote"
style="margin:0 0
0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div
text="#000000"
bgcolor="#FFFFFF">
<p>Hello,</p>
<p>I would like
to know how to
change the
first part of
the gateway
endpoint.</p>
<p>In fact, the
endpoint takes
this form : <br>
</p>
<pre class="m_5675145863599612793m_6501864515072057119m_-1983999077136267017m_-591946005312271990screen">http://gatewayhostname:port/ap<wbr>iman-gateway/{organizationId}/<wbr>{API ID}/{API version}/
When I try to access to this endpoint from a REST client on local host with this URL :
<a class="m_5675145863599612793m_6501864515072057119m_-1983999077136267017m_-591946005312271990moz-txt-link-freetext" href="http://localhost:8080/apiman-gateway/" target="_blank" moz-do-not-send="true">http://localhost:8080/apiman-g<wbr>ateway/</a>{organizationId}/{API ID}/{API version}/
it works fine.
But when I try to access to this endpoint from a remote host with the IP address of the host where APIMAN and the gateway are installed like this :
<a class="m_5675145863599612793m_6501864515072057119m_-1983999077136267017m_-591946005312271990moz-txt-link-freetext" href="http://172.56.56.123:8080/apiman-gateway/" target="_blank" moz-do-not-send="true">http://172.56.56.123:8080/apim<wbr>an-gateway/</a>{organizationId}/{A<wbr>PI ID}/{API version}/
it doesn't work.
APIMAN and the gateway (vert.x) are installed on the same ubuntu (ssh is activated).
Please, could you say me what file I can configure.
Thank you in advance.
Best regards.
</pre>
<div
class="m_5675145863599612793m_6501864515072057119m_-1983999077136267017m_-591946005312271990moz-signature">--
<br>
<table
style="width:430px"
cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td>
<table
cellspacing="10"
cellpadding="0" border="0">
<tbody>
<tr>
<td
style="vertical-align:top"><img
checked=""
style="width:78px;height:80px"
alt=""
src="cid:part15.732895FE.805EB4CD@ac-dijon.fr"
class=""></td>
<td><img
checked=""
style="width:5px;height:145px"
alt=""
src="cid:part16.64EC36BF.952F6DDF@ac-dijon.fr"
class=""></td>
<td checked=""
style="vertical-align:top"><span><br>
</span><span>Olivier
ROZIER</span><br>
<small
id="m_5675145863599612793m_6501864515072057119m_-1983999077136267017m_-591946005312271990Body">Équipe
nationale de
développement
et intégration
d'applications<br>
Direction des
Systèmes
d'Information<br>
DSI<br>
<br>
</small> <small
id="m_5675145863599612793m_6501864515072057119m_-1983999077136267017m_-591946005312271990Body2">Rectorat
de Dijon<br>
2G rue du
Général
Delaborde -
21000 Dijon<br>
<br>
LD : 03 80 44
88 78 - Fax :
03 80 44 88 10<br>
<a
class="m_5675145863599612793m_6501864515072057119m_-1983999077136267017m_-591946005312271990moz-txt-link-abbreviated"
href="http://www.ac-dijon.fr" target="_blank" moz-do-not-send="true">www.ac-dijon.fr</a>
</small></td>
</tr>
</tbody>
</table>
<span><br>
</span><span>Pensez
à
l'environnement
avant
d'imprimer ce
message</span>
</td>
</tr>
</tbody>
</table>
<br>
<br>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Apiman-user
mailing list<br>
<a
href="mailto:Apiman-user@lists.jboss.org"
target="_blank"
moz-do-not-send="true">Apiman-user@lists.jboss.org</a><br>
<a
href="https://lists.jboss.org/mailman/listinfo/apiman-user"
rel="noreferrer"
target="_blank"
moz-do-not-send="true">https://lists.jboss.org/mailma<wbr>n/listinfo/apiman-user</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<div
class="m_5675145863599612793m_6501864515072057119m_-1983999077136267017moz-signature">--
<br>
<table
style="width:430px"
cellspacing="0"
cellpadding="0"
border="0">
<tbody>
<tr>
<td>
<table
cellspacing="10"
cellpadding="0" border="0">
<tbody>
<tr>
<td
style="vertical-align:top"><img
checked=""
style="width:78px;height:80px"
alt=""
src="cid:part15.732895FE.805EB4CD@ac-dijon.fr"
class=""></td>
<td><img
checked=""
style="width:5px;height:145px"
alt=""
src="cid:part16.64EC36BF.952F6DDF@ac-dijon.fr"
class=""></td>
<td checked=""
style="vertical-align:top"><span><br>
</span><span>Olivier
ROZIER</span><br>
<small
id="m_5675145863599612793m_6501864515072057119m_-1983999077136267017Body">Équipe
nationale de
développement
et intégration
d'applications<br>
Direction des
Systèmes
d'Information<br>
DSI<br>
<br>
</small> <small
id="m_5675145863599612793m_6501864515072057119m_-1983999077136267017Body2">Rectorat
de Dijon<br>
2G rue du
Général
Delaborde -
21000 Dijon<br>
<br>
LD : 03 80 44
88 78 - Fax :
03 80 44 88 10<br>
<a
class="m_5675145863599612793m_6501864515072057119m_-1983999077136267017moz-txt-link-abbreviated"
href="http://www.ac-dijon.fr" target="_blank" moz-do-not-send="true">www.ac-dijon.fr</a>
</small></td>
</tr>
</tbody>
</table>
<span><br>
</span><span>Pensez
à
l'environnement
avant
d'imprimer ce
message</span>
</td>
</tr>
</tbody>
</table>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Apiman-user mailing list<br>
<a
href="mailto:Apiman-user@lists.jboss.org"
target="_blank"
moz-do-not-send="true">Apiman-user@lists.jboss.org</a><br>
<a
href="https://lists.jboss.org/mailman/listinfo/apiman-user"
rel="noreferrer"
target="_blank"
moz-do-not-send="true">https://lists.jboss.org/mailma<wbr>n/listinfo/apiman-user</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<div
class="m_5675145863599612793m_6501864515072057119moz-signature">--
<br>
<table style="width:430px"
cellspacing="0" cellpadding="0"
border="0">
<tbody>
<tr>
<td>
<table cellspacing="10"
cellpadding="0" border="0">
<tbody>
<tr>
<td
style="vertical-align:top"><img
checked=""
style="width:78px;height:80px"
alt=""
src="cid:part15.732895FE.805EB4CD@ac-dijon.fr"
class=""></td>
<td><img checked=""
style="width:5px;height:145px"
alt=""
src="cid:part16.64EC36BF.952F6DDF@ac-dijon.fr"
class=""></td>
<td checked=""
style="vertical-align:top"><span><br>
</span><span>Olivier
ROZIER</span><br>
<small
id="m_5675145863599612793m_6501864515072057119Body">Équipe
nationale de
développement et
intégration
d'applications<br>
Direction des
Systèmes
d'Information<br>
DSI<br>
<br>
</small> <small
id="m_5675145863599612793m_6501864515072057119Body2">Rectorat
de Dijon<br>
2G rue du Général
Delaborde - 21000
Dijon<br>
<br>
LD : 03 80 44 88 78
- Fax : 03 80 44 88
10<br>
<a
class="m_5675145863599612793m_6501864515072057119moz-txt-link-abbreviated"
href="http://www.ac-dijon.fr" target="_blank" moz-do-not-send="true">www.ac-dijon.fr</a>
</small></td>
</tr>
</tbody>
</table>
<span><br>
</span><span>Pensez à
l'environnement avant
d'imprimer ce message</span>
</td>
</tr>
</tbody>
</table>
<br>
<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<div class="m_5675145863599612793moz-signature">-- <br>
<table style="width:430px" cellspacing="0"
cellpadding="0" border="0">
<tbody>
<tr>
<td>
<table cellspacing="10" cellpadding="0"
border="0">
<tbody>
<tr>
<td style="vertical-align:top"><img
checked=""
style="width:78px;height:80px"
alt=""
src="cid:part15.732895FE.805EB4CD@ac-dijon.fr"
class=""></td>
<td><img checked=""
style="width:5px;height:145px"
alt=""
src="cid:part16.64EC36BF.952F6DDF@ac-dijon.fr"
class=""></td>
<td checked=""
style="vertical-align:top"><span><br>
</span><span>Olivier ROZIER</span><br>
<small
id="m_5675145863599612793Body">Équipe
nationale de développement et
intégration d'applications<br>
Direction des Systèmes
d'Information<br>
DSI<br>
<br>
</small> <small
id="m_5675145863599612793Body2">Rectorat
de Dijon<br>
2G rue du Général Delaborde -
21000 Dijon<br>
<br>
LD : 03 80 44 88 78 - Fax : 03 80
44 88 10<br>
<a
class="m_5675145863599612793moz-txt-link-abbreviated"
href="http://www.ac-dijon.fr"
target="_blank"
moz-do-not-send="true">www.ac-dijon.fr</a>
</small></td>
</tr>
</tbody>
</table>
<span><br>
</span><span>Pensez à l'environnement avant
d'imprimer ce message</span> </td>
</tr>
</tbody>
</table>
<br>
<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<title></title>
<!-- BEGIN BODY OF LIQUID EMAIL -->
<!--
body {
-webkit-text-size-adjust: none;
background-color: #ffffff;
margin:0;
padding:0;
color: #777777;
}
-->
<table style="width: 430px;" cellspacing="0" cellpadding="0"
border="0">
<tbody>
<tr>
<td>
<table cellspacing="10" cellpadding="0" border="0">
<tbody>
<tr>
<td style="vertical-align:top"><img checked="true"
style="width: 78px; height:80px;" alt=""
src="cid:part15.732895FE.805EB4CD@ac-dijon.fr"></td>
<td><img checked="true" style="width: 5px; height:
145px;" alt=""
src="cid:part16.64EC36BF.952F6DDF@ac-dijon.fr"></td>
<td checked="true" style="vertical-align:top"><span
style="font-size:6px; font-weight: bold;
font-family = Arial;"><br>
</span><span style="font-size:12px; font-weight:
bold; font-family = Arial;">Olivier ROZIER</span><br>
<small id="Body" style="font-size:8px;
font-weight: bold; font-family = Arial;">Équipe
nationale de développement et intégration
d'applications<br>
Direction des Systèmes d'Information<br>
DSI<br>
<br>
</small> <small id="Body2" style="font-size:12px;
font-family = Arial;">Rectorat de Dijon<br>
2G rue du Général Delaborde - 21000 Dijon<br>
<br>
LD : 03 80 44 88 78 - Fax : 03 80 44 88 10<br>
<a class="moz-txt-link-abbreviated" href="http://www.ac-dijon.fr">www.ac-dijon.fr</a> </small></td>
</tr>
</tbody>
</table>
<span style="font-size:2px; font-family = Arial;"><br>
</span><span style="font-size:11px; font-family = Arial;
font-style: italic; color: rgb(158, 255, 80);">Pensez à
l'environnement avant d'imprimer ce message</span> </td>
</tr>
</tbody>
</table>
<br>
<br>
</div>
</body>
</html>