mirror of
https://github.com/google/nomulus.git
synced 2025-08-06 09:45:19 +02:00
Move GCP proxy code to the old [] proxy's location
1. Moved code for the GCP proxy to where the [] proxy code used to live. 3. Corrected reference to the GCP proxy location. 4. Misc changes to make ErrorProne and various tools happy. +diekmann to LGTM terraform whitelist change. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213630560
This commit is contained in:
parent
961e5cc7c7
commit
3fc7271145
102 changed files with 296 additions and 11 deletions
8
javatests/google/registry/proxy/quota/testdata/quota_config_default.yaml
vendored
Normal file
8
javatests/google/registry/proxy/quota/testdata/quota_config_default.yaml
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
refreshSeconds: 3600
|
||||
|
||||
defaultQuota:
|
||||
userId: []
|
||||
tokenAmount: 100
|
||||
refillSeconds: 60
|
||||
|
||||
customQuota: []
|
14
javatests/google/registry/proxy/quota/testdata/quota_config_duplicate.yaml
vendored
Normal file
14
javatests/google/registry/proxy/quota/testdata/quota_config_duplicate.yaml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
refreshSeconds: 3600
|
||||
|
||||
defaultQuota:
|
||||
userId: []
|
||||
tokenAmount: 100
|
||||
refillSeconds: 60
|
||||
|
||||
customQuota:
|
||||
- userId: ["abc", "def"]
|
||||
tokenAmount: 10
|
||||
refillSeconds: 60
|
||||
- userId: ["xyz123", "def", "luckycat"]
|
||||
tokenAmount: 500
|
||||
refillSeconds: 10
|
8
javatests/google/registry/proxy/quota/testdata/quota_config_no_refresh_no_refill.yaml
vendored
Normal file
8
javatests/google/registry/proxy/quota/testdata/quota_config_no_refresh_no_refill.yaml
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
refreshSeconds: 0
|
||||
|
||||
defaultQuota:
|
||||
userId: []
|
||||
tokenAmount: 100
|
||||
refillSeconds: 0
|
||||
|
||||
customQuota: []
|
14
javatests/google/registry/proxy/quota/testdata/quota_config_regular.yaml
vendored
Normal file
14
javatests/google/registry/proxy/quota/testdata/quota_config_regular.yaml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
refreshSeconds: 3600
|
||||
|
||||
defaultQuota:
|
||||
userId: []
|
||||
tokenAmount: 100
|
||||
refillSeconds: 60
|
||||
|
||||
customQuota:
|
||||
- userId: ["abc", "def"]
|
||||
tokenAmount: 10
|
||||
refillSeconds: 60
|
||||
- userId: ["xyz123", "987lol", "luckycat"]
|
||||
tokenAmount: 500
|
||||
refillSeconds: 10
|
8
javatests/google/registry/proxy/quota/testdata/quota_config_unlimited_tokens.yaml
vendored
Normal file
8
javatests/google/registry/proxy/quota/testdata/quota_config_unlimited_tokens.yaml
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
refreshSeconds: 3600
|
||||
|
||||
defaultQuota:
|
||||
userId: []
|
||||
tokenAmount: -1
|
||||
refillSeconds: 60
|
||||
|
||||
customQuota: []
|
Loading…
Add table
Add a link
Reference in a new issue