Remote Container Adapter for WLP 8.5

First crack at creating a remote adapter for WLP, tested against WLP 8.5.5.4
Ah very good, yes it works perfectly. Wiki documentation looks fine to me
also.

I'm happy for this to go upstream.

Many thanks!

On 28 December 2014 at 17:21, Gerhard Poul <notifications@github.com> wrote:

> In
> wlp-remote-8.5/src/main/java/org/jboss/arquillian/container/was/wlp_remote_8_5/WLPRestClient.java
> <https://github.com/arquillian/arquillian-container-was/pull/22#discussion-diff-22299001>
> :
>
> > +        }
> > +
> > +        String deployPath = "${wlp.user.dir}/servers/" + configuration.getServerName() + "/dropins/"
> > +                + applicationName;
> > +
> > +        String serverRestEndpoint = "https://" + configuration.getHostName() + ":" + configuration.getHttpsPort()
> > +                + FILE_ENDPOINT + URLEncoder.encode(deployPath, UTF_8);
> > +
> > +        int result = executor.execute(Request.Delete(serverRestEndpoint).useExpectContinue().version(HttpVersion.HTTP_1_1))
> > +                .returnResponse().getStatusLine().getStatusCode();
> > +
> > +        if (result == HttpStatus.SC_NO_CONTENT) {
> > +            log.fine("File " + applicationName + " was deleted");
> > +            // wait to allow the server to detect the app has been deleted
> > +            try {
> > +                Thread.sleep(3000);
>
> I debugged this today and I think I was able to fix it. Can you maybe
> quickly confirm that what I committed to
> https://github.com/gpoul/arquillian-container-was/commits/ARQ-1893 works
> for you and is OK for you to be pushed upstream?
>
> I also created a JIRA ticket for this feature at
> https://issues.jboss.org/browse/ARQ-1893
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/arquillian/arquillian-container-was/pull/22/files#r22299001>
> .
>