From 7371ef6141051aee3fb4562384645f851c725a83 Mon Sep 17 00:00:00 2001 From: Sanggeun_Kim Date: Thu, 7 Sep 2023 00:04:01 +0900 Subject: [PATCH] add contents in README.md --- README.md | 68 +++++++++++++++++++++++++++++++++- config/acquisition_config.json | 18 --------- 2 files changed, 67 insertions(+), 19 deletions(-) delete mode 100755 config/acquisition_config.json diff --git a/README.md b/README.md index 155fef9..ea44689 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,69 @@ # File Transfer Interval -Check config file +You can upload file to cloud using this App. +Check below config option + +## OS + +![Ubuntu](https://img.shields.io/badge/Ubuntu-E95420?style=for-the-badge&logo=ubuntu&logoColor=white) +- 20.04 LTS : :heavy_check_mark: +- 22.04 LTS : :heavy_check_mark: + +![Rocky Linux](https://img.shields.io/badge/-Rocky%20Linux-%2310B981?style=for-the-badge&logo=rockylinux&logoColor=white) + +- None + +![Windows](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white) + +- None + + +## option_list + +### option **explain** +```json +{ + "Minio_url": Object Storage URL , + "AccessKey": Object Storage AccessKey , + "SecretKey": Object Storage SecretKey , + "Boto3SignatureVersion": "s3v4" , + "Boto3RegionName":"us-east-1" , + "BucketName":"gseps-test-a", + "file_save_path": folder path what you want to upload , + "send_json_flag": if is true, json file will be send to amqp , + "delete_sended_file_flag": if is true, after upload, file will be deleted , + "send_interval": time interval to upload , + "amqp_url": amqp url , + "amqp_port": amqp port , + "amqp_vhost": amqp_vhost , + "amqp_id": amqp id , + "amqp_pw": amqp password , + "amqp_queue": queue_name in amqp +} +``` + + +### example json +```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 +} +`````` + + + diff --git a/config/acquisition_config.json b/config/acquisition_config.json deleted file mode 100755 index 604af7f..0000000 --- a/config/acquisition_config.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "genicam_gentl64_path": "/opt/ids-peak-with-ueyetl_2.5.0.0-16074_amd64/lib/ids/cti/", - "amqp_url": "25.2.96.55", - "amqp_port": 5672, - "amqp_vhost": "/", - "amqp_id": "worker", - "amqp_pw": "gseps1234", - "amqp_queue": "TaskQ", - "Minio_url": "http://13.209.39.139:31191", - "AccessKey":"VV2gooVNevRAIg7HrXQr", - "SecretKey":"epJmFWxwfzUUgYeyDqLa8ouitHZaWTwAvPfPNUBL", - "Boto3SignatureVersion":"s3v4", - "Boto3RegionName":"us-east-1", - "BucketName":"gseps-test-a", - "image_save_path": "/home/sdt/Workspace/gseps/image_acquisition/capture/", - "fail_log_file": "/home/sdt/Workspace/gseps/image_acquisition/fail_message.txt", - "success_log_file": "/home/sdt/Workspace/gseps/image_acquisition/acquisition.log" -}