feat: provide distinct server code with placement code #30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since placement codes do actually relate to the servers and not to locations (#5) I extended the current config such that you can also provide the server code from which the placement code has been issued. This can be done by providing the related server code in parentheses like the following:
The big advantage of this is, that you can now use your placement code in every location you want to use them for. So lets assume you have a code generated from server
001-iz.impfterminservice.de
and location69124 Heidelberg
but you want to use this code for the location69123 Heidelberg
which actually works with server002-iz.impfterminservice.de
. In order to do that you simply need to provide the code(001)
in parentheses behind the placement code:69123 Heidelberg[XXXX-XXXX-XXXX](001)
. With this config the impf-bot will directly go to the correct server and enter the corresponding placement code accordingly.Regards Timo