Skip to content
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

OKAPI-1189: Add "extensions" field to module descriptor #1357

Closed
wants to merge 1 commit into from

Conversation

OleksiiKuzminov
Copy link

Overview

Eureka has introduced new fields to the module descriptor in order to support the declarative specification of system/tenant users. These changes are incompatible with Okapi. After reviewing solutions, the decision was made to add a new field to the module descriptor “extensions”, and update the necessary code in both Eureka (mgr-*) and Okapi.

See wiki for additional details.
OKAPI-1189

Scope

  • Add the new “extensions” field
  • Any necessary code and test updates

Copy link

sonarcloud bot commented Jul 24, 2024

@@ -80,6 +80,10 @@
"launchDescriptor": {
"description": "Default deployment for this module",
"$ref": "LaunchDescriptor.json"
},
"extensions" : {
"description": "Sets extensions for ModuleDescriptor that can store custom or meta information.",
Copy link
Contributor

Choose a reason for hiding this comment

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

Deleting redundant information allows to reduce the description to "Custom or meta information."

@@ -80,6 +80,10 @@
"launchDescriptor": {
"description": "Default deployment for this module",
"$ref": "LaunchDescriptor.json"
},
"extensions" : {
"description": "Sets extensions for ModuleDescriptor that can store custom or meta information.",
Copy link
Contributor

Choose a reason for hiding this comment

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

https://folio-org.atlassian.net/browse/OKAPI-732 has already added such a field to ModuleDescriptor, it is called “metadata”.

I don’t see a need to duplicate it. What is the difference between the “metadata” field and the “extensions” field?

@OleksiiKuzminov OleksiiKuzminov deleted the OKAPI-1189 branch July 25, 2024 08:55
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.

2 participants