Re: building docker images for integration testing

Michiel Beijen <[email protected]> Fri, 26 Aug 2016 18:13:44 +0200
Newsgroups gmane.comp.otrs.devel
Message-ID <CABD0r12kS7bFytVvM5wn+o7ANhx9nbMei7hYWNj0TBT3JRE90g@mail.gmail.com>
--===============4145222346604371308==
Content-Type: multipart/alternative; boundary=001a1141209ca0bee6053afbcdf9

--001a1141209ca0bee6053afbcdf9
Content-Type: text/plain; charset=UTF-8

Hi Jonathan!

You don't need to use the web installer, per se.
You can create a small script that would copy Kernel/Config.pm.dist to
Kernel/Config.pm and sets a few variables such as database configuration,
and you can create the database tables by running the scripts in
scripts/database in order : schemal, initial_insert, post.

After that you can create the web services by running bin/otrs.Console.pl
Admin::WebService::Add

I hope this helps!

--
Michiel

On Fri, Aug 26, 2016 at 6:07 PM, Jonathan Sartin <[email protected]>
wrote:

> Hi there,
>
> we would like to have docker images of OTRS with a working ticket web
> service for integration testing the interface between OTRS and OpenNMS
> Whilst we can build dockerfiles to spin up agents/containers for mariadb
> and OTRS, we can't easily script the final web installer and webservice
> import if we need to use the web installer. Is there a way that we can
> run these from the command line rather than the web browser?
>
> This would really help with integration testing. We'd like to know every
> time the OpenNMS/OTRS integration breaks without needing to wait for a
> user of OpenNMS and OTRS together to tell us.
>
> Thanks in advance ... Jonathan.
>
>
>
> _______________________________________________
> OTRS mailing list: dev - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/dev
> To unsubscribe: http://lists.otrs.org/mailman/listinfo/dev
>

--001a1141209ca0bee6053afbcdf9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div>Hi Jonathan!<br><br></div>You don=
&#39;t need to use the web installer, per se. <br></div>You can create a sm=
all script that would copy Kernel/Config.pm.dist to Kernel/Config.pm and se=
ts a few variables such as database configuration, and you can create the d=
atabase tables by running the scripts in scripts/database in order : schema=
l, initial_insert, post.<br><br></div>After that you can create the web ser=
vices by running bin/<a href=3D"http://otrs.Console.pl">otrs.Console.pl</a>=
 Admin::WebService::Add<br><br></div>I hope this helps!<br><br>--<br></div>=
Michiel<br></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Fri, Aug 26, 2016 at 6:07 PM, Jonathan Sartin <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:[email protected]" target=3D"_blank">[email protected]<=
/a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi there,<br>
<br>
we would like to have docker images of OTRS with a working ticket web<br>
service for integration testing the interface between OTRS and OpenNMS<br>
Whilst we can build dockerfiles to spin up agents/containers for mariadb<br=
>
and OTRS, we can&#39;t easily script the final web installer and webservice=
<br>
import if we need to use the web installer. Is there a way that we can<br>
run these from the command line rather than the web browser?<br>
<br>
This would really help with integration testing. We&#39;d like to know ever=
y<br>
time the OpenNMS/OTRS integration breaks without needing to wait for a<br>
user of OpenNMS and OTRS together to tell us.<br>
<br>
Thanks in advance ... Jonathan.<br>
<br>
<br>
<br>______________________________<wbr>_________________<br>
OTRS mailing list: dev - Webpage: <a href=3D"http://otrs.org/" rel=3D"noref=
errer" target=3D"_blank">http://otrs.org/</a><br>
Archive: <a href=3D"http://lists.otrs.org/pipermail/dev" rel=3D"noreferrer"=
 target=3D"_blank">http://lists.otrs.org/<wbr>pipermail/dev</a><br>
To unsubscribe: <a href=3D"http://lists.otrs.org/mailman/listinfo/dev" rel=
=3D"noreferrer" target=3D"_blank">http://lists.otrs.org/mailman/<wbr>listin=
fo/dev</a><br></blockquote></div><br></div>

--001a1141209ca0bee6053afbcdf9--

--===============4145222346604371308==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/mailman/listinfo/dev
--===============4145222346604371308==--