Initial commit
This commit is contained in:
25
templates/config/applogic/management_api_v2.yml.erb
Normal file
25
templates/config/applogic/management_api_v2.yml.erb
Normal file
@@ -0,0 +1,25 @@
|
||||
barong:
|
||||
keychain:
|
||||
applogic:
|
||||
algorithm: RS256
|
||||
value: <%= @applogic_private_key %>
|
||||
|
||||
jwt: {}
|
||||
|
||||
actions:
|
||||
read_users:
|
||||
required_signatures: ['applogic']
|
||||
requires_barong_totp: false
|
||||
|
||||
peatio:
|
||||
keychain:
|
||||
applogic:
|
||||
algorithm: RS256
|
||||
value: <%= @applogic_private_key %>
|
||||
|
||||
jwt: {}
|
||||
|
||||
actions:
|
||||
read_operations:
|
||||
required_signatures: ['applogic']
|
||||
requires_barong_totp: false
|
||||
6
templates/config/applogic/schedule.yml.erb
Normal file
6
templates/config/applogic/schedule.yml.erb
Normal file
@@ -0,0 +1,6 @@
|
||||
users_sync_job:
|
||||
cron: "0 0 * * *" # it will retrieve data every 1 day
|
||||
class: "UsersSyncWorker"
|
||||
args:
|
||||
period: '1'
|
||||
action: 'sync' # you also can start a new job with action 'reg' to pull new users
|
||||
Reference in New Issue
Block a user