Re: Ignoring servlet [XXX] without valid alias or url patterns property.

2020-05-05 Thread Jean-Baptiste Onofre
Let me try to reproduce.

It seems we have to exclude webconsole servlet from whiteboard or fix the 
webconsole servlet definition (with alias).

I’m fixing that.

Regards
JB

> Le 5 mai 2020 à 12:10, Oleg Cohen  a écrit :
> 
> Greetings,
> 
> I am noticing a number of the following INFO messages in my Karaf log:
> 
> 2020-05-05T05:44:31,551 | INFO  | FelixStartLevel  | ServletWebElement
> | 369 - org.ops4j.pax.web.pax-web-extender-whiteboard - 7.2.14 | 
> Ignoring servlet [530] without valid alias or url patterns property.
> 
> The 530 servlet is this:
> 
> 530    
> [javax.servlet.Servlet]
> felix.webconsole.category Status
> felix.webconsole.labelstatus-Configurations
> felix.webconsole.titleConfigurations
> service.bundleid  218
> service.scope bundle
> Using Bundles org.ops4j.pax.web.pax-web-extender-whiteboard (369) 
> 
> 
> Seems harmless, but just wondering what it might mean and if anyone else 
> noticed these?
> 
> Thank you!
> Oleg
> 
> -- 
> Oleg Cohen  |  Principal  |  A S S U R E B R I D G E
> Office: +1 617 564 0737 <>  |  Mobile: +1 617 455 7927 <>  |  Fax: +1 888 409 
> 6995 <>
> Email: oleg.co...@assurebridge.com   |  
> www.assurebridge.com 


OSGi Remote Services with gRCP

2020-05-05 Thread Scott Lewis
I've created a new distribution provider based upon/using Google's grpc 
[1].   For reference, here [2] are all the available distribution 
providers for ECF's impl of OSGi Remote Services/Remote Service Admin.


grpc-java uses the Google protocol buffers (protobuf) compiler to 
generate Java classes from a proto file.   The ECF grcp provider also 
has a new protoc plugin that...when generating the protobuf+grpc-java 
classes with maven build...will generate a service interface  also.   
Meaning:  from a single proto file that describes the service methods 
and args+return values, an entire remote service API can be generated.


Please see the example described here [1] or the blog posting here [3] 
for more info about this new provider.


There is a Karaf feature here [4] with dependencies, the grpc 
distribution provider, and the healthcheck example code.


Scott

[1] https://github.com/ECF/grpc-RemoteServicesProvider

[2] https://wiki.eclipse.org/Distribution_Providers

[3] 
http://eclipseecf.blogspot.com/2020/05/using-googles-grpc-java-for-osgi-remote.html


[4] 
https://raw.githubusercontent.com/ECF/grpc-RemoteServicesProvider/master/build/karaf-features.xml




Using Docker Secrets in Karaf Configuration

2020-05-05 Thread Alex Soto
I found using Docker Secrets a convenient a way to protect passwords when 
running Docker containers.  I know I can reference an environment variables in 
Karaf's config files, but that is not very secure, or at least less secure than 
secrets.  For example, to configure a key store in the Pax Web config file: 
org.ops4j.pax.web.cfg one would need to provide a value for key 
org.ops4j.pax.web.ssl.password.  The problem is how to reference a secret, 
which is a file, as the value of this  property?  In other words, I am looking 
for something like:

org.ops4j.pax.web.ssl.password=$(cat /run/secrets/keystorepass)

Is there anything similar or planned? 

(Same would be useful to configure the JAAS users in users.properties, etc.)  

Best regards,
Alex soto






Ignoring servlet [XXX] without valid alias or url patterns property.

2020-05-05 Thread Oleg Cohen
Greetings,

I am noticing a number of the following INFO messages in my Karaf log:

2020-05-05T05:44:31,551 | INFO  | FelixStartLevel  | ServletWebElement
   | 369 - org.ops4j.pax.web.pax-web-extender-whiteboard - 7.2.14 |
Ignoring servlet [530] without valid alias or url patterns property.

The 530 servlet is this:

530 
[javax.servlet.Servlet]
felix.webconsole.category Status
felix.webconsole.label status-Configurations
felix.webconsole.title Configurations
service.bundleid 218
service.scope bundle
Using Bundles org.ops4j.pax.web.pax-web-extender-whiteboard (369)


Seems harmless, but just wondering what it might mean and if anyone else
noticed these?

Thank you!
Oleg

-- 
*Oleg Cohen  |  Principal  |  **A S S U R E B R I D G E*
*Office: +1 617 564 0737  |  Mobile: +1 617 455 7927  |  Fax: +1 888 409
6995*
*Email: oleg.co...@assurebridge.com   **|
 www.assurebridge.com *