diff --git a/RELEASE_NOTE.md b/RELEASE_NOTE.md index aef35d7..ababdf0 100644 --- a/RELEASE_NOTE.md +++ b/RELEASE_NOTE.md @@ -27,4 +27,9 @@ first deploy ====== - changed kinesis_message(byte struct) to string(json) - added 'aws' directory -- added s3.rs \ No newline at end of file +- added s3.rs + +0.1.7 +====== +- added s3 bucket constant +- fix some constant name(underline -> dash) \ No newline at end of file diff --git a/src/constants.rs b/src/constants.rs index 1a86e3a..d6d8f26 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -13,13 +13,16 @@ pub const RABBITMQ_ORCHESTRATION_EXCHANGE_KEY: &str = "/flower/device/orchestrat pub const RABBITMQ_ORCHESTRATION_QUEUE_KEY: &str = "/flower/device/orchestration/rabbitmq/queue"; pub const KINESIS_PERSISTENCE_NAME_KEY: &str = "/flower/device/persistence/kinesis/name"; -pub const KINESIS_PERSISTENCE_PARTITION_KEY: &str = "/flower/device/persistence/kinesis/partition_key"; +pub const KINESIS_PERSISTENCE_PARTITION_KEY: &str = "/flower/device/persistence/kinesis/partition-key"; pub const KINESIS_PERSISTENCE_ARN_KEY: &str = "/flower/device/persistence/kinesis/arn"; pub const KINESIS_FAILOVER_NAME_KEY: &str = "/flower/device/failover/kinesis/name"; -pub const KINESIS_FAILOVER_PARTITION_KEY: &str = "/flower/device/failover/kinesis/partition_key"; +pub const KINESIS_FAILOVER_PARTITION_KEY: &str = "/flower/device/failover/kinesis/partition-key"; pub const KINESIS_FAILOVER_ARN_KEY: &str = "/flower/device/failover/kinesis/arn"; +pub const S3_BUCKET: &str = "/flower/device/common/s3/bucket"; +pub const S3_PATH: &str = "/flower/device/common/s3/path"; + pub const DB_HOST_KEY: &str = "/flower/device/common/db/host"; pub const DB_PORT_KEY: &str = "/flower/device/common/db/port"; pub const DB_USER_KEY: &str = "/flower/device/common/db/user";