BAEL-3777: Working version
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
CREATE KEYSPACE IF NOT exists order_database
|
||||
WITH replication = {'class':'SimpleStrategy', 'replication_factor':1};
|
||||
|
||||
CREATE TYPE order_database.orderitementity (productid uuid, price decimal);
|
||||
|
||||
CREATE TABLE order_database.orderentity(
|
||||
id uuid,
|
||||
status text,
|
||||
orderitementities list<frozen<orderitementity>>,
|
||||
price decimal,
|
||||
primary key(id)
|
||||
);
|
||||
@@ -0,0 +1,12 @@
|
||||
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration
|
||||
spring.data.mongodb.host=127.0.0.1
|
||||
spring.data.mongodb.port=27017
|
||||
spring.data.mongodb.database=order-database
|
||||
spring.data.mongodb.username=order
|
||||
spring.data.mongodb.password=order
|
||||
|
||||
spring.data.cassandra.keyspaceName=order_database
|
||||
spring.data.cassandra.username=cassandra
|
||||
spring.data.cassandra.password=cassandra
|
||||
spring.data.cassandra.contactPoints=127.0.0.1
|
||||
spring.data.cassandra.port=9042
|
||||
Reference in New Issue
Block a user