-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GEOS-11390] Replace TestWfsPost with Javascript Demo Page (#7672)
* Remove Demo Request proxy server - TestWFSPost * update WCS request page to piggy back on top of DemoRequests page * handle WPS request builder * Remove demo request, fix test cases, add new test cases * Feeback from peter and andrea * fix QA warning * Add header * feedback from andrea * update documentation with new screenshots and functionality --------- Authored-by: david.blasby <david.blasby@geocat.net> # Conflicts: # src/wfs/src/main/java/org/vfny/geoserver/wfs/servlets/TestWfsPost.java # src/wfs/src/test/java/org/vfny/geoserver/wfs/servlets/TestWfsPostTest.java
- Loading branch information
1 parent
a32031a
commit ca42f73
Showing
44 changed files
with
847 additions
and
1,093 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+103 KB
(370%)
doc/en/user/source/configuration/demos/img/demos_requests.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+103 KB
(350%)
doc/en/user/source/configuration/demos/img/demos_requests_WFS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+72.1 KB
(220%)
doc/en/user/source/configuration/demos/img/demos_requests_WMS_feature.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+77.5 KB
(230%)
doc/en/user/source/configuration/demos/img/demos_requests_WMS_map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-25.7 KB
(76%)
doc/en/user/source/configuration/demos/img/demos_requests_schema.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+72.5 KB
doc/en/user/source/configuration/demos/img/demos_requests_transaction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+85.8 KB
(640%)
doc/en/user/source/services/wcs/img/wcsrequestbuilder_100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+91.2 KB
(710%)
doc/en/user/source/services/wcs/img/wcsrequestbuilder_111.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+139 KB
(730%)
doc/en/user/source/services/wcs/img/wcsrequestbuilder_xml.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+47.4 KB
(930%)
doc/en/user/source/services/wps/images/requestbuilderblank.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+78.6 KB
(570%)
doc/en/user/source/services/wps/images/requestbuilderrequest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+30.9 KB
(350%)
doc/en/user/source/services/wps/images/requestbuilderresponse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+70.9 KB
(850%)
doc/en/user/source/services/wps/images/requestbuildertoppstates.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,68 @@ | ||
.. _wps_request_builder:WPS Request Builder===================The GeoServer WPS extension includes a request builder for testing out WPS processes through the :ref:`web_admin`. This tool can also be used to demonstrate processes, and construct your own examples.Accessing the request builder---------------------------------To access the WPS Request Builder:#. Navigate to the main :ref:`web_admin`.#. Click on the :guilabel:`Demos` link on the left side.#. Select :guilabel:`WPS Request Builder` from the list of demos... figure:: images/demospage.png :align: center *WPS request builder in the list of demos*Using the request builder-------------------------The WPS Request Builder primarily consists of a selection box listing all of the available processes, and two buttons, one to submit the WPS request, and another to display what the POST request looks like... figure:: images/requestbuilderblank.png :align: center *Blank WPS request builder form*The display changes depending on the process and input selected. JTS processes have available as inputs any of a GML/WKT-based feature collection, URL reference, or subprocess. GeoServer-specific processes have all these as options and also includes the ability to choose a GeoServer layer as input.For each process, a form will display based on the required and optional parameters associated with that process, if any... figure:: images/requestbuildertoppstates.png :align: center *WPS request builder form to determine the bounds of topp:states*To see the process as a POST request, click the :guilabel:`Generate XML from process inputs/outputs` button... figure:: images/requestbuilderrequest.png :align: center *Raw WPS POST request for the above process*To execute the process, click the :guilabel:`Execute Process` button. The response will be displayed in a window or.. figure:: images/requestbuilderresponse.png :align: center *WPS server response* | ||
.. _wps_request_builder: | ||
|
||
WPS Request Builder | ||
=================== | ||
|
||
The GeoServer WPS extension includes a request builder for testing out WPS processes through the :ref:`web_admin`. This tool can also be used to demonstrate processes, and construct your own examples. | ||
|
||
Accessing the request builder | ||
--------------------------------- | ||
|
||
To access the WPS Request Builder: | ||
|
||
#. Navigate to the main :ref:`web_admin`. | ||
|
||
#. Click on the :guilabel:`Demos` link on the left side. | ||
|
||
|
||
#. Select :guilabel:`WPS Request Builder` from the list of demos. | ||
|
||
.. figure:: images/demospage.png | ||
:align: center | ||
|
||
*WPS request builder in the list of demos* | ||
|
||
Using the request builder | ||
------------------------- | ||
|
||
The WPS Request Builder primarily consists of a selection box listing all of the available processes, and two buttons, one to submit the WPS request, and another to display what the POST request looks like. | ||
|
||
.. figure:: images/requestbuilderblank.png | ||
:align: center | ||
|
||
*Blank WPS request builder form* | ||
|
||
The display changes depending on the process and input selected. JTS processes have available as inputs any of a GML/WKT-based feature collection, URL reference, or subprocess. GeoServer-specific processes have all these as options and also includes the ability to choose a GeoServer layer as input. | ||
|
||
For each process, a form will display based on the required and optional parameters associated with that process, if any. | ||
|
||
.. figure:: images/requestbuildertoppstates.png | ||
:align: center | ||
|
||
*WPS request builder form to determine the bounds of topp:states* | ||
|
||
To see the process as a POST request, click the :guilabel:`Generate XML from process inputs/outputs` button. | ||
|
||
.. figure:: images/requestbuilderrequest.png | ||
:align: center | ||
|
||
*Raw WPS POST request for the above process* | ||
|
||
To execute the process, click the :guilabel:`Execute Process in New Page` button. The response will be displayed in the window. | ||
|
||
.. figure:: images/requestbuilderresponse.png | ||
:align: center | ||
|
||
*WPS server response (Browsers may render differently)* | ||
|
||
To see and execute the request in :ref:`demos_demorequests`, click the :guilabel:`Execute Process in Demo Requests` button. | ||
|
||
|
||
.. figure:: images/requestbuilder_demo.png | ||
:align: center | ||
|
||
*Request and Response shown in Demo Requests* | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.