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

Sap systems and Databases openapi #528

Merged
merged 3 commits into from
May 16, 2022
Merged

Sap systems and Databases openapi #528

merged 3 commits into from
May 16, 2022

Conversation

nelsonkopliku
Copy link
Member

  • GET /api/hosts
  • GET /api/clusters
  • GET /api/sap_systems
  • GET /api/databases
  • GET /api/checks/catalog
  • POST /api/clusters/:cluster_id/checks
  • POST /api/clusters/:cluster_id/checks/request_execution
  • POST /api/runner/callback

For extra information see here
#512
#522

@nelsonkopliku nelsonkopliku changed the title Sap systems openapi Sap systems and Databases openapi May 13, 2022
Copy link
Contributor

@arbulu89 arbulu89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @nelsonkopliku ,
Nice job. I have just found some missmatches in the types, some descriptions and tiny details.

lib/trento_web/openapi/schema/database.ex Outdated Show resolved Hide resolved
features: %Schema{type: :string, description: "Instance Features"},
http_port: %Schema{type: :integer, description: "Instance HTTP Port"},
https_port: %Schema{type: :integer, description: "Instance HTTPS Port"},
start_priority: %Schema{type: :string, description: "Instance Start Priority"},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The instance priority is a number with decimals

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, we're defining it as a string in commands, events and readmodels.

I'll keep it like this and create an item in the backlog if that's ok.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally fine! We don't do anything more than displaying it, so string is even good for us

lib/trento_web/openapi/schema/database.ex Show resolved Hide resolved
lib/trento_web/openapi/schema/database.ex Outdated Show resolved Hide resolved
lib/trento_web/openapi/schema/sap_system.ex Outdated Show resolved Hide resolved
lib/trento_web/openapi/schema/sap_system.ex Show resolved Hide resolved
lib/trento_web/openapi/schema/sap_system.ex Outdated Show resolved Hide resolved
@nelsonkopliku nelsonkopliku force-pushed the sap_systems_openapi branch from 60fbbd9 to 2e90f57 Compare May 13, 2022 09:57
@nelsonkopliku nelsonkopliku requested a review from arbulu89 May 13, 2022 10:19
Copy link
Contributor

@arbulu89 arbulu89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Go!

@nelsonkopliku
Copy link
Member Author

Go!

Elixir! 😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

2 participants