celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pepijn Noltes <pepijnnol...@gmail.com>
Subject Re: Celix web console
Date Sun, 18 Oct 2015 19:10:30 GMT
Hi Erjan,


On Sun, Oct 18, 2015 at 12:39 AM erjan altena <erjanaltena@gmail.com> wrote:

> Hi all,
>
> I have created a web-console for Celix. This is a web framework which
> listens for web-services.
>

Cool. I will try to have a look at it the coming days.


>
> Such a webservice should provide a HTML-webpage (included in the
> web-service bundle) and a REST-interface which can be used by the HTML-page
> to provide run-time information.
>
> For each webservice a tab is created on the web-console page (now on port
> 8080) and when this tab is selected the HTML webpage of this service is
> shown in a HTML iFrame.
>

Had a quick look at the web_console_service and to be honest I would prefer
a http whiteboard pattern approach like as in Apache Felix (see [1]). This
is IMO a more cleaner design orienting around the http methods
(get,post,etc). Also I think you are introducing two new things: 1) A  http
whiteboard (like) pattern and 2) a OSGi (Celix) web console. Both very
welcome, but I would like both concept more separate .


>
> For now I have created a 2 webservices which provide the information:
>
>    - Bundle-information (available bundles and their status)
>    - Registered services and their properties.
>

Looks very interesting, again will try to have a closer look the coming
days.


>
> I have put this web-console on github under the Apache licence:
>
> https://github.com/ErjanAltena/celix_web_console.git
>
> I think it would be nice to add this to Celix since it provides (imho) the
> internal information better than the (remote) web shell.
>
>
> What I want to add is :
>
>    - A Dependency-Manager service which shows on a webpage which components
>    are active and their dependencies.
>    - A Logging service which shows the logging information in the browser.
>
> Regards,
> Erjan Altena
>


Thanks for the work and mail, curious what other people think. Maybe a
option to vote this in for inclusion to Apache Celix?

Btw, for info: I already asked Erjan to sign the ICLA for his patch for the
dependency manager path (although not necessary).  I also knew he was
working on the a web console.


[1]
http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message