diff options
author | liamfallon <liam.fallon@est.tech> | 2020-10-16 13:09:11 +0100 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2020-10-16 13:09:16 +0100 |
commit | 0cf967c0239a8ab9c8b8831b700b72d9a08f7b03 (patch) | |
tree | a4fbcd97008769d55ac443bc22abf517308bf6a7 /src/site-docs/adoc/fragments/howto-apex/rest-editor.adoc | |
parent | 9833876720ff14517ee78bda557e6021df723800 (diff) |
Remove apex asciidoc documents
Apex documentation has now all been ported to use the ONAP recommended
rst format. This review removes the old asciidoc documents.
Issue-ID: POLICY-2824
Change-Id: I562bd344cb7d6ff36e7d54bdb8f95e3b656468f8
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'src/site-docs/adoc/fragments/howto-apex/rest-editor.adoc')
-rw-r--r-- | src/site-docs/adoc/fragments/howto-apex/rest-editor.adoc | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/src/site-docs/adoc/fragments/howto-apex/rest-editor.adoc b/src/site-docs/adoc/fragments/howto-apex/rest-editor.adoc deleted file mode 100644 index fafa65691..000000000 --- a/src/site-docs/adoc/fragments/howto-apex/rest-editor.adoc +++ /dev/null @@ -1,78 +0,0 @@ -// -// ============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 REST Editor -The standard way to use the APEX REST Editor is via an installation of the __war__ file on a webserver. -However, the REST editor can also be started via command line. -This will start a Grizzly webserver with the __war__ deployed. -Access to the REST Editor is then via the provided URL - -On UNIX and Cygwin systems use: - -- `apexRESTEditor.sh` - simply starts the webserver with the REST editor -- `apexApps.sh rest-editor` - simply starts the webserver with the REST editor - -On Windows systems use: - -- `apexRESTEditor.bat` - simply starts the webserver with the REST editor -- `apexApps.bat rest-editor` - simply starts the webserver with the REST editor - - -Summary of alternatives to start the APEX REST Editor: - -[width="100%",options="header",cols="5a,5a"] -|==================== -| Unix, Cygwin | Windows -| -[source%nowrap,sh] ----- -# $APEX_HOME/bin/apexRESTEditor.sh.sh [args] -# $APEX_HOME/bin/apexApps.sh rest-editor [args] ----- -| -[source%nowrap,bat] ----- -> %APEX_HOME%\bin\apexRESTEditor.bat [args] -> %APEX_HOME%\bin\apexApps.bat rest-editor [args] ----- -|==================== - -The option `-h` provides a help screen with all command line arguments. - -[source%nowrap,sh] ----- -usage: org.onap.policy.apex.client.editor.rest.ApexEditorMain [options...] --h,--help outputs the usage of this command --l,--listen <ADDRESS> the IP address to listen on. Default value is localhost to restrict access to the - local machine only. --p,--port <PORT> port to use for the Apex RESTful editor REST calls. --t,--time-to-live <TIME_TO_LIVE> the amount of time in seconds that the server will run for before terminating. Default - value is -1 to run indefinitely. ----- - -If the REST Editor is started without any arguments the final messages will look similar to this: - -[source%nowrap,sh] ----- -Apex Editor REST endpoint (ApexEditorMain: Config=[ApexEditorParameters: URI=http://localhost:18989/apexservices/, TTL=-1sec], State=READY) starting at http://localhost:18989/apexservices/ . . . -Sep 05, 2018 11:24:30 PM org.glassfish.grizzly.http.server.NetworkListener start -INFO: Started listener bound to [localhost:18989] -Sep 05, 2018 11:24:30 PM org.glassfish.grizzly.http.server.HttpServer start -INFO: [HttpServer] Started. -Apex Editor REST endpoint (ApexEditorMain: Config=[ApexEditorParameters: URI=http://localhost:18989/apexservices/, TTL=-1sec], State=RUNNING) started at http://localhost:18989/apexservices/ ----- - -The last line states the URL on which the REST Editor can be accessed. -The example above stated `http://0.0.0.0:18989/apex/`. -In a web browser use the URL `http://localhost:18989` and the REST Editor will start. - |