Skip to content

Commit

Permalink
Remove reference to old 1.0 API version
Browse files Browse the repository at this point in the history
This was introduced a very long time ago, and no longer needed.
  • Loading branch information
chadlwilson committed Jul 16, 2023
1 parent 3513573 commit 6ff1eac
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/main/java/cd/go/artifact/docker/registry/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,19 @@

import com.thoughtworks.go.plugin.api.GoPluginIdentifier;

import static java.util.Arrays.asList;
import java.util.List;

public interface Constants {
// The type of this extension
String EXTENSION_TYPE = "artifact";

// The extension point API version that this plugin understands
String OLDER_EXTENSION_API_VERSION = "1.0";
String EXTENSION_API_VERSION = "2.0";
String CONSOLE_LOG_PROCESSOR_API_VERSION = "1.0";

// the identifier of this plugin
GoPluginIdentifier PLUGIN_IDENTIFIER = new GoPluginIdentifier(EXTENSION_TYPE, asList(OLDER_EXTENSION_API_VERSION, EXTENSION_API_VERSION));
GoPluginIdentifier PLUGIN_IDENTIFIER = new GoPluginIdentifier(EXTENSION_TYPE, List.of(EXTENSION_API_VERSION));

// requests that the plugin makes to the server
String REQUEST_SERVER_PREFIX = "go.processor";
String REQUEST_SERVER_GET_PLUGIN_SETTINGS = REQUEST_SERVER_PREFIX + ".plugin-settings.get";
String SEND_CONSOLE_LOG = "go.processor.artifact.console-log";
}

0 comments on commit 6ff1eac

Please sign in to comment.