Class InfinispanServiceBindingConverter
- java.lang.Object
-
- io.quarkus.infinispan.client.runtime.InfinispanServiceBindingConverter
-
- All Implemented Interfaces:
ServiceBindingConverter
public class InfinispanServiceBindingConverter extends Object implements ServiceBindingConverter
ServiceBindingConverter for Infinispan to support SBO (Service Binding Operator) in Quarkus.
Following individual properties are supported to make the connection:- uri
- hosts(host information can be provided in this property separated by : sign, e.g. localhost:11222 )
- useauth
- username
- password
The Quarkus properties set by this class are:- quarkus.infinispan-client.uri (if uri is provided)
- quarkus.infinispan-client.hosts (if hosts is provided and uri is not provided)
- quarkus.infinispan-client.use-auth (if useauth is provided and uri is not provided)
- quarkus.infinispan-client.username (if username is provided and uri is not provided)
- quarkus.infinispan-client.password (if password is provided and uri is not provided)
-
-
Field Summary
Fields Modifier and Type Field Description static StringBINDING_CONFIG_SOURCE_NAMEstatic StringINFINISPAN_CLIENT_AUTH_PASSWORDstatic StringINFINISPAN_CLIENT_AUTH_USERNAMEstatic StringINFINISPAN_CLIENT_HOSTSstatic StringINFINISPAN_CLIENT_URIstatic StringINFINISPAN_CLIENT_USE_AUTHstatic StringINFINISPAN_HOSTSstatic StringINFINISPAN_PASSWORDstatic StringINFINISPAN_URIstatic StringINFINISPAN_USE_AUTHstatic StringINFINISPAN_USERNAME
-
Constructor Summary
Constructors Constructor Description InfinispanServiceBindingConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<ServiceBindingConfigSource>convert(List<ServiceBinding> serviceBindings)
-
-
-
Field Detail
-
BINDING_CONFIG_SOURCE_NAME
public static final String BINDING_CONFIG_SOURCE_NAME
- See Also:
- Constant Field Values
-
INFINISPAN_URI
public static final String INFINISPAN_URI
- See Also:
- Constant Field Values
-
INFINISPAN_HOSTS
public static final String INFINISPAN_HOSTS
- See Also:
- Constant Field Values
-
INFINISPAN_USE_AUTH
public static final String INFINISPAN_USE_AUTH
- See Also:
- Constant Field Values
-
INFINISPAN_USERNAME
public static final String INFINISPAN_USERNAME
- See Also:
- Constant Field Values
-
INFINISPAN_PASSWORD
public static final String INFINISPAN_PASSWORD
- See Also:
- Constant Field Values
-
INFINISPAN_CLIENT_URI
public static final String INFINISPAN_CLIENT_URI
- See Also:
- Constant Field Values
-
INFINISPAN_CLIENT_HOSTS
public static final String INFINISPAN_CLIENT_HOSTS
- See Also:
- Constant Field Values
-
INFINISPAN_CLIENT_USE_AUTH
public static final String INFINISPAN_CLIENT_USE_AUTH
- See Also:
- Constant Field Values
-
INFINISPAN_CLIENT_AUTH_USERNAME
public static final String INFINISPAN_CLIENT_AUTH_USERNAME
- See Also:
- Constant Field Values
-
INFINISPAN_CLIENT_AUTH_PASSWORD
public static final String INFINISPAN_CLIENT_AUTH_PASSWORD
- See Also:
- Constant Field Values
-
-
Method Detail
-
convert
public Optional<ServiceBindingConfigSource> convert(List<ServiceBinding> serviceBindings)
- Specified by:
convertin interfaceServiceBindingConverter
-
-