Changelog ============ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). Unreleased ********** 12.0.1 ********** * Fixed missed hardcoded major version 12.0.0 ********** * [BREAKING] Deploy postgres via the Stackgres Operator rather than the bitnami chart. The ``ska-db-oda`` chart now contains a ``ConfigMap`` with the DDL scripts and an optional ``Job`` that will run these scripts against a Postgres instance (set the ``runJob`` value to false if this is not needed). See docs for the updated Helm values. * [BREAKING] Update the ODA environment variables to use the standard `PG_` environment variables to connect to Postgres. Applications that use the ODA library will need to change their environment variables from ``ADMIN_POSTGRES_PASSWORD`` to ``PGPASSWORD``, etc. 11.8.0 ********** * Updating to PDM v23.0.0 11.7.1 ********** * Updating to PDM v22.1.1 11.7.0 ********** * Updating to PDM v22.1.0 11.6.0 ********** * Updating to PDM v22.0.0 11.5.1 ********** * Temp DB fix: Updated postgresql chart and image to temporarily pull from CAR 11.5.0 ********** Added sbd_observing_queue and observing_queue_items tables for OST persistent queue. Updated make submodule and Makefile for k8s-test. 11.4.0 ********** Updates PDM version to v21.0.0 Updates Panel table schema and mapping 11.3.0 ********** * Updated to PDM v20.0.1 11.2.0 ********** * Updates the constraint on proposal reviews to be on only `prsl_id`, `reviewer_id`, `version` and `kind` 11.1.0 ********** * Adds a proposal access table that controls access on a proposal level * Adds UOW for the proposal access 11.0.0 ********** * Updated to PDM v19.0.0 10.0.1 ********** * removed unused `is_status_history` flag from rest layer to fix the bug. * Updated hardcoded ODA version in python files. 10.0.0 ********** * Added custom field query * [BREAKING] Updated PDM version to 18.5.0 * [BREAKING] Updated panel reviews based on the PDMv18.5.0 to accept both technical and science reviews 9.2.0 ********** * Updated image base images and poetry v2 * Update ska-oso-pdm to v18.4.0 9.1.0 ******* * Added Panel review and panel decision UOW for proposal management * Update ska-oso-pdm to v18.3.0 9.0.1 ******* * Changed to ska-ser-xray v0.7.0. * Updated X-ray configuration. * Updated major version values which were missed last release 9.0.0 ******* * [BREAKING] Removed the filesystem implementation of the Repository/UoW interfaces * Added PM Panel * Upgraded version of PDM to 18.2.0 * [BREAKING] Use global Helm values for the Postgres connection details 8.0.2 ******* * Modified Table structure for SLT. * [BREAKING] Added `user_id` field in SLT Tables. * [BREAKING] Modified `shift_operator` field to `operator_name`. * Added Indexes for SLT Tables 8.0.1 ******* * Fix the issue where status entity were created in PUT API in EB and SBI. 8.0.0 ********** * [BREAKING] Updated to PDM v18.0.0 * Update base images (to ska-build-python v0.2.0 and ska-python v0.2.0) 7.4.0 ********** * Update pyproject to fastapi v0.155.8 and PDM to v17.2.0 7.3.4 ***** * Fix bug where created_on timestamp for non-versioned entities was reset on update. 7.3.3 ******* * Fix the issue where Fuzzy search with entity ID was not functioning properly. 7.3.2 ******* * Fix bug where metadata wrongly needed to be included when updating an entity * Fix bug when author does not exist on a project 7.3.1 ******* * Allow user to specify their own password secret in the values.yaml instead of only using the default one deployed by the umbrella 7.3.0 ************ * Secret management changes: Use a VaultStaticSecret resource rather than the SecretProviderClass and define the Secret resource in the umbrella chart with the postgres deployment * Raise custom errors from the persistence layer rather than Python built ins. See ska_db_oda.persistence.errors for new types. * Update the Helm charts so that they have better defaults and require minimal changes in the makefile. See the docs Deployment > Configuration page. 7.2.0 ************ * Bump PDM version to 17.1.0 (from 17.0.0) 7.1.1 ******** * [BREAKING] Renamed column operator_name to user_name in annotation table for SLT (Shift Log Tool) 7.1.0 ******** * Added annotation table for SLT(Shift Log Tool) 7.0.0 ******** * Added XRAY configuration 7.0.0 RC *********** * Updated to PDM v17.0.0 * Used PDM builders for SBDefintions in tests rather than json files in this repo 6.3.1 *********** * Changed PDM to v16.1.0 6.3.0 *********** * Added Tables for SLT(Shift Log Tool) 6.2.3 *********** * Remove definition of oauth secret in ska-db-oda helm chart that pulls the oauth secret from Vault. 6.2.2 *********** * Reinstate FlaskODA object but converted to FastAPI, to fix issue where connection pool was starting before postgres was ready 6.2.1 *********** * Changed PDM to v16.0.1 6.2.0 *********** * Changed PDM to v16.0.0 * Added oauth secret in ska-db-oda helm chart that pulls the oauth secret from Vault. 6.1.0 ****** * Define secret in ska-db-oda helm chart that pulls the postgres password from Vault. Use this k8s secret for the postgres and pgadmin passwords, rather than have their charts create their own. * Convert from Flask application into FastAPI. Involved splitting the resources.py with into separate modules for each resource. * Added version ref for status entities, which links to the entity version * Update to PDM v15.4.0 6.0.0 ****** * [BREAKING] Removed `rest` and `memory` implementation of Repository * [BREAKING] Moved the `unitofwork`, `repository` and `domain` top level packages into a `persistence` package * ODA CLI client now works with either the local filesystem (i.e. the filesystem where the client is installed) or a remote ODA API depending on whether `ODA_CLIENT_USE_FILESYSTEM` env variable is True or False/unset. 5.3.3 ***** * [BUGFIX] Added workaround for PUT api url for status entity. 5.3.2 ***** * [BUGFIX] Fixed PUT api for status entity. 5.3.1 ***** * [BUGFIX] Fixed rest layer support for status entity PUT api. * Updated Enum values in capitalize for status entity. 5.3.0 ***** * Updates ska-oso-pdm dependency to v15. 5.2.0 ***** * Added REST API support to update status for project entity and to get status history for the entity. * Update 'cycle' field for proposal in table and 'elevation' in testfile 5.1.0 ***** * Add Helm value `pgadmin4.env.listenAddress` which will set the environment variable PGADMIN_LISTEN_ADDRESS in the pgadmin pod. If this value is left to null then the default pgadmin value will be used. 5.0.1 ***** * Unpins PDM from exact match on v14.0.1 to allow use of ODA as a library in other applications. 5.0.0 ***** * [BREAKING] Updates to ska-oso-pdm v14.0.1 from 13.0.1. This is a breaking change for the ODA as the PDM objects are the request bodies of the ODA API. See PDM change log for details on model changes. * Uncommented test cases for Proposal in component test and integration test * Added test cases for Proposal in unit test 4.1.0 ***** * Added REST API for easy retrieval of related ODA entities with only an Execution Block ID 4.0.0 ***** * [BREAKING] Updates to ska-oso-pdm v13.0.0 from 12.0.1. This is a breaking change for the ODA as the PDM objects are the request bodies of the ODA API. See PDM change log for details on model changes. * [BREAKING] Added REST API support to update status for entity like SBD,SBI and EB and to get status history for the entity. 3.0.2 ***** * [BUGFIX] Updated to latest make submodule. Previous 3.0.1 patch was not published correctly due to bug in makefiles. 3.0.1 ***** * [BUGFIX] Fixed bug where error handling tried to access error.args even if there were none, resulting in a useless error message. 3.0.0 ***** * [BREAKING] Updates to ska-oso-pdm v12.0.1 from 11.4.0. This is a breaking change for the ODA as the PDM objects are the request bodies of the ODA API. See PDM change log for details on model changes. * [BREAKING] The Postgres implementation of Repository.query now returns a list of the PDM entity, rather than a dict which has the PDM entity in the 'info' entry. * [BREAKING] Updated the Postgres tables to use ``timestamp with time zone`` rather than ``timestamp``