Sanggeun_Kim 7371ef6141 | ||
---|---|---|
config | ||
README.md | ||
install.sh | ||
send_and_pub.py | ||
send_and_pub.service |
README.md
File Transfer Interval
You can upload file to cloud using this App. Check below config option
OS
- 20.04 LTS : ✔️
- 22.04 LTS : ✔️
- None
- None
option_list
option explain
{
"Minio_url": Object Storage URL <str>,
"AccessKey": Object Storage AccessKey <str>,
"SecretKey": Object Storage SecretKey <str>,
"Boto3SignatureVersion": "s3v4" <str>,
"Boto3RegionName":"us-east-1" <str>,
"BucketName":"gseps-test-a",
"file_save_path": folder path what you want to upload <str>,
"send_json_flag": if is true, json file will be send to amqp <bool>,
"delete_sended_file_flag": if is true, after upload, file will be deleted <bool>,
"send_interval": time interval to upload <int>,
"amqp_url": amqp url <str>,
"amqp_port": amqp port <int>,
"amqp_vhost": amqp_vhost <str>,
"amqp_id": amqp id <str>,
"amqp_pw": amqp password <str>,
"amqp_queue": queue_name in amqp <str>
}
example json
{
"amqp_url": "13.209.39.139",
"amqp_port": 30747,
"amqp_vhost": "/",
"amqp_id": "sdt",
"amqp_pw": "251327",
"amqp_queue": "gseps-mq",
"Minio_url": "http://13.209.39.139:31191",
"AccessKey":"VV2gooVNevRAIg7HrXQr",
"SecretKey":"epJmFWxwfzUUgYeyDqLa8ouitHZaWTwAvPfPNUBL",
"Boto3SignatureVersion":"s3v4",
"Boto3RegionName":"us-east-1",
"BucketName":"gseps-test-a",
"file_save_path": "/home/sdt/Workspace/gseps/capture/",
"send_json_flag": true,
"delete_sended_file_flag": true,
"send_interval":30
}