Well, I suppose if the API returned an un-ending JSON stream it would work ;)
----- Original Message -----
From: "Max Rydahl Andersen" <max.andersen(a)redhat.com>
To: "William DeCoste" <wdecoste(a)redhat.com>
Cc: "forge-dev List" <forge-dev(a)lists.jboss.org>, "Rafael
Benevides" <benevides(a)redhat.com>, "Pete Muir"
<pmuir(a)redhat.com>, "Andre Dietisheim" <adietish(a)redhat.com>,
"Bill DeCoste" <bill.decoste(a)jboss.com>, "Lincoln Baxter"
<lbaxter(a)redhat.com>
Sent: Thursday, October 11, 2012 12:35:37 PM
Subject: Re: [forge-dev] Openshift plugin
On 11 Oct 2012, at 18:17, William DeCoste <wdecoste(a)redhat.com> wrote:
The tail used to be via status for some cart types. The arch board is
discussing the best and consistent way to provide both.
ah okey - and yeah, I know the status was previously really crudely implemented as basic
10 line tail.
we use the 'real' tail in eclipse so you actually have a console open watching
what is going on. a REST call to status can't really do that.
/max
On 10/11/12 1:16 AM, Max Rydahl Andersen wrote:
>
>> Unfortunately not yet. The REST API does not expose this feature yet. It's on
the roadmap. It will probably be exposed as status.
> tailing of files as a status ? that seems like two different concerns ?
>
> /max
>
>> On 10/10/12 9:01 AM, Rafael Benevides wrote:
>>> Bill / Andre / Xavier
>>>
>>> I didn't find on openshift-java-client how to tail files.
>>>
>>> Does it have this feature ?
>>>
>>>
>>> Thanks
>>>
>>> Em 04-10-2012 10:24, Xavier Coulon escreveu:
>>>> Hi !
>>>>
>>>> As Max mentioned, you should find all the API you need to implement the
features listed below in the Forge plugin in the new openshift-java-client (V2.0), except
maybe the 'tail files' feature which we implemented in JBossTools because we use
specific Eclipse APIs to display the output in a MessageConsole. Maybe this could be
refactored and moved partially into the java-client library, though (we did not need to do
that when we worked on it a few months ago).
>>>>
>>>> Also, if you haven't already seen it, André recently wrote an article
about the new client library:
https://community.jboss.org/en/tools/blog/2012/08/24/show-domain-info-ope...
>>>>
>>>> Best regards,
>>>> /Xavier
>>>>
>>>>
>>>>
>>>> On Oct 4, 2012, at 1:39 PM, Max Rydahl Andersen wrote:
>>>>
>>>>>> So I just started working on EAP support.
https://issues.jboss.org/browse/FORGEPLUGINS-88 opened!
>>>>> Oh I was wondering why EAP wasn't supported.
>>>>> Didn't realize the forge openshift install was jboss specific.
>>>>>
>>>>> One item I got is that we check if the projects setup by JBoss Tools,
openshift client and OpenShift Forge client are compatible or can be made compatible.
>>>>>
>>>>> i.e. forge *always* uses "openshift" as the remote afaik -
openshift client always create projects where the remote is in "origin" - as a
consequence jboss tools
>>>>> added support for naming the remote used so you could align them.
>>>>>
>>>>> If openshift could allow naming the remote or pick up the existing
remote pointing to openshift these things could be aligned.
>>>>>
>>>>>>>> Pete and Lincoln talked about some of them in JavaOne
here are some:
>>>>>>>> * support for embedding cartridges
>>>>>>>> * support for eap
>>>>>>>> * tail files
>>>>> all of the above is available for use from the new openshift client.
>>>>>
>>>>>>>> I also got those:
>>>>>>>> * setup when openshift application exists
>>>>>>>> * snapshot management ?
>>>>>>>> * key management ?
>>>>>>>> * alias management
>>>>>>>> * enable scaling on create app ?
>>>>>>>> * Use alternate openshift config file
>>>>> whats this one ?
>>>>>
>>>>>>>> * config port forward ?
>>>>> we got this in jbosstools - for forge I guess it requires running a
jsch port forward (or launch ssh native in separate process) ?
>>>>>
>>>>> /max
>>>>> _______________________________________________
>>>>> forge-dev mailing list
>>>>> forge-dev(a)lists.jboss.org
>>>>>
https://lists.jboss.org/mailman/listinfo/forge-dev
>> --
>> Bill DeCoste
>> Principal Software Engineer, Red Hat
>> 978-204-0920
>>
>> wdecoste(a)redhat.com
>> _______________________________________________
>> forge-dev mailing list
>> forge-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/forge-dev
--
Bill DeCoste
Principal Software Engineer, Red Hat
978-204-0920
wdecoste(a)redhat.com