rundeck / anvils-demo

A simple example showing off rundeck's basic features
150 stars 67 forks source link

PagerDutyNotificationPlugin URL is incorrect, and sample code error #28

Open shtoma opened 7 years ago

shtoma commented 7 years ago

1. PagerDutyNotificationPlugin URL is incorrect.

This is 404

correct one ( probably)

2. The above newer plugin causes errors

BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'Page
rDutyNotification': Could not determine scripted object type for GroovyScriptFactory: script source locator [file:/var/lib/rundeck/libext/PagerDutyNotification.groovy]
; nested exception is org.springframework.scripting.ScriptCompilationException: Could not compile script; nested exception is org.codehaus.groovy.control.MultipleCompi
lationErrorsException: startup failed:
PagerDutyNotification: 16: unable to resolve class retrofit2.converter.gson.GsonConverterFactory
 @ line 16, column 1.
   import retrofit2.converter.gson.GsonConverterFactory;
   ^
hhomar commented 7 years ago

Hi

I've just submitted a pull request to fix this issue #29

shtoma commented 7 years ago

It worked! Thanks for quick response and commits! I can start to play with rundeck 😄