Skip to content

Latest commit

 

History

History
300 lines (224 loc) · 43.5 KB

CHANGELOG.md

File metadata and controls

300 lines (224 loc) · 43.5 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.2.0-14 (2021-09-10)

0.2.0-13 (2021-09-10)

Bug Fixes

  • ci: add default pipeline image (bca37e6)

0.2.0-12 (2021-09-10)

0.2.0-11 (2021-09-10)

0.2.0-10 (2021-09-10)

0.2.0-9 (2021-09-10)

Bug Fixes

  • root: fix invalid yaml (77218ef)
  • root: move image definition in ci-file (8eb016c)

0.2.0-8 (2021-09-10)

Bug Fixes

  • root: fix invalid yaml definition for ci (eae7ce9)

0.2.0-7 (2021-09-10)

Features

  • auto-scaler: start/remove containers in parallel (3123f09)
  • auto-scaler: use literal type for container (health-)status (c0f077d), closes #115
  • logger: remove quotes from log messages (daba7fe), closes #91
  • multiple: change docker connection strategy (3a4e9bd)
  • redis: add function to remove request files (37318a4), closes #131
  • redis: add new config setting for FILE_TTL (5bea05e), closes #127
  • redis: check for file ttl (bfe4d77), closes #127
  • redis: dispatch to healthy workers and treat starting as unhealthy (b3aa1b1), closes #118
  • redis: initial version of the WorkerManager (50e0426)
  • redis: lower default interval values (94a76ba), closes #128
  • redis: make redis-server options optional (8e7619b), closes #128
  • redis: moved worker communication to WorkerManager (a9062ca)
  • redis: only dispatch 1 request to a worker per interval (69d79e7), closes #120
  • redis: ping redis-server on launch (e88096d), closes #121
  • redis: remove untracked containers with given name prefix (4202455), closes #122
  • redis: reply pong to ping if at least one worker is up (9ec081a)
  • redis: simplify WorkerHandler.fetchFiles (7d82a38), closes #131
  • redis: wip: dockerize redis implementation (cbd0689)

Bug Fixes

  • multiple: identify and remove idle containers correctly (193851a), closes #119
  • redis: add missing function-parameter (eb4085e)
  • redis: add timeout to redis-wrapper init function (6ff75a6)
  • redis: fix wrong logging in redis-wrapper (7ef2df8), closes #125
  • redis: only apply state in state interval (b4475dc)
  • redis: track requests which are still in queue (e1ded1c), closes #130

Reverts

  • redis: remove broken signal handlers (61df38d)

Docs

  • redis: add usage section for dynamic-conversion-service (6f23928)

Tests

  • auto-scaler: fix broken auto-scaler unit test (cbbc1f8)
  • redis: add missing tests to WorkerHandler (37cddd8)
  • redis: fix broken envConfig test (2861700)
  • redis: fix broken util unit test (1023d3b)
  • redis: fix broken util unit tests (e301500)
  • redis: fix broken workerWrapper unit test (223f30f)
  • redis: remove wrong test-case (3129709)

0.2.0-6 (2021-09-06)

⚠ BREAKING CHANGES

  • multiple: Different configuration values. CONTAINER_LABEL was removed. CONTAINER_NAME_PREFIX was added.
  • auto-scaler: added non-optional config parameter
  • auto-scaler: Added idleContainerIds parameter to applyConfigurationState

Features

  • auto-scaler: add containerStatus to IContainerInfo (32895fe)
  • auto-scaler: add currentConversionInfo to IContainerInfo (bfce1bc), closes #71
  • auto-scaler: add custom error for invalid docker connect options (a872e6e), closes #48
  • auto-scaler: add host/port options for docker config (99b09c2), closes #48
  • auto-scaler: add logger to auto-scaler (d4fb1ea), closes #37
  • auto-scaler: add option for minimum number of containers (71dd6ee)
  • auto-scaler: add optional env vars to docker config (d3fb04e), closes #95
  • auto-scaler: add optional tag param to applyConfigurationState (ae2fa41), closes #56
  • auto-scaler: add optional tag param to checkImage (29c918a)
  • auto-scaler: add optional tag to docker config (40e8133), closes #55
  • auto-scaler: check for local image before pulling (25b22a4), closes #94
  • auto-scaler: expose removeContainer by function in auto-scaler (6624427), closes #75
  • auto-scaler: extract container IP on create (8d2c1e4)
  • auto-scaler: pull image if not locally available (53814d4)
  • auto-scaler: refactor 'applyConfigurationState' return type (19489f8), closes #63
  • conversion-service: add healthcheck to docker container (cc08dd0)
  • logger: add possibility to change serviceName (93d3203), closes #73
  • logger: add separator between meta info and message (18333ef)
  • logger: create logger package (461fb90), closes #47
  • logger: create logger package (7fb8cf4), closes #47
  • multiple: add IWorkerInfo interface (c7fb6eb), closes #50
  • multiple: add IWorkerInfo interface (a32cfc7), closes #50
  • redis: add 'getPendingRequestCount' function (d457a15)
  • redis: add 'getPendingRequestCount' function (73559ce)
  • redis: add 'updateWorkerConversionstatus' function (46e5483)
  • redis: add api (5790573)
  • redis: add conversion-service env vars (e613179), closes #95
  • redis: add conversionStatus to IConversionRequest (05ad502)
  • redis: add conversionStatus to IConversionRequest (72e871a)
  • redis: add developement index file (b2f970b)
  • redis: add fetch funcs, restructure interval (745b1f3)
  • redis: add functions to check if a containerStatus is healthy (00c1570)
  • redis: add functions to push and pop requests into/from the queue (ca630b8), closes #68
  • redis: add functions to push and pop requests into/from the queue (9314941), closes #68
  • redis: add getIdleWorkerIDs function (1656d16)
  • redis: adjust way to get idle workers (4b9d9c0)
  • redis: correctly compute remaining conversions (02583e1)
  • redis: enable graceful shutdown (f15d40f)
  • redis: export api and add script (234ab33)
  • redis: extend redis api (cad0ec6)
  • redis: extract more infos from docker api (dd07fd9), closes #111 #99 #117
  • redis: further implement worker communication (bc7a3d9), closes #85 #82
  • redis: implement getConversionQueueStatus (1c77474)
  • redis: implement ping to see if any worker is running (a36c863), closes #97
  • redis: implement proxied format retrieval (e505e1a), closes #78
  • redis: inject RedisService as singleton via IOC (1a96547)
  • redis: measure duration of interval (974fbe3)
  • redis: preliminary implement 'pingWorker' (0f6a9dc), closes #97
  • redis: preliminary implementation of getConvertedFile/Download (61e0848)
  • redis: push incoming conversion request into queue (2825ab2)
  • redis: remove containers on SIGINT (17a6547)
  • redis: remove containers which are not responding (2a6e818)
  • redis: respect TASKS_PER_CONTAINER setting (1471fb4), closes #106
  • redis: run auto-scaler healthcheck on launch (9114715)
  • redis: run queue and health check in intervals (29a9a0f)
  • redis: shorten http logging (c15431f)
  • redis: update running workers map with state change result (26b7281), closes #70
  • redis: use container health check instead of ping (5de70f4), closes #103
  • redis: validate auto-scaler on config load (85788ce), closes #62
  • redis-service: add 'getPendingMessagesCount' to redis-wrapper, adjust behaviour (8983e9f), closes #58
  • redis-service: add 'popMessage' function (e89b102)
  • redis-service: add custom redis-wrapper wrappers (0b6bf63)
  • redis-service: add function to load config from .env (25ed3aa)
  • redis-service: add initial version with auto-scaler (2e6b1a8)
  • redis-service: add logging (86438e0), closes #54
  • redis-service: add redis-service PoC (883efc3), closes #18
  • redis-service: load redis config from env, add custom errors (1f06b85)

Bug Fixes

  • auto-scaler: avoid div by zero, negative values (80f891b)
  • auto-scaler: catch potential error when probing for ip (7042644), closes #99
  • auto-scaler: create/remove containers sequentially (96262f7)
  • auto-scaler: fix auto-scaler not starting min-containers on launch (4573220), closes #92
  • auto-scaler: fix decision logic (421c5b8)
  • auto-scaler: fix issues when removing containers (54df8eb), closes #22
  • auto-scaler: fix listing and creating of containers (d566003), closes #22
  • auto-scaler: fix name not being retrieved correctly on remove (eff50c0)
  • auto-scaler: prevent containers from exiting immediately (b6e9795)
  • auto-scaler: refactor/fix auto-scaler (3296525), closes #22
  • ci-configuration: fix wrong needs-dependency (1142c5d)
  • conversion-service: fix docker setup to run locally (8ef1e07)
  • logger: fix error when using logger w/o parameters (1be763d), closes #86
  • multiple: use name prefix to identity containers instead of label (50f8920), closes #74
  • redis: add 'start-dev' script (9844322)
  • redis: add missing file which got lost in rebase (5c78ed7)
  • redis: fix async/await anti-pattern (540b7de), closes #110
  • redis: fix failing test (45d48d2)
  • redis: fix failing test (2fa1005)
  • redis: fix file extension extraction (5281ad1), closes #113
  • redis: fix getConversionResult using wrong conversion id (f0d6c0f)
  • redis: fix various bugs (89d1d65)
  • redis: fix wrong log output in health check (4b5e4ed)
  • redis: remove existing queues on launch (f543d3e), closes #93
  • redis: use correct RegisterRoutes function (cbc814f), closes #89
  • redis-service: fix isNumber check, fix wrong env variable key (48ba60d)
  • redis-service: improve error handling (0335e5a)

Reverts

  • redis: undo lint related commits (b7e92fe), closes #104

Tests

  • auto-scaler: add beforeAll/afterAll to test suite (f699737)
  • auto-scaler: add more tests (6de5952)
  • auto-scaler: add tests (f6afc81), closes #22
  • auto-scaler: add tests for computeContainerScaleAmount (7f929ea)
  • auto-scaler: add tests for container removal (6a1038d)
  • auto-scaler: fix zeroing of array (234f33d)
  • conversion-service: add 'app.dev.ts' to conversion-service (203b356)
  • dynamic-conversion-service: increase jest timout only in auto-scaler (4ec1848)
  • redis: add missing env variables for tests (8c38198)
  • redis: add tests for utility functions (521fa9d)
  • redis: exclude generated from api from test coverage (ded00fd), closes #79
  • redis: exclude generated from api from test coverage (b4e5755), closes #79
  • redis: fix invalid jest config for coverage (b73d44e), closes #83
  • redis: fix invalid jest config for coverage (8cb47d4), closes #83
  • redis-service: add missing test file (1ec600d)
  • redis-service: add more test cases (db9684c)
  • redis-service: add stricter number check, simplify env config testing (438dc55)
  • redis-service: add tests (f80dfa8)
  • redis-service: add tests for config loading (091596e), closes #58
  • redis-service: fix test naming (72d5598), closes #53
  • redis-service: use await/expect/resolves in redisService test (b8f558f)
  • redis-service: use await/resolves in tests (9c17ea7)

Docs

  • auto-scaler: adjust/extend README (1edaf62), closes #22 #15
  • auto-scaler: remove unnecessary jsdoc (a15b65a)
  • auto-scaler: update README (f300603)
  • conversion-service: fix wrong image name (b0edfe7), closes #84
  • conversion-service: fix wrong image name (5acb25d), closes #84
  • readme: add links for logger and redis packages (7299053)
  • readme: add links for logger and redis packages (7d0baa5)
  • redis: add docker-compose section to readme (7b78af0), closes #57
  • redis: add jsdoc to redis service (2b9a739)
  • redis: add missing jsdoc (c853995)
  • redis: update code doc (732e92c)

0.2.0-5 (2021-08-06)

0.2.0-4 (2021-08-06)

Bug Fixes

  • ci-configuration: fix erroneous before_script (40f9595)

0.2.0-3 (2021-08-06)

Bug Fixes

  • ci-configuration: fix wrong needs-dependency (1142c5d)

0.2.0-1 (2021-08-06)

Features

  • redis: add redis package to mono-repo (bd81859), closes #42

Bug Fixes

  • .gitlab-ci.yml: fix invalid ci definition (8c6ef16)
  • ci-configuration: fix invalid dependency (3f6204c)
  • conversion-service: add return statement in controller (1716776)
  • conversion-service: fix dangling comma in package.json (bfd621b)
  • package.json: add missing script for tests with coverage (bad51b5)

Code Refactoring

  • auto-scaler: rename variables, remove unnecessary comment (2dfa96f)
  • conversion-service: remove unused code(-comments) (f1570b7)
  • eslint-configuration: fix eslint configuration (d6cc853), closes #26

Docs

  • auto-scaler: add preliminary documentation (5feab0c), closes #15
  • auto-scaler: add syntax-highlighting in docs (9b67ef1)
  • readme: add project readme (b3a8faa)

Styling

  • auto-scaler: double-quotes instead of single-quotes (0cd7b18)
  • auto-scaler: fix destructing order and formatting (8ccdd4e)
  • auto-scaler: fix eslint violations (ddcd8ba)
  • auto-scaler: fix eslint violations, fix review suggestions (e9cba63)
  • redis-tests: add empty export (04a9b39)