OSGI-INF.blueprint.vmpools-command.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:ext="http://geronimo.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"> <ext:property-placeholder placeholder-prefix="$[" placeholder-suffix="]"> <ext:default-properties> <ext:property name="rhevm.base.url" value="http://localhost:8099/rhevm-api-mock"/> </ext:default-properties> </ext:property-placeholder> <command-bundle xmlns="http://felix.apache.org/karaf/xmlns/shell/v1.0.0"> <command name="vmpools/list"> <action class="com.redhat.rhevm.api.command.vmpools.VmPoolsListCommand"> <property name="client" ref="baseClient" /> <property name="verboseDisplay" ref="vmpoolVerboseDisplay" /> </action> </command> <command name="vmpools/add"> <action class="com.redhat.rhevm.api.command.vmpools.VmPoolsAddCommand"> <property name="client" ref="baseClient" /> <property name="verboseDisplay" ref="vmpoolVerboseDisplay" /> </action> </command> <command name="vmpools/remove"> <action class="com.redhat.rhevm.api.command.vmpools.VmPoolsRemoveCommand"> <property name="client" ref="baseClient" /> </action> <completers> <ref component-id="vmpoolNameCompleter" /> </completers> </command> <command name="vmpools/update"> <action class="com.redhat.rhevm.api.command.vmpools.VmPoolsUpdateCommand"> <property name="client" ref="baseClient" /> <property name="verboseDisplay" ref="vmpoolVerboseDisplay" /> </action> <completers> <ref component-id="vmpoolNameCompleter" /> </completers> </command> </command-bundle> <bean id="vmpoolNameCompleter" class="com.redhat.rhevm.api.command.vmpools.VmPoolNameCompleter"> <property name="client" ref="baseClient" /> </bean> <bean id="vmpoolVerboseDisplay" class="com.redhat.rhevm.api.command.vmpools.VmPoolVerboseDisplay"/> <bean id="baseClient" class="com.redhat.rhevm.api.command.base.BaseClient" activation="eager"> <property name="baseUrl" value="$[rhevm.base.url]"/> <property name="user" value="$[rhevm.auth.username]"/> <property name="secret" value="$[rhevm.auth.password]"/> <property name="trustStorePath" value="$[rhevm.truststore.path]"/> <property name="trustStorePassword" value="$[rhevm.truststore.password]"/> </bean> </blueprint>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy