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

Add BSA label to rdap-domain 404 responses for BSA domains #2706

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gbrodman
Copy link
Collaborator

@gbrodman gbrodman commented Mar 5, 2025

This change is Reviewable

Copy link
Collaborator

@weiminyu weiminyu left a comment

Choose a reason for hiding this comment

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

Reviewed 9 of 17 files at r1.
Reviewable status: 9 of 17 files reviewed, 1 unresolved discussion


core/src/main/java/google/registry/rdap/RdapIcannStandardInformation.java line 70 at r1 (raw file):

      Notice.builder()
          .setTitle("Blocked Domain")
          .setDescription("This name has been blocked by a GlobalBlock service")

Can we use the template in the config file?

Code quote:

.setDescription("This name has been blocked by a GlobalBlock service")

Copy link
Collaborator Author

@gbrodman gbrodman left a comment

Choose a reason for hiding this comment

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

Reviewable status: 9 of 17 files reviewed, 1 unresolved discussion (waiting on @weiminyu)


core/src/main/java/google/registry/rdap/RdapIcannStandardInformation.java line 70 at r1 (raw file):

Previously, weiminyu (Weimin Yu) wrote…

Can we use the template in the config file?

hmm, originally I was reluctant to do that because of the combination of "that string isn't quite suitable for a JSON object" and "it seems silly to have two separate config points for BSA messaging" but I suppose the first one will go away once WHOIS is removed.

Copy link
Collaborator Author

@gbrodman gbrodman left a comment

Choose a reason for hiding this comment

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

Reviewable status: 9 of 17 files reviewed, 1 unresolved discussion (waiting on @weiminyu)


core/src/main/java/google/registry/rdap/RdapIcannStandardInformation.java line 70 at r1 (raw file):

Previously, gbrodman wrote…

hmm, originally I was reluctant to do that because of the combination of "that string isn't quite suitable for a JSON object" and "it seems silly to have two separate config points for BSA messaging" but I suppose the first one will go away once WHOIS is removed.

oh right, the practical reasoning was also that this is a private static var so injecting the config value is nontrivial -- thoughts?

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