Skip to content

Document result inconsistencies for getServicesMap#92

Merged
sherold merged 1 commit intoinstana:masterfrom
okoethibm:master
Dec 7, 2023
Merged

Document result inconsistencies for getServicesMap#92
sherold merged 1 commit intoinstana:masterfrom
okoethibm:master

Conversation

@okoethibm
Copy link
Contributor

Customer reported unsupported result fields in the spec.
Can't fix the OpenAPI spec without affecting generated clients in a possibly breaking way, so just documenting the deficiencies.


## Result fields:

- The `snapshotIds` field for result services is not used and always an empty list.
Copy link

Choose a reason for hiding this comment

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

Suggested change
- The `snapshotIds` field for result services is not used and always an empty list.
- The `snapshotIds` field for result services is unsupported and always empty.

@@ -0,0 +1,7 @@
This endpoint retrieves services and connections (call paths) between them for calls in the scope given by the parameters.

## Result fields:
Copy link

Choose a reason for hiding this comment

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

What do you think of changing the header to Erratum?

## Result fields:

- The `snapshotIds` field for result services is not used and always an empty list.
- The `applications`, `maxSeverity` and `numberOfOpenIssues` fields for result services are not currently used and not present in the result JSON
Copy link

Choose a reason for hiding this comment

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

Suggested change
- The `applications`, `maxSeverity` and `numberOfOpenIssues` fields for result services are not currently used and not present in the result JSON
- The `applications`, `maxSeverity` and `numberOfOpenIssues` fields for result services are unsupported and always missing.


- The `snapshotIds` field for result services is not used and always an empty list.
- The `applications`, `maxSeverity` and `numberOfOpenIssues` fields for result services are not currently used and not present in the result JSON
- The `applications` field for result services is not currently used and not present in the result JSON, even though it is declared as required in the result schema.
Copy link

Choose a reason for hiding this comment

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

This field is already covered in the previous bullet point.

@okoethibm
Copy link
Contributor Author

@sherold thanks, updated


## Errata:

- The `snapshotIds` field for result services is unsupported and always empty.

Choose a reason for hiding this comment

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

suggestion: As they all target the result services, we can have something like

In the result services

  • the ...,
  • the ... and
  • ...

Choose a reason for hiding this comment

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

I would also prefer to have them ordered by their appearance in the OpenAPI result.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

Copy link

@timoinstana timoinstana left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@sherold sherold left a comment

Choose a reason for hiding this comment

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

LGTM

@sherold sherold merged commit 43a8c87 into instana:master Dec 7, 2023
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.

3 participants