Skip to content
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

Upgrade to Go json api #6

Closed
manojlds opened this issue Feb 25, 2015 · 4 comments
Closed

Upgrade to Go json api #6

manojlds opened this issue Feb 25, 2015 · 4 comments

Comments

@manojlds
Copy link
Member

No description provided.

@ashwanthkumar
Copy link
Member

GoCD from 17.x will stop supporting Java based Plugin API which is what we're using for Publish plugin.

Ref - https://github.com/gocd/gocd/releases/tag/16.7.0

@gpravi
Copy link

gpravi commented Aug 29, 2016

@manojlds Can you please provide some more details on what needs to be done?

@manojlds
Copy link
Member Author

@ganeshpraburavi - https://developer.go.cd/16.4.0/writing_go_plugins/json_message_based_plugin_api.html

Java interface based plugin API's makes it difficult to support backward compatibility for plugins, any change in the contract would mean plugins using older contract no longer work. Although multiple versions of API interfaces and classes can be maintained but it gets messy after sometime. JSON message based plugin API will help address this issue. Instead of implementing set of java interfaces to write a plugin, plugin authors have to implement a very thin java interface and rest of the communication between plugin and Go will be through JSON messages.

We are on the old API, and need to move to the newer one.

@ashwanthkumar
Copy link
Member

If we're updating Publish plugin, check out - https://github.com/jmnarloch/gocd-task-plugin-api

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

No branches or pull requests

3 participants