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

Finished API implementation and Base for CLI-Tool #52

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

Mopsgeschwindigkeit
Copy link
Contributor

@Mopsgeschwindigkeit Mopsgeschwindigkeit commented May 13, 2024

Summary

This PR should be seen as a good base for further development. All Implemented features a working and are fully test (89% test coverage).

This PR introduces a complete redesign of the CLI and a complete implementation of the public API's. (more information below).

For the foreseeable future I will stop working on this project, because of:

  • Future of the public API not sure
  • Company support is very little (which is completely understandable!)
  • Currently I do not see someone using it.

API

This PR contains the complete implementation of every public API Endpoint provided via PublicAPIv2 and IntegrationAPIV2. Located in sxapi/src/<publicV2|integrationV2>

CLI

It also contains a basis for further CLI Tool implementations. Can be found under sxapi/src/cli.
There already some example Implementations for the CLI -> the animals, abort and token parser.

I did did full rebuild of the CLI design, thats why the approach is completely different from previous one.
The CLI now follows a kubectl style design, like

  • sxapi animals get --ids <id1> <id2>
  • sxapi aborts delete <animal_id> <abort_id>
  • ...

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

Successfully merging this pull request may close these issues.

1 participant