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

[RRT] Add UI implementation for mandatory custom properties support feature #478

Merged
merged 5 commits into from
Jun 30, 2023

Conversation

dulithsenanayake
Copy link
Contributor

Purpose

  • This PR resolves the master fix for wso2-enterprise/wso2-apim-internal#3166.

This PR adds the UI implementation of mandatory custom properties support feature to the publisher portal. This feature can be enabled by defining server config or tenant config as below.

Server Config

[[apim.publisher.custom_properties]]
required=true
name="PropertyName"
description="Property Description"

Tenant Config
Add the configuration as shown below by navigating to the Settings -> Advanced page of the admin portal

"PropertyConfigurations": {
	"Properties": [
		{
			"Name": "PropertyName",
			"Required": true,
			"Description": "Property Description"
		}
        ]
}

UI will change as follows if the config is defined:

custom_prop_UI

This PR includes a rest API validation to the mandatory custom properties when updating the additionalPropertiesMap.

Related PRs

@dulithsenanayake dulithsenanayake merged commit ac5a09f into wso2:main Jun 30, 2023
5 of 6 checks passed
shilmyhasan pushed a commit to shilmyhasan/apim-apps-1 that referenced this pull request Sep 25, 2023
shilmyhasan pushed a commit to shilmyhasan/apim-apps-1 that referenced this pull request Sep 25, 2023
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