Skip to content

[DSIP-39][parameter] Startup parameters/global parameters/project parameters support set data type #15936

@sdhzwc

Description

@sdhzwc

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Motivation

Currently startup parameters, global parameters, project parameters do not support custom data value types, the default is VARCHAR data value type, if I want to use the data type is LONG, this time there is no way to carry out the operation, so this optimization point is to give more choice points to the user, to increase the user experience.

Design Detail

一、 DESC:
This PR is for the startup parameter, global parameter, project parameter support custom data value type, to meet our needs for data use, increase user experience. Which I did not modify the logic of the big, just load the data value type to personalize the limited operation, specifically the following points:

  • 1.1 the default data type of startup parameters, global parameters, project parameters is VARCHAR, then this time I transformed this, support for custom data types and compatible with the original data type operation.
  • 1.2 StartParams was originally MAP way, now changed to LIST, which I judged whether it is JSON compatible operation.
  • 1.3 add New UI
  • 1.4 add UT

二、 EFFECT DISPLAY:
2.1 GIF
111111111111111111-32-34
2.2 Startup Parameters
启动参数
2.3 Global Parameters
全局参数
2.4 Project Parameters
项目参数

Compatibility, Deprecation, and Migration Plan

Compatibility with latest version.

Test Plan

Test by UT.

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions