Skip to main content

Changelog 0.0.0

UI

Changelog v0.3.0

[#478] New version of the data product is failing

New features and improvements

Creating a repo name with whitespaces is forbidden. This is due to the way Gitlab handles project slugs with whitespaces, preventing the "New Version" feature from working correctly since it relies on project slugs.

Related issue

Closes #478

[#464] Dynamic data product page

New features and improvements

  • Modified OutputsCard component (and children components) to handle dynamic Output port types

Related issue

Closes #464

[#492] Fix deployment error

Bug fixes

  • Removed apollo/client from marketplace-common
  • Added a fix for migration

Related issue

Closes #492

[#474] evolve the ReleaseEntity schema to improve RBAC permissions

New features and improvements

  • Now release entities does not need a specific permission to be viewed. However, keep in mind that everyone is now authorized to view and unregister Release entities.
  • Release entities are now hidden from the Software Catalog

Related issue

Closes #474

[#473] Revamp of the search functionality

New features and improvements

  • Change Search Modal UI
  • Added description in the Marketplace/Builder Collator Factory

Related issue

Closes #473

[#406] Sub-Domains flow

New features and improvements

  • Added sub-domain relation as Backstage relation
  • Implemented the MarketplaceDomainProcessor in order to align backstage with the marketplace db
  • Implemented deletion when a domain is unregistered
  • Modified UI in order to show all the domain hierarchy
  • Added "domainId" field in the Data Product descriptor

Breaking Changes

In order to update also the Marketplace db with the Domain table, you need to do "Track all" in Hasura for the "Domain" table.

Related issue

Closes #406 #363 #365 #408 #422 #419 #477

[#489] Fix x-hasura-permissions header duplicates

Bug fixes

  • Removed duplicates in x-hasura-permissions header

Related issue

Closes #489

[#485] Data product new version for Monorepo

New features and improvements

  • The new version button now works for the Monorepo-created data products
  • Used joinPath() instead of new URL() and make components creation synchronous

Related issue

Closes #485

[#479] Labeling across multiple DP versions

New features and improvements

  • Added a chip showing the DP's version

Related issue

Closes #479

[#490] Add user permissions in JWT token

Bug fixes

Change in package.json of module rbac-common from:

    "main": "dist/index.esm.js"

to:

    "main": "dist/index.cjs.js"

Related issue

Closes #490

[#467] Assign permission on entity creation

New features and improvements

  • Added PermissionProcessor responsible for creating permissions based on configurable conditions
  • Added ConfigurableGrantCreator which allows users to configure automatic grant creation for certain entity kinds
  • Added some documentation regarding the permissions configuration

Related issue

Closes #467

[#455] Add user permissions in JWT token

New features and improvements

In this PR we have inserted user's permissions in the token.

  • X-witboost-Permissions: this claims in jwt contains user permissions for various resources. e.g
"X-witboost-Permissions": [
{
"id": "catalog.entity.read",
"entityRef": "urn:witboost:group:bigdata"
},
{
"id": "catalog.entity.read",
"entityRef": "urn:witboost:domain:marketing"
},
{
"id": "catalog.entity.create",
"entityRef": "urn:witboost:group:bigdata"
},
...
  • x-hasura-permissions: this claims in jwt field https://hasura.io/jwt/claims is used to authorize queries on the hasura side. e.g
"https://hasura.io/jwt/claims": {
'x-hasura-permissions': '{"catalog.entity.read", "catalog.entity.read"}'
...
}

We used the token permissions to generate the conditions with which to filter the entities for "catalog-entity" authorization requests

We user the token permission to DENY or ALLOW the "witboost-entity" authorization requests

Related issue

Closes #455

[#486] Known issues on Windows 10/WSL 2 local environment configuration

New features and improvements

  • Updated GETTINGSTARTED documentation by adding some tips/known issues related to local environment configuration on Windows 10/WSL 2.

Related issue

Closes #486

[#470] Configuration field in DP descriptor

Bug fixes

Fixed a series of problems related to environment configurations, in particular:

  • removed the empty "configuration" field that was wrongly added to the descriptor
  • fixed the descriptor merge method with environment's values that were not merging values correctly
  • added into the merge method with environment values also the data product configurations
  • updated the releases method as well (both storing and retrieval of environment's configuration)
  • fixed some typos

Related issue

Closes #470

[#468] Proxying of all the coordinator APIs

New features and improvements

  • Proxyed /templates API of the coordinator

Related issue

Closes #468

[#437] Template name in policy test

Bug fixes

  • Modified policies graphQL query to get also template names
  • Updated labels (template name and chip of kind "Component" to "Specific Provisioner")
  • Fixed a bug where the empty label appears when all tests are passed
  • Fixed a console warning related to a DOM element key missing

Related issue

Closes #437

[#466] Improve audit capabilities

New features and improvements

  • check for a valid token on the API invocation
  • make the backend config to disable all auditing operations
  • improve audit entries for hasura mutations

Bug fixes

  • avoid auditing twice hasura queries

Related issue

Closes #466

[#461] Modify the ACL table in order to group users and groups

New features and improvements

  • Modified ACL table
  • Modified updateACL request to the coordinator

Related issue

Closes #461

[#433] Auditing for Marketplace API calls

New features and improvements

  • Added /write-audit API in wm-audit plugin
  • Added hook to AuditApi
  • Added a new ApolloLink for auditing
  • Filtered all the audits that don't contain the user
  • Added "methods" parameter in app-config.yaml and make the application audit only the audits containing method which belongs to said list

Related issue

Closes #433

[#430] Search plugin improvement

New features and improvements

  • Search bar now searches across Marketplace and also Marketplace descriptors metadata
  • Filtering is done only for the type and kind
  • Chip is showing the location of the searched item instead of lifecycle and kind
  • Slight improvement and name change of our custom software catalog collator

Related issue

Closes #430

[#460] Remove publicly exposed hasura admin token

Bug fixes

Removed the publicly exposed REST endpoint for the Hasura token.

Related issue

Closes #460

[#459] Error on "new snapshot" for bitbucket repositories

Bug fixes

Corrected the getBranch method of the RepositoryManagerDispatcher that was not propagating the second parameter to the inner method.

Related issue

Closes #459

Provisioning Coordinator

Changelog v0.2.0

[#117] Change the Database schema name

New features and improvements

Coordinator default postgresql schema now is named "coordinator".

Breaking changes

Changes the default schema for coordinator tables. Changes the default schema for flyway tables.

Migration

It is not possible to handle the migration through flyway. Since the schema is configurable it is not possible to create a migration script with a specific schema name. To migrate there is the need to move "manually" existing tables (coordinator and flyway) to the new schema using the attached script.migrate_schema.sql (This script can be found in the project at docs/tech/provisioner/migrate_schema.sql)

Bug fixes

List any bug fixes made here.

Related issue

Closes #117

[#121] Improve logging

New features and improvements

Logging is now managed through a common trait

Related issue

Closes #121

[#125] Add coverage report to gitlab ci

New features and improvements

Gitlab ci configured to show coverage reports

Related issue

Closes #125

[#122] Modify updateAcl API specification

New features and improvements

  • Modified interface-specification for updateacl API for specific provisioner and coordinator

Related issue

Closes #122

[#118] Fix some edge cases inside provision and update-acl flow

Bug fixes

  • Changed Specific Provisioner API specification for getStatus
  • Changed Coordinator API specification for ProvisionInfo

Related issue

Closes #118

[#93] Improve CI/CD times

Related issue

Closes #93

[#119] Documentation makeover

New features and improvements

Changed the structure of the documentation directories to divide it into technical and user docs. The UI is holding the "master" structure, so all the positions, directories structure, and file names should be seen in context with the UI repository hierarchy.

Related issue

Closes #119

[#116] Fix deployment version of marketplace plugin

Bug fixes

Removed the automatic load of policies that was breaking deployments. Updated the version of the target marketplace proxy to 0.2.

Related issue

Closes #116

[#111] Updated the client certificate

Related issue

Closes #111

Marketplace Plugin

Changelog v0.2.0

[#30] Domain insert

New features and improvements

  • Added parsing for domainId

Related issue

Closes #30

[#29] Resolve "add support for https"

New features and improvements

Add support for configuring the HTTPS endpoint.

Related issue

Closes #29

[#28] Change the API specification for updateACL and fix a bug

Bug fixes

  • Modified "result" type inside the UpdateAclRequest

Related issue

Closes #28