Added new class CLIClientCommand to Starcounter.CLI. This abstract class contains basic functionality for every command in any CLI tool that access admin server resources over REST and provides a status console to such commands.
Made Starcounter.CLI ApplicationCLICommand class derive new CLIClientCommand and adapted relating classes to this redesign.
Moved all the functionality possible from ApplicationCLICommand to baseclass CLIClientCommand to be able to utilize it in other type of commands, not directing applications.
Added new stub-class StopCodeHostCommand in staradmin. This class will eventually support stopping of code hosts.
Accessing PB files from output. Fixes #2245.
Merge branch 'develop' of github.com:Starcounter/Starcounter into PBsource
Extended the DatabaseEngine service of the admin server library with a set of methods that can be used to handle code host restarts, normally used to get back the code host to the state before a crash.
Adapted the StartExecutableCommandProcessor in the admin server library to request code host restarts when the code host terminates during starting of an application.
Redesigned the way the admin server library maintain state of a database whose code host terminate and need to be restarted.
Changed internal class for reading json to public.
Finalized how the server database engine class manage possible exceptional scenarios when trying to restart a code host + apps.
Merge branch 'issue/2069' into develop. The merged branch solves #2069 and makes sure the code host + running applications are always restarted when a fellow application fail to start.
Changed the ServerServiceProcess class waiting algorithm, now assured to always wait for the server to publish the event and have the client wait for the specified time (currently 60 seconds).
Added new error code "ScErrServerNotSignaling", indicating the server takes longer than normal to start.
Changed ServerServiceProcess method that await the server to become operational to use new code ScErrServerNotSignaling when the server don't signal in time.
Merge branch 'issue/2175' into develop. Resolve #2175 by assuring client applications (like star.exe) always wait for the configured amout of time (currently, 60 seconds) and issue a better error if the server still time out.
Merge branch 'develop' into issue/2126
Introduce new StopDatabaseCommand class in Starcounter.CLI. This class will support stopping of databases and code hosts.
Implemented first version of new StopDatabaseCommand in Starcounter.CLI. We currently support stopping the code host only.
Implemented new staradmin StopCodeHostCommand to utilize the StopDatabaseCommand in Starcounter.CLI, specifying that the code host should be stopped.