Skip to content

Commit

Permalink
Merge b4459e2 into 77af5e2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sébastien Délèze committed Dec 18, 2019
2 parents 77af5e2 + b4459e2 commit a36609a
Show file tree
Hide file tree
Showing 49 changed files with 2,571 additions and 258 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,5 @@ recursive-include data *.crt
recursive-include sonar *.babelrc
recursive-include sonar *.eslintignore
recursive-include tests *.json

recursive-include sonar *.txt
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ python-slugify = "*"
python3-saml = "*"
xmltodict = "*"
marshmallow = "<=3.0.0b6"
pycountry = "*"

[dev-packages]
Flask-Debugtoolbar = ">=0.10.1"
Expand Down
9 changes: 8 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 4 additions & 8 deletions data/users.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[
{
"first_name": "Jorg",
"last_name": "Mueller",
"full_name": "Jorg Mueller",
"email": "rero.sonar+superadmin@gmail.com",
"password": "123456",
"roles": ["superadmin"],
Expand All @@ -12,8 +11,7 @@
"phone": "+41916658961"
},
{
"first_name": "Elia",
"last_name": "Rossi",
"full_name": "Elia Rossi",
"email": "rero.sonar+admin@gmail.com",
"password": "123456",
"roles": ["admin"],
Expand All @@ -27,8 +25,7 @@
}
},
{
"first_name": "Emanuele",
"last_name": "Fiorentini",
"full_name": "Emanuele Fiorentini",
"email": "rero.sonar+moderator@gmail.com",
"password": "123456",
"roles": ["moderator"],
Expand All @@ -42,8 +39,7 @@
}
},
{
"first_name": "Jules",
"last_name": "Brochu",
"full_name": "Jules Brochu",
"email": "rero.sonar+user@gmail.com",
"password": "123456",
"roles": ["user"],
Expand Down
5 changes: 4 additions & 1 deletion docker-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ services:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
mem_limit: 1g
ports:
- "9200:9200"
Expand All @@ -91,7 +94,7 @@ services:
environment:
- "ELASTICSEARCH_HOSTS=http://es:9200"
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
ports:
- "5601:5601"
flower:
image: mher/flower
Expand Down
20 changes: 14 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
],
'invenio_base.api_blueprints': [
'sonar = sonar.theme.api_views:blueprint',
'pdf_extractor = sonar.modules.pdf_extractor.views.api:blueprint'
'pdf_extractor = sonar.modules.pdf_extractor.views.api:blueprint',
'deposits = sonar.modules.deposits.rest:blueprint'
],
'invenio_assets.webpack': [
'sonar_theme = sonar.theme.webpack:theme'
Expand Down Expand Up @@ -92,31 +93,38 @@
'invenio_jsonschemas.schemas': [
'documents = sonar.modules.documents.jsonschemas',
'institutions = sonar.modules.institutions.jsonschemas',
'users = sonar.modules.users.jsonschemas'
'users = sonar.modules.users.jsonschemas',
'deposits = sonar.modules.deposits.jsonschemas'
],
'invenio_search.mappings': [
'documents = sonar.modules.documents.mappings',
'institutions = sonar.modules.institutions.mappings',
'users = sonar.modules.users.mappings'
'users = sonar.modules.users.mappings',
'deposits = sonar.modules.deposits.mappings'
],
'invenio_pidstore.minters': [
'document_id = \
sonar.modules.documents.api:document_pid_minter',
'institution_id = \
sonar.modules.institutions.api:institution_pid_minter',
'user_id = \
sonar.modules.users.api:user_pid_minter'
sonar.modules.users.api:user_pid_minter',
'deposit_id = \
sonar.modules.deposits.api:deposit_pid_minter'
],
'invenio_pidstore.fetchers': [
'document_id = \
sonar.modules.documents.api:document_pid_fetcher',
'institution_id = \
sonar.modules.institutions.api:institution_pid_fetcher',
'user_id = \
sonar.modules.users.api:user_pid_fetcher'
sonar.modules.users.api:user_pid_fetcher',
'deposit_id = \
sonar.modules.deposits.api:deposit_pid_fetcher'
],
"invenio_records.jsonresolver": [
"institution = sonar.modules.institutions.jsonresolvers"
"institution = sonar.modules.institutions.jsonresolvers",
"user = sonar.modules.users.jsonresolvers"
]
},
classifiers=[
Expand Down
Loading

0 comments on commit a36609a

Please sign in to comment.