Accelerator auto install doesn't handle hub pipelines correctly
Description
The following error is seen when an accelerator is enabled that auto installs plugins from a custom hub, and the hub contains pipeline drafts (the auto install code doesn’t handle pipeline drafts correctly; it works as expected for plugins).
2023-05-04 07:08:23,667 - WARN [installer-ccai_insights-0:i.c.c.i.c.CapabilityApplier@349] - Failed to install plugin pipeline-ccai-export for capability ccai_insights from hub https://cdfhub-europe-west2.storage.googleapis.com/ccai-hub. Ignoring error
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 20 column 21 path $.actions[0].arguments[0].value
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:200)
Release Notes
None
Activity
Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.
The following error is seen when an accelerator is enabled that auto installs plugins from a custom hub, and the hub contains pipeline drafts (the auto install code doesn’t handle pipeline drafts correctly; it works as expected for plugins).
2023-05-04 07:08:23,667 - WARN [installer-ccai_insights-0:i.c.c.i.c.CapabilityApplier@349] - Failed to install plugin pipeline-ccai-export for capability ccai_insights from hub https://cdfhub-europe-west2.storage.googleapis.com/ccai-hub. Ignoring error com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 20 column 21 path $.actions[0].arguments[0].value at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:200)