From 1c09447a7fd5ac8066dda62f9ef8a93071a1cae9 Mon Sep 17 00:00:00 2001 From: Kaveh Shahedi Date: Fri, 22 Nov 2024 12:58:33 -0500 Subject: [PATCH] server: Update the trace server version to 0.3.0 The version is now updated to 0.3.0 from 0.2.0. Most of the changes are related to managing experiments' bookmarks. Also, the bookmarks tag (BKM) is added to TraceServerOpenApiResource class. [Changed] Trace server version is changed to 0.3.0 Signed-off-by: Kaveh Shahedi --- .../server/jersey/rest/core/services/EndpointConstants.java | 2 +- .../jersey/rest/core/services/TraceServerOpenApiResource.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/services/EndpointConstants.java b/trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/services/EndpointConstants.java index c0456b9a5..b56ab6eeb 100644 --- a/trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/services/EndpointConstants.java +++ b/trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/services/EndpointConstants.java @@ -84,7 +84,7 @@ public final class EndpointConstants { static final String LICENSE = "Apache 2"; //$NON-NLS-1$ static final String LICENSE_URL = "http://www.apache.org/licenses/"; //$NON-NLS-1$ /** The TSP version */ - public static final String VERSION = "0.2.0"; //$NON-NLS-1$ + public static final String VERSION = "0.3.0"; //$NON-NLS-1$ static final String SERVER = "https://localhost:8080/tsp/api"; //$NON-NLS-1$ /** diff --git a/trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/services/TraceServerOpenApiResource.java b/trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/services/TraceServerOpenApiResource.java index e01bada96..2b27b5248 100644 --- a/trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/services/TraceServerOpenApiResource.java +++ b/trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/services/TraceServerOpenApiResource.java @@ -12,6 +12,7 @@ package org.eclipse.tracecompass.incubator.internal.trace.server.jersey.rest.core.services; import static org.eclipse.tracecompass.incubator.internal.trace.server.jersey.rest.core.services.EndpointConstants.ANN; +import static org.eclipse.tracecompass.incubator.internal.trace.server.jersey.rest.core.services.EndpointConstants.BKM; import static org.eclipse.tracecompass.incubator.internal.trace.server.jersey.rest.core.services.EndpointConstants.CFG; import static org.eclipse.tracecompass.incubator.internal.trace.server.jersey.rest.core.services.EndpointConstants.DESC; import static org.eclipse.tracecompass.incubator.internal.trace.server.jersey.rest.core.services.EndpointConstants.DIA; @@ -48,6 +49,7 @@ @Server(url = SERVER) }, tags = { @Tag(name = ANN, description = "Retrieve annotations for different outputs."), + @Tag(name = BKM, description = "Bookmark areas of interest in the experiment."), @Tag(name = CFG, description = "Manage configuration source types and configurations."), @Tag(name = DIA, description = "Retrieve the server's status."), @Tag(name = DT, description = "Query data tree models (e.g. for statistics)."),