There is a lot of boilerplate in the skeleton. This is mostly to help with sending/receiving/validating the various configs(cluster config, agent config etc). Most of that should (hopefully) be self explanatory.
You might want to start with this class ( https://github.com/gocd-contrib/elastic-agent-skeleton-plugin/blob/master/src/main/java/com/example/elasticagent/ExampleAgentInstances.java). This class contains all the code that deals with creating/terminating and state maintainance of agents and mapping any cloud specific resources to gocd angents. This On Tue, 9 May, 2023, 01:38 Joel Strasser (joestr), <[email protected]> wrote: > Hi there! > > I'm a little bit confused on how to migrate the Azure plugin to the new > Elastic Agent API. > > In the sekeleton plugin it is mentioned, that I should use > ClusterProfile.java for custom cluster properties. > > But I checked the Docker plugin and the ECS plugin and the files there > were unused. > > I noticed that the PluginSettings.java is filled with the porperties? > > What am I missing here? > > Greetings, > Joel > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/go-cd/947c80a9-6afa-41f3-8685-4f8bd4a58a1an%40googlegroups.com > <https://groups.google.com/d/msgid/go-cd/947c80a9-6afa-41f3-8685-4f8bd4a58a1an%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CAMUPJd7nXAaV7%3DVCJ84OyAO529zChRFkW6Lb3y61hQ8VKQ4wxQ%40mail.gmail.com.
