Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Is it possible to configure a default WPS? #7

Open
EHJ-52n opened this issue Nov 18, 2016 · 3 comments
Open

Is it possible to configure a default WPS? #7

EHJ-52n opened this issue Nov 18, 2016 · 3 comments
Assignees
Labels

Comments

@EHJ-52n
Copy link
Member

EHJ-52n commented Nov 18, 2016

I would like to configure one WPS instance by default.

How can I achieve this?

@EHJ-52n EHJ-52n assigned EHJ-52n and cDanowski and unassigned EHJ-52n Nov 18, 2016
@EHJ-52n EHJ-52n changed the title Is is possible to configure a default WPS? Is it possible to configure a default WPS? Nov 18, 2016
@cDanowski
Copy link
Contributor

Currently, no such feature exists. However we might think about implementing it!
I'll leave this open and post an update, if it will be available.

@EHJ-52n
Copy link
Member Author

EHJ-52n commented Nov 22, 2016

But how did you configure the WPS instances in http://geoprocessing.demo.52north.org:8080/wps-js-client/ ?

@EHJ-52n
Copy link
Member Author

EHJ-52n commented Nov 22, 2016

A potential solution during my container build is the following:

    sed -i "s/\"http:\/\/geoprocessing.demo.52north.org:8080\/wps\/WebProcessingService\",\"http:\/\/geostatistics.demo.52north.org\/wps\/WebProcessingService\"/\"http:\/\/WPS-HOST:WPS-PORT\/WPS-CONTEXTWebProcessingService\"/g" dist/wps-js-client-all.min.js && \
    sed -i "s/WPS-HOST/${wpsHost}/g" dist/wps-js-client-all.min.js && \
    sed -i "s/WPS-PORT/${wpsPort}/g" dist/wps-js-client-all.min.js && \
    sed -i "s/WPS-CONTEXT/${wpsContext}/g" dist/wps-js-client-all.min.js && \

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants