-
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 #305 from CSCfi/feature/find-by-name
Filter folder names by name
- Loading branch information
Showing
16 changed files
with
273 additions
and
69 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
# authentication | ||
AAI_CLIENT_SECRET=secret_must_be_long | ||
AAI_CLIENT_ID=aud2 | ||
ISS_URL=http://mockauth:8000 | ||
AUTH_URL=http://localhost:8000/authorize | ||
OIDC_URL=http://mockauth:8000 | ||
AUTH_REFERER=http://mockauth:8000 | ||
JWK_URL=http://mockauth:8000/keyset | ||
# authentication | ||
AAI_CLIENT_SECRET=secret_must_be_long | ||
AAI_CLIENT_ID=aud2 | ||
ISS_URL=http://mockauth:8000 | ||
AUTH_URL=http://localhost:8000/authorize | ||
OIDC_URL=http://mockauth:8000 | ||
AUTH_REFERER=http://mockauth:8000 | ||
JWK_URL=http://mockauth:8000/keyset | ||
|
||
# app urls | ||
BASE_URL=http://localhost:5430 | ||
# change to http://frontend:3000 if started using docker-compose for frontend | ||
REDIRECT_URL=http://localhost:3000 | ||
# app urls | ||
BASE_URL=http://localhost:5430 | ||
# change to http://frontend:3000 if started using docker-compose for frontend | ||
# REDIRECT_URL=http://localhost:3000 | ||
|
||
# logging | ||
LOG_LEVEL=DEBUG | ||
# logging | ||
LOG_LEVEL=DEBUG | ||
|
||
# database | ||
MONGO_HOST=database:27017 | ||
MONGO_DATABASE=default | ||
MONGO_AUTHDB=admin | ||
MONGO_INITDB_ROOT_PASSWORD=admin | ||
MONGO_INITDB_ROOT_USERNAME=admin | ||
MONGO_SSL=true | ||
MONGO_SSL_CA=/tls/cacert | ||
MONGO_SSL_CLIENT_KEY=/tls/key | ||
MONGO_SSL_CLIENT_CERT=/tls/cert | ||
# database | ||
MONGO_HOST=database:27017 | ||
MONGO_DATABASE=default | ||
MONGO_AUTHDB=admin | ||
MONGO_INITDB_ROOT_PASSWORD=admin | ||
MONGO_INITDB_ROOT_USERNAME=admin | ||
MONGO_SSL=true | ||
MONGO_SSL_CA=/tls/cacert | ||
MONGO_SSL_CLIENT_KEY=/tls/key | ||
MONGO_SSL_CLIENT_CERT=/tls/cert | ||
|
||
# doi | ||
DOI_API=http://mockdoi:8001/dois | ||
DOI_PREFIX=10.xxxx | ||
DOI_USER=user | ||
DOI_KEY=key | ||
# doi | ||
DOI_API=http://mockdoi:8001/dois | ||
DOI_PREFIX=10.xxxx | ||
DOI_USER=user | ||
DOI_KEY=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
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,6 +1,7 @@ | ||
aiofiles # to run integration tests | ||
black | ||
certifi | ||
flake8 | ||
pip-tools | ||
pip-tools # pip depedencies management | ||
pre-commit | ||
tox |
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,17 @@ | ||
// script to create default database collections and indexes | ||
// on container start up | ||
|
||
db = new Mongo().getDB("default"); | ||
|
||
db.createCollection('user', { capped: false }); | ||
db.createCollection('folder', { capped: false }); | ||
db.folder.createIndex({ "dateCreated": -1 }); | ||
db.folder.createIndex({ "datePublished": -1 }); | ||
db.folder.createIndex({ "folderId": 1, unique: 1 }); | ||
db.user.createIndex({ "userId": 1, unique: 1 }); | ||
db.folder.createIndex( | ||
{ | ||
text_name: "text", | ||
} | ||
) | ||
db.folder.getIndexes() |
Oops, something went wrong.