Skip to content

added range type for all ranges#1672

Merged
Godelaine merged 7 commits intomainfrom
feat/range-action-type
Mar 27, 2026
Merged

added range type for all ranges#1672
Godelaine merged 7 commits intomainfrom
feat/range-action-type

Conversation

@phiedw
Copy link
Copy Markdown
Collaborator

@phiedw phiedw commented Mar 26, 2026

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • A PR or issue has been opened in all impacted repositories (if any)

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

Feature

What is the current behavior?

Currently the range type can only be define for tap ranges

What is the new behavior (if this is a feature change)?
now definable for all ranges

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

EDWARDS Philippe and others added 5 commits March 26, 2026 10:58
Signed-off-by: EDWARDS Philippe <edwardsphi@gm0winl1028.bureau.si.interne>
…t test

Signed-off-by: EDWARDS Philippe <edwardsphi@gm0winl1028.bureau.si.interne>
Signed-off-by: EDWARDS Philippe <edwardsphi@gm0winl1028.bureau.si.interne>
@phiedw phiedw added the PR: waiting-for-review This PR is waiting to be reviewed label Mar 27, 2026
@@ -0,0 +1,86 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema#",
"$id": "resource:/schemas/hvdc-range-action/hvdc-range-action-v2.8.json",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v2.10

if (value.getMax() < Integer.MAX_VALUE) {
gen.writeNumberField(JsonSerializationConstants.MAX, value.getMax());
}
if (value.getRangeType() != RangeType.ABSOLUTE) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pourquoi ne pas écrire ABSOLUTE systématiquement ?

Signed-off-by: EDWARDS Philippe <edwardsphi@gm0winl1028.bureau.si.interne>
Signed-off-by: EDWARDS Philippe <edwardsphi@gm0winl1028.bureau.si.interne>
@sonarqubecloud
Copy link
Copy Markdown

@Godelaine Godelaine merged commit 35f3506 into main Mar 27, 2026
12 checks passed
@Godelaine Godelaine deleted the feat/range-action-type branch March 27, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: waiting-for-review This PR is waiting to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants