diff options
author | 2018-07-31 18:25:39 +0100 | |
---|---|---|
committer | 2018-07-31 18:27:31 +0100 | |
commit | af74a6270d6ab6badf04a97495a6ef8ccded9b4b (patch) | |
tree | 2c7a536e54207a0870ca2008ce457a64de917ab9 /src/site-docs/adoc/fragments/howto-apex/eng-monitoring.adoc | |
parent | 9e318f20f2e64970bf3c2e3a5532c516231a6f8a (diff) |
Adding first set of apex-pdp document changes
Adding document changes for auth, context, core, model, services & the
main apex-pdp module.
Change-Id: Id0d026baa258f1dc6998978f9911f3c4a73b5b3b
Issue-ID: POLICY-867
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Diffstat (limited to 'src/site-docs/adoc/fragments/howto-apex/eng-monitoring.adoc')
-rw-r--r-- | src/site-docs/adoc/fragments/howto-apex/eng-monitoring.adoc | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/site-docs/adoc/fragments/howto-apex/eng-monitoring.adoc b/src/site-docs/adoc/fragments/howto-apex/eng-monitoring.adoc new file mode 100644 index 000000000..960546d06 --- /dev/null +++ b/src/site-docs/adoc/fragments/howto-apex/eng-monitoring.adoc @@ -0,0 +1,50 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +== The APEX Monitoring Client +The standard way to use the APEX Monitoring Client is via an installation of the __war__ file on a webserver. +However, the Monitoring Client can also be started via command line. +This will start a Grizzly webserver with the __war__ deployed. +Access to the Monitoring Client is then via the provided URL + +On UNIX and Cygwin systems use: + +- `apexApps.sh eng-monitoring` - simply starts the webserver with the Monitoring Client + +On Windows systems use: + +- `apexApps.bat eng-monitoring` - simply starts the webserver with the Monitoring Client + + +The option `-h` provides a help screen with all command line arguments. + +[source%nowrap,sh] +---- +usage: org.onap.policy.apex.services.client.monitoring.rest.ApexMonitoringRestMain [options...] +-h,--help outputs the usage of this command +-p,--port <PORT> port to use for the Apex Services REST calls +-t,--time-to-live <TIME_TO_LIVE> the amount of time in seconds that the server will run for before terminating +---- + +If the Monitoring Client is started without any arguments the final messages will look similar to this: + +[source%nowrap,sh] +---- +INFO: [HttpServer] Started. +Apex Services REST endpoint (ApexMonitoringRestMain: Config=[ApexMonitoringRestParameters: URI=http://localhost:18989/apexservices/, TTL=-1sec], State=RUNNING) started at http://localhost:18989/apexservices/ +---- + +The last line states the URL on which the Monitoring Client can be accessed. +The example above stated `http://localhost:18989/apexservices`. +In a web browser use the URL `http://localhost:18989`. + |