mirror of
https://github.com/outbackdingo/xmidt.git
synced 2026-08-25 07:20:12 +00:00
Merge branch 'xmidt-org:master' into master
This commit is contained in:
@@ -170,4 +170,4 @@ Date: Mon, 10 Jun 2019 06:45:04 GMT
|
|||||||
Content-Length: 163
|
Content-Length: 163
|
||||||
|
|
||||||
{"parameters":[{"name":"Device.DeviceInfo.X_CISCO_COM_BootloaderVersion","value":"4.2.0.45","dataType":0,"parameterCount":1,"message":"Success"}],"statusCode":200}
|
{"parameters":[{"name":"Device.DeviceInfo.X_CISCO_COM_BootloaderVersion","value":"4.2.0.45","dataType":0,"parameterCount":1,"message":"Success"}],"statusCode":200}
|
||||||
```
|
```
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
{
|
||||||
|
"AttributeDefinitions": [
|
||||||
|
{
|
||||||
|
"AttributeName": "bucket",
|
||||||
|
"AttributeType": "S"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"AttributeName": "id",
|
||||||
|
"AttributeType": "S"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"AttributeName": "expires",
|
||||||
|
"AttributeType": "N"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"TableName": "gifnoc",
|
||||||
|
"KeySchema": [
|
||||||
|
{
|
||||||
|
"AttributeName": "bucket",
|
||||||
|
"KeyType": "HASH"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"AttributeName": "id",
|
||||||
|
"KeyType": "RANGE"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"GlobalSecondaryIndexes": [
|
||||||
|
{
|
||||||
|
"IndexName": "Expires-index",
|
||||||
|
"KeySchema": [
|
||||||
|
{
|
||||||
|
"AttributeName": "bucket",
|
||||||
|
"KeyType": "HASH"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"AttributeName": "expires",
|
||||||
|
"KeyType": "RANGE"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"Projection": {
|
||||||
|
"ProjectionType": "ALL"
|
||||||
|
},
|
||||||
|
"ProvisionedThroughput": {
|
||||||
|
"ReadCapacityUnits": 5,
|
||||||
|
"WriteCapacityUnits": 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"BillingMode": "PAY_PER_REQUEST",
|
||||||
|
"TableClass": "STANDARD"
|
||||||
|
}
|
||||||
@@ -7,6 +7,9 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- dynamodb
|
- dynamodb
|
||||||
environment:
|
environment:
|
||||||
|
- "AWS_ACCESS_KEY_ID=accessKey"
|
||||||
|
- "AWS_SECRET_ACCESS_KEY=secretKey"
|
||||||
|
- "AWS_REGION=local"
|
||||||
- "AWS_ENDPOINT=http://dynamodb:4566"
|
- "AWS_ENDPOINT=http://dynamodb:4566"
|
||||||
- "TRACING_PROVIDER_NAME=zipkin"
|
- "TRACING_PROVIDER_NAME=zipkin"
|
||||||
- "TRACING_PROVIDER_ENDPOINT=http://zipkin:9411/api/v2/spans"
|
- "TRACING_PROVIDER_ENDPOINT=http://zipkin:9411/api/v2/spans"
|
||||||
@@ -214,15 +217,9 @@ services:
|
|||||||
AWS_ACCESS_KEY_ID: accessKey
|
AWS_ACCESS_KEY_ID: accessKey
|
||||||
AWS_SECRET_ACCESS_KEY: secretKey
|
AWS_SECRET_ACCESS_KEY: secretKey
|
||||||
AWS_REGION: local
|
AWS_REGION: local
|
||||||
command: "dynamodb --endpoint-url http://dynamodb:4566 create-table \
|
command: "dynamodb --endpoint-url http://dynamodb:4566 create-table --cli-input-json file:///etc/argus-db.json"
|
||||||
--table-name gifnoc \
|
volumes:
|
||||||
--attribute-definitions \
|
- "./docFiles/argus-db.json:/etc/argus-db.json"
|
||||||
AttributeName=bucket,AttributeType=S \
|
|
||||||
AttributeName=expires,AttributeType=N \
|
|
||||||
AttributeName=id,AttributeType=S \
|
|
||||||
--key-schema \
|
|
||||||
AttributeName=bucket,KeyType=HASH \
|
|
||||||
AttributeName=id,KeyType=RANGE"
|
|
||||||
zipkin:
|
zipkin:
|
||||||
image: openzipkin/zipkin
|
image: openzipkin/zipkin
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user