public class CassandraZuulRouteStore extends java.lang.Object implements ZuulRouteStore
CREATE TABLE zuul_routes (
id text,
path text,
service_id text,
url text,
strip_prefix boolean,
retryable boolean,
PRIMARY KEY(path)
);
| Constructor and Description |
|---|
CassandraZuulRouteStore(org.springframework.data.cassandra.core.CassandraOperations cassandraOperations)
Creates new instance of
CassandraZuulRouteStore. |
CassandraZuulRouteStore(org.springframework.data.cassandra.core.CassandraOperations cassandraOperations,
java.lang.String keyspace,
java.lang.String table)
Creates new instance of
CassandraZuulRouteStore. |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.springframework.cloud.netflix.zuul.filters.ZuulProperties.ZuulRoute> |
findAll()
Retrieves the list of all stored Zuul routes from the persistence storage.
|
public CassandraZuulRouteStore(org.springframework.data.cassandra.core.CassandraOperations cassandraOperations)
CassandraZuulRouteStore.cassandraOperations - the cassandra templatepublic CassandraZuulRouteStore(org.springframework.data.cassandra.core.CassandraOperations cassandraOperations,
java.lang.String keyspace,
java.lang.String table)
CassandraZuulRouteStore.cassandraOperations - the cassandra templatekeyspace - the optional keyspacetable - the table namejava.lang.IllegalArgumentException - if keyspace is null
or table is null or emptypublic java.util.List<org.springframework.cloud.netflix.zuul.filters.ZuulProperties.ZuulRoute> findAll()
findAll in interface ZuulRouteStore