juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] jamesbognar commented on issue #19: Added config command for microservice CLI
Date Mon, 26 Nov 2018 13:51:32 GMT
jamesbognar commented on issue #19: Added config command for microservice CLI
URL: https://github.com/apache/juneau/pull/19#issuecomment-441645524
 
 
   The command API is currently in its infancy.  I don't see a good way to test them yet.
 
   
   I should figure out a way of invoking them programmatically for testing purposes.  Something
simple on the Microservice class like:
   `public String invokeCommand(String name, Object...args) throws Exception`
   
   Then this can be used from a RestTestcase which automatically takes care of initializing
a microservice.  I can add a method to this class for retrieving the microservice:
   
   `public static RestMicroservice getMicroservice();`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message