Git Product home page Git Product logo

phovea_processing_queue's Introduction

phovea_processing_queue

Phovea Phovea NPM version Build Status

Define long-running tasks that should be processed in the background using Celery.

Installation

git clone https://github.com/phovea/phovea_processing_queue.git
cd phovea_processing_queue
npm install

Testing

npm test

Building

npm run build

This repository is part of Phovea, a platform for developing web-based visualization applications. For tutorials, API docs, and more information about the build and deployment process, see the documentation page.

phovea_processing_queue's People

Contributors

dvvanessastoiber avatar mccalluc avatar puehringer avatar rumersdorfer avatar sgratzl avatar steiner-anita avatar thinkh avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

ai4labs

phovea_processing_queue's Issues

Update requirements and dependencies

We should use the latest versions both for requirements and dependencies.
Except for Typescript, tslint and d3 dependencies, which will be updated in a separate step.

Update Codeowner

The code owner of this repository has changed, therefore it is necessary to update the repo.

Update to Typescript 3.8

Observed behavior

Updating the typescript and typedoc versions according to the snippet below without using stricter linting makes it possible to use the current typescript version with a minimum amount of errors.

"typedoc": "~0.16.9",
"typescript": "~3.8.1-rc",

Expected behavior

Updating the dependencies in the package.json and adding the following line of code in tsconfig.json (as well as fixing appearing type errors) should be sufficient for the usage of Typescript 3.8 as a first step.

"downlevelIteration": true, // required as long as target is `es5`

Migrate to Jest

We should migrate from Karma to Jest for testing due to compatibility issues.

After the update to Typescript 3.8, we can use the latest version.
For the usage of ts-jest it is important to use a pinned version without ^. The reason for that is that its Major version follows Jest, which means that minor changes can be breaking. See the docs.

Update Celery to v4.4.0

Currently we are using Celery 4.2.2 with Python 3.7. The most recent release (as of today) is Celery 4.4.0. At the moment we could not switch to that release, as it requires redis>=3.2.0 and is in conflict with our phovea_data_redis redis~=2.10.6. Hence, we must update the redis version in phovea_data_redis first, and then update the celery version here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.