• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CSCfi / metax-api / 2288
92%
test: 42%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/django-debug-toolbar-3.2.1
DEFAULT BRANCH: test
Ran 27 Jan 2021 03:13PM UTC
Jobs 1
Files 164
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2288

push

travis-ci-com

web-flow
Merge Test to Stable (#737)

* add error handling to migration 27 in case of missing syke.csv file

* split settings with django-split-settings, enable root logger, add .env support

* replace redis client with new implementation, replace yml file with settings

* integrate refdata loading as a task

* remove unnecessary 403 error on flush_records

* remove the yaml loading blocks

* replace configs with env variables

* fix some unnecessary asserts in tests

* remove unnecessary request logging logic

* update .gitignore, deps, and travis. Create .env.template

* delete settings.py

* update readme

* fix ENV_VARS instructions

* CSCFAIRADM-375: [ADD] instructions for mac and for db creation (#679)

* add watchman system monitoring, bind elasticsearch hosts to env

* disable tests testing file permissions, make elasticsearch take its host from env vars, add Docker as an option for local development setup

* Increase logging on redis and rabbitmq connections, fix rabbitmq retry behaviour to be faster

* optimize imports

* CSCFAIRADM-375: [FIX] typos in variables and ignore log directory

* CSCFAIRMETA-701: [FIX] crash on v2 dataset rpc api

- Prevents creating a new dataset version if there exists a draft

* CSCFAIRMETA-701: trigger travis

* Update-test-db-with-migrations
- Add migrations to correspond production db

* Bump django from 3.1.2 to 3.1.4

Bumps [django](https://github.com/django/django) from 3.1.2 to 3.1.4.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.1.2...3.1.4)

Signed-off-by: dependabot[bot] <support@github.com>

* Modify-JYU-catalog-logo
- Remove URL from JYU catalog logo name

* Document env vars (#720)

Co-authored-by: Toni Nurmi <tonurmi@csc.fi>

* add OAI env vars OAI_REPOSITORY_NAME, OAI_ETSIN_URL_TEMPLATE and OAI_ADMIN_EMAIL. Add new remote environment (#724)

Co-authored-by: Toni Nurmi <tonur... (continued)

21257 of 23073 relevant lines covered (92.13%)

0.92 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
metax_api/api/rest/base/views/common_view.py
1
100.0
metax_api/api/rest/base/views/schema_view.py
2
100.0
metax_api/api/rest/v2/serializers/catalog_record_serializer.py
2
100.0
metax_api/middleware/request_logging.py
2
100.0
metax_api/models/file_storage.py
2
100.0
metax_api/services/catalog_record_service_v2.py
2
100.0
metax_api/tests/api/rest/base/views/files/write.py
2
100.0
metax_api/tests/api/rest/v2/views/files/write.py
3
100.0
metax_api/api/rpc/v2/views/dataset_rpc.py
3
100.0
metax_api/permissions/permissions.py
3
100.0
metax_api/tests/api/rest/base/serializers/serializer_utils.py
4
100.0
metax_api/api/oaipmh/base/view.py
4
100.0
metax_api/middleware/stream_http_response.py
4
100.0
metax_api/tests/api/rest/v2/views/datasets/drafts.py
5
100.0
metax_api/tests/api/rest/v2/views/datasets/referencedata.py
6
100.0
metax_api/services/common_service.py
6
100.0
metax_api/tests/api/rest/v2/views/datasets/write.py
7
100.0
metax_api/api/rest/base/serializers/common_serializer.py
7
100.0
metax_api/api/rest/base/serializers/file_serializer.py
8
100.0
metax_api/middleware/identifyapicaller.py
8
100.0
metax_api/services/auth_service.py
8
100.0
metax_api/tests/utils.py
9
100.0
metax_api/api/rest/base/views/file_view.py
9
100.0
metax_api/tests/services/reference_data_mixin.py
9
100.0
metax_api/views/secure/secure_view.py
10
100.0
metax_api/api/rpc/base/views/statistic_rpc.py
10
100.0
metax_api/services/catalog_record_service.py
10
100.0
metax_api/utils/utils.py
11
100.0
metax_api/services/rems_service.py
13
100.0
metax_api/api/rest/base/serializers/catalog_record_serializer.py
13
100.0
metax_api/api/rest/base/views/dataset_view.py
13
100.0
metax_api/services/reference_data_mixin.py
15
100.0
metax_api/utils/reference_data_loader.py
18
100.0
metax_api/services/datacite_service.py
18
100.0
metax_api/services/file_service.py
23
100.0
metax_api/tests/api/rest/v2/views/datasets/filehandling.py
28
100.0
metax_api/management/commands/loadinitialdata.py
32
100.0
metax_api/services/rabbitmq_service.py
36
100.0
metax_api/services/statistic_service.py
41
100.0
metax_api/tests/api/rest/base/views/datasets/write.py
47
100.0
metax_api/models/catalog_record_v2.py
78
100.0
metax_api/models/catalog_record.py
88
100.0
metax_api/services/redis_cache_service.py
Jobs
ID Job ID Ran Files Coverage
1 2288.1 (AUTH_SERVER_LOGOUT_URL=http://logout DATACITE_PREFIX=10.12345 DATACITE_URL=http://mockurl.com DATACITE_ETSIN_URL_TEMPLATE=http://mockurl.com/%s DATACITE_PASSWORD=not_set DATACITE_USERNAME=not_set DEBUG=false DJANGO_ENV=travis DJANGO_SECRET_KEY=lxpRfm8.JOUa7K.eOxZGtL*o+.zt.ybj DRAFT_ENABLED=true ELASTIC_SEARCH_HOSTS=https://metax.fd-test.csc.fi/es ELASTIC_SEARCH_USE_SSL=true METAX_DATABASE=metax_db_test METAX_DATABASE_PASSWORD= METAX_DATABASE_USER=metax_test OAI_BASE_URL=http://mockurl.com OAI_ETSIN_URL_TEMPLATE=http://mockurl.com/%s OAI_ADMIN_EMAIL=mocked@mail.com REMS_ENABLED=true REMS_API_KEY=not_set REMS_BASE_URL=http://mockurl.com REMS_ETSIN_URL_TEMPLATE=http://mockurl.com/%s REMS_METAX_USER=not_set REMS_REPORTER_USER=not_set REMS_AUTO_APPROVER=not_set REMS_FORM_ID=99 ENABLE_V1_ENDPOINTS=true ENABLE_V2_ENDPOINTS=true) 27 Jan 2021 03:13PM UTC 0
92.13
Travis Job 2288.1
Source Files on build 2288
  • Tree
  • List 164
  • Changed 87
  • Source Changed 86
  • Coverage Changed 69
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #2288
  • 8001fff5 on github
  • Prev Build on stable (#2204)
  • Next Build on stable (#2310)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc