Skip to content

Commit

Permalink
v1.9.7 bugfix release
Browse files Browse the repository at this point in the history
  • Loading branch information
Fannon committed Sep 18, 2024
1 parent b5358f5 commit f6eca67
Show file tree
Hide file tree
Showing 11 changed files with 80 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ For a roadmap including expected timeline, please refer to [ROADMAP.md](./ROADMA

## [unreleased]

## [1.9.7]

### Changed

- Allowing `disabled` as "hidden property" in Data Products for backward compatibility
- The property was removed in favor of `lifecycleStatus`
- This may be cleaned up / removed again in the future

## [1.9.6]

### Added
Expand Down
13 changes: 13 additions & 0 deletions dist/types/v1/Document.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1737,6 +1737,19 @@ export interface DataProduct {
* APIs that are part of the input and output ports have their own independent `releaseStatus` and `version`.
*/
releaseStatus: "active" | "beta" | "deprecated";
/**
* Indicates that this resource is currently not available for consumption at runtime, but could be configured to be so.
* This can happen either because it has not been setup for use or disabled by an admin / user.
*
* If the resource is not available in principle for a particular system instance, e.g. due to lack of entitlement, it MUST not be described in the system-instance aware perspective.
*
* This property can only reflect the knowledge of the described system instance itself.
* Outside factors for availability can't need to be considered (e.g. network connectivity, middlewares).
*
* A disabled resource MAY skip describing its resource definitions.
*
*/
disabled?: boolean;
/**
* Lifecycle status of the Data Product as a whole.
*
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json.schemastore.org/package",
"name": "@sap/open-resource-discovery",
"version": "1.9.6",
"version": "1.9.7",
"description": "Open Resource Discovery (ORD) Specification",
"author": "SAP SE",
"license": "Apache-2.0",
Expand Down
Binary file modified static/spec-v1/interfaces/Configuration.xlsx
Binary file not shown.
6 changes: 6 additions & 0 deletions static/spec-v1/interfaces/Document.annotated.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2344,6 +2344,12 @@
"active"
]
},
"disabled": {
"type": "boolean",
"default": false,
"description": "Indicates that this resource is currently not available for consumption at runtime, but could be configured to be so.\nThis can happen either because it has not been setup for use or disabled by an admin / user.\n\nIf the resource is not available in principle for a particular system instance, e.g. due to lack of entitlement, it MUST not be described in the system-instance aware perspective.\n\nThis property can only reflect the knowledge of the described system instance itself.\nOutside factors for availability can't need to be considered (e.g. network connectivity, middlewares).\n\nA disabled resource MAY skip describing its resource definitions.\n",
"x-hide": true
},
"lifecycleStatus": {
"type": "string",
"description": "Lifecycle status of the Data Product as a whole.\n\nMUST be provided when describing the system-instance aware (run-time) perspective.\nSHOULD NOT be provided in static (design-time) perspective. Static aggregators MUST ignore this property.",
Expand Down
1 change: 1 addition & 0 deletions static/spec-v1/interfaces/Document.csv
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ Data Product,version,true,string
Data Product,lastUpdate,false,string
Data Product,visibility,true,string
Data Product,releaseStatus,true,string
Data Product,disabled,false,boolean
Data Product,lifecycleStatus,false,string
Data Product,deprecationDate,false,string
Data Product,sunsetDate,false,string
Expand Down
5 changes: 5 additions & 0 deletions static/spec-v1/interfaces/Document.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2211,6 +2211,11 @@
"active"
]
},
"disabled": {
"type": "boolean",
"default": false,
"description": "Indicates that this resource is currently not available for consumption at runtime, but could be configured to be so.\nThis can happen either because it has not been setup for use or disabled by an admin / user.\n\nIf the resource is not available in principle for a particular system instance, e.g. due to lack of entitlement, it MUST not be described in the system-instance aware perspective.\n\nThis property can only reflect the knowledge of the described system instance itself.\nOutside factors for availability can't need to be considered (e.g. network connectivity, middlewares).\n\nA disabled resource MAY skip describing its resource definitions.\n"
},
"lifecycleStatus": {
"type": "string",
"description": "Lifecycle status of the Data Product as a whole.\n\nMUST be provided when describing the system-instance aware (run-time) perspective.\nSHOULD NOT be provided in static (design-time) perspective. Static aggregators MUST ignore this property.",
Expand Down
13 changes: 13 additions & 0 deletions static/spec-v1/interfaces/Document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1873,6 +1873,19 @@ export interface DataProduct {
* APIs that are part of the input and output ports have their own independent `releaseStatus` and `version`.
*/
releaseStatus: "active" | "beta" | "deprecated";
/**
* Indicates that this resource is currently not available for consumption at runtime, but could be configured to be so.
* This can happen either because it has not been setup for use or disabled by an admin / user.
*
* If the resource is not available in principle for a particular system instance, e.g. due to lack of entitlement, it MUST not be described in the system-instance aware perspective.
*
* This property can only reflect the knowledge of the described system instance itself.
* Outside factors for availability can't need to be considered (e.g. network connectivity, middlewares).
*
* A disabled resource MAY skip describing its resource definitions.
*
*/
disabled?: boolean;
/**
* Lifecycle status of the Data Product as a whole.
*
Expand Down
13 changes: 13 additions & 0 deletions static/spec-v1/interfaces/Document.ts.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1873,6 +1873,19 @@ export interface DataProduct {
* APIs that are part of the input and output ports have their own independent `releaseStatus` and `version`.
*/
releaseStatus: "active" | "beta" | "deprecated";
/**
* Indicates that this resource is currently not available for consumption at runtime, but could be configured to be so.
* This can happen either because it has not been setup for use or disabled by an admin / user.
*
* If the resource is not available in principle for a particular system instance, e.g. due to lack of entitlement, it MUST not be described in the system-instance aware perspective.
*
* This property can only reflect the knowledge of the described system instance itself.
* Outside factors for availability can't need to be considered (e.g. network connectivity, middlewares).
*
* A disabled resource MAY skip describing its resource definitions.
*
*/
disabled?: boolean;
/**
* Lifecycle status of the Data Product as a whole.
*
Expand Down
Binary file modified static/spec-v1/interfaces/Document.xlsx
Binary file not shown.
20 changes: 20 additions & 0 deletions static/spec-v1/interfaces/DocumentAPI.oas3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2866,6 +2866,26 @@ components:
- beta
- deprecated
example: active
disabled:
type: boolean
default: false
description: >
Indicates that this resource is currently not available for consumption at runtime, but could be configured
to be so.
This can happen either because it has not been setup for use or disabled by an admin / user.
If the resource is not available in principle for a particular system instance, e.g. due to lack of
entitlement, it MUST not be described in the system-instance aware perspective.
This property can only reflect the knowledge of the described system instance itself.
Outside factors for availability can't need to be considered (e.g. network connectivity, middlewares).
A disabled resource MAY skip describing its resource definitions.
lifecycleStatus:
type: string
description: |-
Expand Down

0 comments on commit f6eca67

Please sign in to comment.