juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] jamesbognar closed pull request #32: Added missing ConfigCommand and its resources
Date Tue, 11 Dec 2018 14:29:26 GMT
jamesbognar closed pull request #32: Added missing ConfigCommand and its resources 
URL: https://github.com/apache/juneau/pull/32
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/juneau-examples/juneau-examples-rest-jetty/examples.cfg b/juneau-examples/juneau-examples-rest-jetty/examples.cfg
index a8e084485..79baf96fc 100755
--- a/juneau-examples/juneau-examples-rest-jetty/examples.cfg
+++ b/juneau-examples/juneau-examples-rest-jetty/examples.cfg
@@ -69,6 +69,7 @@ commands =
 	org.apache.juneau.microservice.console.ExitCommand,
 	org.apache.juneau.microservice.console.RestartCommand,
 	org.apache.juneau.microservice.console.HelpCommand,
+	org.apache.juneau.microservice.console.ConfigCommand,
 	org.apache.juneau.examples.rest.command.EchoCommand
 
 #=======================================================================================================================
diff --git a/juneau-microservice/juneau-microservice-core/src/main/resources/org/apache/juneau/microservice/console/Messages.properties
b/juneau-microservice/juneau-microservice-core/src/main/resources/org/apache/juneau/microservice/console/Messages.properties
index e9a484317..89b805f70 100644
--- a/juneau-microservice/juneau-microservice-core/src/main/resources/org/apache/juneau/microservice/console/Messages.properties
+++ b/juneau-microservice/juneau-microservice-core/src/main/resources/org/apache/juneau/microservice/console/Messages.properties
@@ -33,3 +33,10 @@ HelpCommand.SYNOPSIS = SYNOPSIS
 HelpCommand.DESCRIPTION = DESCRIPTION
 HelpCommand.EXAMPLES = EXAMPLES
 HelpCommand.CommandNotFound = Command not found.
+ConfigCommand.info = Get or set configuration
+ConfigCommand.description = Get configuration value for given key and set (Restart required)
for given key and value 
+ConfigCommand.InvalidArguments = Invalid or missing arguments for config command
+ConfigCommand.TooManyArguments = Too many arguments for config command
+ConfigCommand.KeyNotFound = key ''{0}'' is not found in current configuration
+ConfigCommand.ConfigSet = Configuration updated.
+ConfigCommand.ConfigRemove = key ''{0}'' was removed.


 

----------------------------------------------------------------
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