Skip to content

Commit

Permalink
updated config to contain description
Browse files Browse the repository at this point in the history
  • Loading branch information
sauravcld committed Jan 18, 2021
1 parent 5218d65 commit 275f5e3
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 25 deletions.
4 changes: 2 additions & 2 deletions config-files/staging/config-staging.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"GoogleProjectID": "cc-dev-sandbox-20200619",
"SpannerDb": "test-db",
"GoogleProjectID": "Your Google Project ID",
"SpannerDb": "Your Spanner Database Name",
"QueryLimit": 5000
}
7 changes: 3 additions & 4 deletions config-files/staging/spanner-staging.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"dynamodb_adapter_table_ddl": "test-instance",
"dynamodb_adapter_config_manager": "test-instance",
"department": "test-instance",
"employee": "test-instance"
"dynamodb_adapter_table_ddl": "instance-ID of dynamodb_adapter_table_ddl table",
"dynamodb_adapter_config_manager": "instance-ID of dynamodb_adapter_config_manager table",
"tableName": "instance-ID of Table"
}
34 changes: 15 additions & 19 deletions config-files/staging/tables-staging.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
{
"employee":{
"partitionKey":"emp_id",
"sortKey": "",
"tableName":{
"partitionKey":"primary key or Partition key",
"sortKey": "sorting key of dynamoDB adapter",
"attributeTypes": {
"emp_id": "N",
"first_name":"S",
"last_name":"S",
"address":"S",
"age":"N"
"ColInt64": "N",
"ColString": "S",
"ColBytes": "B",
"ColBool": "BOOL",
"ColDate": "S",
"ColTimestamp": "S"
},
"indices": {}
},
"department":{
"partitionKey":"d_id",
"sortKey": "",
"attributeTypes": {
"d_id": "N",
"d_name":"S",
"d_specialization":"S"
},
"indices": {}
"indices": {
"indexName1": {
"sortKey": "sort key for indexName1",
"partitionKey": "partition key for indexName1"
}
}
}
}

0 comments on commit 275f5e3

Please sign in to comment.