Skip to content

Commit

Permalink
server: Adapt to moving the _KEYs in Trace Compass
Browse files Browse the repository at this point in the history
This change depends on [1] which moves TABLE_SEARCH_DIRECTION_KEY and
TABLE_SEARCH_EXPRESSION_KEY from TmfEventTableDataProvider to
AbstractTmfTableDataProvider. Adapt EndpointConstants here after this.

[1]https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/195850

Change-Id: Ifa997498d0b17027f6269ca3b9e698ee21c3ee1e
Signed-off-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/195851
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
  • Loading branch information
marco-miller authored and bhufmann committed Sep 22, 2022
1 parent 5ee2b85 commit c04a18e
Showing 1 changed file with 4 additions and 3 deletions.
Expand Up @@ -46,14 +46,15 @@ public final class EndpointConstants {

/** Query parameter key for requested time range */
private static final String REQUESTED_TIMERANGE_KEY = "requested_timerange"; //$NON-NLS-1$

/**
* Swagger constants redefined out of TmfEventTableDataProvider non-API
* Swagger constants redefined out of AbstractTmfTableDataProvider non-API
* restriction. This is unlike constants in DataProviderParameterUtils.
*/
@SuppressWarnings("restriction")
private static final String TABLE_SEARCH_DIRECTION_KEY = org.eclipse.tracecompass.internal.provisional.tmf.core.model.events.TmfEventTableDataProvider.TABLE_SEARCH_DIRECTION_KEY;
private static final String TABLE_SEARCH_DIRECTION_KEY = org.eclipse.tracecompass.internal.tmf.core.model.AbstractTmfTableDataProvider.TABLE_SEARCH_DIRECTION_KEY;
@SuppressWarnings("restriction")
private static final String TABLE_SEARCH_EXPRESSION_KEY = org.eclipse.tracecompass.internal.provisional.tmf.core.model.events.TmfEventTableDataProvider.TABLE_SEARCH_EXPRESSION_KEY;
private static final String TABLE_SEARCH_EXPRESSION_KEY = org.eclipse.tracecompass.internal.tmf.core.model.AbstractTmfTableDataProvider.TABLE_SEARCH_EXPRESSION_KEY;

/**
* Swagger OpenAPI definitions used in the related annotations from
Expand Down

0 comments on commit c04a18e

Please sign in to comment.