-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add obs as the storage for pdf * change the config file to yaml * use obs as the pdf storage * implement list corps which have uploaded pdf * minor update
- Loading branch information
1 parent
eb40dfb
commit 61af095
Showing
20 changed files
with
466 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
python_bin: /usr/bin/python3 | ||
|
||
cla_fields_number: 10 | ||
cla_platform_url: https://clasign.osinfra.cn | ||
|
||
verification_code_expiry: 300 | ||
api_token_expiry: 3600 | ||
api_token_key: fsfsfsafsfsasaf242342424sdfs;.]{77&&& | ||
symmetric_encryption_key: key-can-be--16-24-32-bytes-long! | ||
|
||
pdf_org_signature_dir: ./conf/org_signature_pdf | ||
pdf_out_dir: ./conf/pdf | ||
|
||
code_platforms: ./conf/code_platforms.yaml | ||
email_platforms: ./conf/email.yaml | ||
|
||
employee_managers_number: 5 | ||
|
||
mongodb: | ||
mongodb_conn: mongodb://root:123@localhost:32768 | ||
mongodb_db: cla | ||
link_collection: links | ||
corp_pdf_collection: corp_pdfs | ||
org_email_collection: org_emails | ||
verification_code_collection: verification_codes | ||
corp_signing_collection: corp_signings | ||
individual_signing_collection: individual_signings | ||
|
||
obs: | ||
name: huaweicloud-obs | ||
bucket: cla | ||
credential_file: ./conf/huaweicloud_obs_credential.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
access_key: {{ access key }} | ||
secret_key: {{ secret key }} | ||
endpoint: https://obs.{{ region }}.myhuaweicloud.com | ||
object_encryption_key: "{{ AES256 encryption key }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.