-
Notifications
You must be signed in to change notification settings - Fork 5
Hide properties and entities that have been deprecated for 2-3 releases #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -141,6 +141,7 @@ properties: | |
| Information on the [system version](../index.md#system-version) that this ORD document describes. | ||
| policyLevel: &policyLevel | ||
| type: string | ||
| x-hide: true | ||
| description: | | ||
| The [policy level](../../spec-extensions/policy-levels/) (aka. compliance level) that the described resources need to be compliant with. | ||
| Depending on the chosen policy level, additional expectations and validations rules will be applied. | ||
|
|
@@ -155,7 +156,6 @@ properties: | |
| description: |- | ||
| No policy level chosen. Only the base rules on how to create correct ORD documents apply. | ||
| - const: custom | ||
| # TODO: Deprecate this? | ||
| description: |- | ||
| Custom policy level. | ||
| Further validation MAY be defined and implemented by the policy-level owner. | ||
|
|
@@ -170,7 +170,7 @@ properties: | |
|
|
||
| customPolicyLevel: &customPolicyLevel | ||
| type: string | ||
| # TODO: Deprecate this? | ||
| x-hide: true | ||
| description: |- | ||
| If the fixed `policyLevel` values need to be extended, an arbitrary `customPolicyLevel` can be provided. | ||
| The policy level is inherited from packages to resources they contain, but can be overwritten at resource level. | ||
|
|
@@ -1452,6 +1452,7 @@ definitions: | |
|
|
||
| entityTypeMappings: &entityTypeMappings | ||
| type: array | ||
| x-hide: true | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not sure, if we can already hide it already. BAH is not yet supporting exposedEntityTypes, S/4 is still exposing it...
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, but we would just hide it from documentation. For new adopters, we don't want them to implement / see this. Also it looks like there is now no consumer for it, except BAH using it to create the links (which would be simpler with Hiding this would greatly help cleaning things up, as it also removes some objects
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I understand, but the support for exposedEntityTypes is not given and we still want the links and we haven't updated all guidelines to use exposedEntityTypes, do we? So documentation is still needed until one can really use exposedEntityTypes.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Then let's push BAH to support it. And the guidelines should be updated already I guess.. we'd need to check
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @swennemers do you have strong objectsions? I would prefer to do this sooner than later, as it cleans up and reduces chances that deprecated features are used for new developments. @maiargu - how easy would it be to support in spec-toolkit that we generate the markdown documentation twice, once with and once without hidden content? Is this something we should do from the beginning? |
||
| x-introduced-in-version: "1.6.0" | ||
| x-deprecated-in-version: "1.11.0" | ||
| x-deprecation-text: |- | ||
|
|
@@ -1536,6 +1537,7 @@ definitions: | |
|
|
||
| systemInstanceAware: &systemInstanceAware | ||
| type: boolean | ||
| x-hide: true | ||
| description: |- | ||
| Defines whether this ORD resource is **system-instance-aware**. | ||
| This is the case when the referenced resource definitions are potentially different between **system instances**. | ||
|
|
@@ -4427,6 +4429,7 @@ definitions: | |
| EntityTypeMapping: | ||
| title: Entity Type Mapping | ||
| type: object | ||
| x-hide: true | ||
| x-introduced-in-version: "1.6.0" | ||
| x-deprecated-in-version: "1.11.0" | ||
| x-deprecation-text: |- | ||
|
|
@@ -4584,6 +4587,7 @@ definitions: | |
| title: Api Model Selector (Odata) | ||
| x-introduced-in-version: "1.6.0" | ||
| x-deprecated-in-version: "1.11.0" | ||
| x-hide: true | ||
| x-deprecation-text: |- | ||
| Use the simplified `relatedEntityTypes` instead. | ||
|
|
||
|
|
@@ -4625,6 +4629,7 @@ definitions: | |
| title: Api Model Selector (Json Pointer) | ||
| x-introduced-in-version: "1.6.0" | ||
| x-deprecated-in-version: "1.11.0" | ||
| x-hide: true | ||
| x-deprecation-text: |- | ||
| Use the simplified `relatedEntityTypes` instead. | ||
|
|
||
|
|
@@ -4706,6 +4711,7 @@ definitions: | |
| title: Entity Type Target (ORD ID) | ||
| x-introduced-in-version: "1.6.0" | ||
| x-deprecated-in-version: "1.11.0" | ||
| x-hide: true | ||
| x-deprecation-text: |- | ||
| Use the simplified `relatedEntityTypes` instead. | ||
| x-ums-type: "custom" | ||
|
|
@@ -4732,6 +4738,7 @@ definitions: | |
| EntityTypeCorrelationIdTarget: | ||
| title: Entity Type Target (Correlation Id) | ||
| type: object | ||
| x-hide: true | ||
| description: |- | ||
| Define which entity type is the target of an entity type mapping | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think changes done to the UI by appling
x-hidedon't need to be added to the changelog file, the exposed npm package JSON schema did not change at all for consumersThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd still prefer to keep it in, because many read the documentation as a page and the changelog might at least give a hint why some things have now disappeared. Better over-communicate here :) But yes, for JSON Schema / NPM consumption, it's not changing anything