Where do I put an SLA so the InvocationEngine can find it?
Up to Table of ContentsThis FAQ applies to: 5.3
The DefaultInvocationEngine has a search path of Registry objects. These can be accessed using
http://archive.gria.org/javadocs/5.3/uk/ac/soton/itinnovation/grid/client/engine/impl/DefaultInvocationEngine.html#getSelectedRegistries()
Ensure this list includes a registry with the SLA. The registry can be local or remote and must implement the SimpleRegistry interface
http://archive.gria.org/javadocs/5.3/uk/ac/soton/itinnovation/grid/service/types/SimpleRegistry.html
Examples
Local http://archive.gria.org/javadocs/5.3/uk/ac/soton/itinnovation/grid/client/engine/impl/PersistentRegistry.html
Also ensure that you have set a DefaultFederationSelector object on the InvocationEngine.
http://archive.gria.org/javadocs/5.3/uk/ac/soton/itinnovation/grid/client/engine/impl/DefaultFederationSelector.html
There is a helper class for building registry search paths.
http://archive.gria.org/javadocs/5.3/uk/ac/soton/itinnovation/grid/client/helpers/RegistrySearchPathBuilder.html
The default Groovy environment has this all configured for you.
