-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1085 from France-ioi/1080
Make sure the tests cannot be run on live database as it empties the database
- Loading branch information
Showing
8 changed files
with
192 additions
and
40 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,36 @@ | ||
server: | ||
port: 8080 | ||
rootPath: "/" # the path at which the router is mounted | ||
compress: false # whether compression is enabled by default | ||
# domainOverride: dev.algorea.org # use this domain name for cookies and per-domain configuration choosing | ||
propagation_endpoint: "" # Endpoint to schedule the propagation asynchronously. If empty, propagation is synchronous. | ||
auth: | ||
loginModuleURL: "http://127.0.0.1:8000" | ||
clientID: "1" | ||
clientSecret: "tzxsLyFtJiGnmD6sjZMqSEidVpVsL3hEoSxIXCpI" | ||
token: | ||
platformName: algrorea_backend | ||
publicKeyFile: public_key.pem # one of (publicKeyFile, publicKey) is required | ||
#publicKey: | | ||
# -----BEGIN PUBLIC KEY----- | ||
# MIIBIjAN... | ||
# -----END PUBLIC KEY----- | ||
privateKeyFile: private_key.pem # one of (privateKeyFile, privateKey) is required | ||
database: | ||
dbname: algorea_db | ||
user: algorea | ||
passwd: a_db_password | ||
addr: localhost # TEST CONFIG WARNING: Running the tests erases the database, DO NOT USE A LIVE DATABASE | ||
net: tcp | ||
#dbname: algorea_db | ||
allownativepasswords: true | ||
logging: | ||
format: text # text, json | ||
output: stdout # stdout, stderr, file | ||
level: debug # debug, info, warning, error, fatal, panic | ||
logSQLQueries: true | ||
logRawSQLQueries: false | ||
domains: | ||
- | ||
domains: [default] # of a list of domains | ||
allUsersGroup: 3 | ||
tempUsersGroup: 2 |
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