-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add custom analysis related APIs #119
Conversation
Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
@@ -0,0 +1,25 @@ | |||
{ | |||
"parentId": "org.eclipse.tracecompass.incubator.inandout.core.analysis.inAndOutdataProviderFactory", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it be (D)ata?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -105,4 +105,50 @@ describe('Query helper tests', () => { | |||
|
|||
expect(test).toEqual(array); | |||
}); | |||
|
|||
it('Should create a configutation query', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
configuration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
expect(test).toEqual(query); | ||
}); | ||
|
||
it('Should create a output configutation query', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
configuration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
/** | ||
* Constructor | ||
* @param name Name of the configuration | ||
* @param parameters Object use to send parameters to the server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
* @param name Name of the configuration | ||
* @param description Optional description of the configuraiton | ||
* @param typeId The ID of the configuration source type | ||
* @param parameters Object use to send parameters to the server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
||
const response = await client.createDerivedOutput( | ||
'd280b5ab-b0ff-38cf-b3e1-d33a0d56d1a3', | ||
'org.eclipse.tracecompass.incubator.inandout.core.analysis.inAndOutdataProviderFactory', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(D)ata?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
bc0da2c
to
f5f97fa
Compare
- Add ConfigurationQuery and OutputConfigurationQuery - Add utility methods in query-helper.ts to create such query instances - Add configuration service per output (data provider) This addition enables clients to create derived data providers from an existing data provider. - Add unit tests Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
f5f97fa
to
f6260fa
Compare
This addition enables clients to create derived data providers from
an existing data provider.
Signed-off-by: Bernd Hufmann bernd.hufmann@ericsson.com