Skip to content

TEDEFO-5239 Create the data types without an SDK version - #72

Merged
rousso merged 1 commit into
developfrom
feature/TEDEFO-4794-output-formatting
Oct 4, 2026
Merged

rousso merged 1 commit into
developfrom
feature/TEDEFO-4794-output-formatting

Conversation

@rousso

@rousso rousso commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Data types without an SDK version

TEDEFO-5239

A follow-up of #71. The data types come from the data-types.json resource of this library, which is the same for SDK 1 and SDK 2: SDK 2's own fields/fwd/data-types.json is not read yet (TEDEFO-5231). They do not depend on the SDK version, so creating them no longer needs one:

  • new SdkDataTypeRepository() reads the resource, and creates plain SdkDataType objects. SdkDataTypeRepository(String sdkVersion) is removed.
  • SdkDataTypeV1, SdkDataTypeV2, SdkEntityFactory.getSdkDataType and SdkComponentType.DATA_TYPE, added in TEDEFO-5239 Provide the typed attribute and the code list of each data type #71 and never released, are removed: SdkEntityFactory and SdkComponentType are back to their state in 1.9.1.
  • createDefault() still returns the same 19 data types, with their masking values only. A new test checks that.

Validation

  • mvn verify: all 99 tests pass, and so does the API compatibility check against 1.9.1.

@rousso
rousso requested a review from rouschr October 4, 2026 13:15
@rousso
rousso merged commit bd65977 into develop Oct 4, 2026
6 checks passed
@rousso
rousso deleted the feature/TEDEFO-4794-output-formatting branch October 4, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant