Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for multiple OKAPI installations #28

Open
FriedrichFroebel opened this issue Jun 10, 2020 · 0 comments
Open

Add support for multiple OKAPI installations #28

FriedrichFroebel opened this issue Jun 10, 2020 · 0 comments

Comments

@FriedrichFroebel
Copy link
Owner

We may want to support multiple OKAPI installations. In the best case they should be switchable during runtime without having to settle with one specific installation. At first this should make it easier to test some features which involve modifications (like submitting logs) by using a public/private test installation, but could be helpful for other cases as well.

For this we have to evaluate the shadow list API (or its planned successor) as well as it only supports the German OC site for now.

There is a PR for this on the original project (RoffelKartoffel#24), but this probably needs some modifications to satisfy our requirements.

FriedrichFroebel added a commit that referenced this issue Jun 20, 2020
This is the first step of the refactoring which allows switching between the
German site and a test server during runtime. The configuration values and
methods have been adapted to not rely on a static value anymore, but to call
dedicated methods instead which return the value corresponding to the selected
Opencaching server.

As all the changes are mostly intended for testing the application itself,
especially when it comes to actual write operations (submitting logs), the
new functionality is not availabe from within the GUI. We may want to decide
whether including support for the other (real) OKAPI installations makes sense
and how this can be handled later on.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant