You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-2Lines changed: 20 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,11 @@ Your plugin needs to extend PrivilegedSpringPlugin and implement registerBeanDef
18
18
19
19
We will probably need was way for registerBeanDefinitions(BeanDefinitionRegistry) to conditionally load beans based on the service that it is used in. I didn't see a good way to do that. It would be possible to cast BeanDefinitionRegistry to DefaultListableBeanFactory and look at the serializationId, but that relies on some implementation details.
20
20
21
-
Build with `./gradlew build` and copy that zip under `/build` into the plugins location of your service (by default the `/plugins` directory under your service root.
21
+
<h2>Usage</h2>
22
22
23
-
The following should be added to your service yml config.
23
+
1) Run `./gradlew assemblePlugin`
24
+
2) Put the `/build/distributions/Armory.SpringExtensionPlugin-X.X.X.zip` in the configured plugins location for Orca.
25
+
3) Configure Orca. Put the following in orca.yml.
24
26
```
25
27
spinnaker:
26
28
extensibility:
@@ -32,3 +34,19 @@ newproperties:
32
34
test: 'test1'
33
35
```
34
36
37
+
To debug the plugin inside Orca using IntelliJ Idea follow these steps:
38
+
39
+
1) Create a `springPluginExample.plugin-ref` file under `orca\plugins\` that looks like this with the correct path to the plugin project.
0 commit comments