Skip to content

Conversation

@bhufmann
Copy link
Contributor

In the OutputConfigurationQueryParameter the configuration source type id was called typeId and it creates a Configuration object where the same field is called sourceTypeId for the same field. When serializing the Configuration in the derived DataProviderDescriptor over TSP the field is called sourceTypeId and this is not consistent. The returned Configuration should have the exact field names that are used when creating the data provider and the respective configuration.

The Configuration is already API while OutputConfigurationQueryParameter is not, and it's better to change the name there.

Signed-off-by: Bernd Hufmann [email protected]

* Map of parameters
*/
public OutputConfigurationQueryParameters(String name, String description, String typeId, Map<String, Object> parameters) {
public OutputConfigurationQueryParameters(String name, String description, String souruceTypeId, Map<String, Object> parameters) {
Copy link
Contributor

Choose a reason for hiding this comment

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

sourceTypeId

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

In the OutputConfigurationQueryParameter the configuration source type
id was called typeId and it creates a Configuration object where the
same field is called sourceTypeId for the same field. When serializing
the Configuration in the derived DataProviderDescriptor over TSP the
field is called sourceTypeId and this is not consistent. The returned
Configuration should have the exact field names that are used when
creating the data provider and the respective configuration.

The Configuration is already API while OutputConfigurationQueryParameter
is not, and it's better to change the name there.

Signed-off-by: Bernd Hufmann <[email protected]>
@bhufmann bhufmann merged commit 8a218dd into eclipse-tracecompass-incubator:2021-06 Nov 11, 2024
@bhufmann bhufmann deleted the cherry-picks branch November 11, 2024 14:59
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.

2 participants