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

FISH-8855-Added Auto name for deployment group #6784

Merged
merged 3 commits into from
Jun 28, 2024

Conversation

NotedSalmon
Copy link
Contributor

FISH-8855 added auto name for deployment group

Description

I have made changes to the strings.properties file so that instead of saying autoname instance, it says autoname instance/deployment group so it saves creating another autoname.help text.

Changed dgNew.jsf to include the checkbox button and changed the commands block for the new button so that the Deployment group label does not show as required (as autoname is an option) and if autoname is selected, it will use the same code as the instance autoname.

Important Info

Blockers

Testing

New tests

Testing Performed

Built and ran the server, made sure it was working. Tested auto naming multiple deployment groups and instances to make sure both worked correctly. Tested leaving everything blank to display error messages and tested setting own name + ticking the box to make sure that if the label is populated, it will default the name to that even if the box is checked.

Testing Environment

Documentation

Notes for Reviewers

I could of made the same exact functions that the instance auto name uses and changed to deployment group but I felt it would be unnecessary code.

…lp text. (saves making another autoname help text).

Changed dgNew.jsf to include the checkbox for autoname and added code fro, instanceNew.inc to replicate the process of autonaming an instance but use it for a deployment group instead.
…w deployment group is specific to deployment groups.
Copy link
Contributor

@aubi aubi left a comment

Choose a reason for hiding this comment

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

LGTM

@NotedSalmon NotedSalmon merged commit 2d9c298 into payara:master Jun 28, 2024
1 check passed
@NotedSalmon NotedSalmon deleted the FISH-8855-Auto-Name-DepGroup branch June 28, 2024 15:49
Pandrex247 pushed a commit to Pandrex247/Payara that referenced this pull request Jul 2, 2024
…epGroup

FISH-8855-Added Auto name for deployment group
Pandrex247 pushed a commit to Pandrex247/Payara that referenced this pull request Jul 5, 2024
…epGroup

FISH-8855-Added Auto name for deployment group
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.

3 participants