mirror of
https://github.com/google/nomulus.git
synced 2025-05-31 09:44:03 +02:00
Pay off technical debt with ConsoleUiServlet
1. Turn ConsoleUiServlet into an action 2. Remove AbstractUiServlet, which fixes its threading bug 3. Use type-safe soy template parameters when rendering console A follow-up change will add a new template parameter that renders the payment page link on the navigation bar. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=117969638
This commit is contained in:
parent
79b2d5a990
commit
b6b13333dd
22 changed files with 265 additions and 365 deletions
|
@ -38,6 +38,6 @@ java_binary(
|
|||
":frontend",
|
||||
"//java/com/google/domain/registry/monitoring/whitebox", # MetricsTaskServlet
|
||||
"//java/com/google/domain/registry/ui/server/api", # CheckApiServlet
|
||||
"//java/com/google/domain/registry/ui/server/registrar", # ConsoleUiServlet, etc.
|
||||
"//java/com/google/domain/registry/ui/server/registrar", # ResourceServlet
|
||||
],
|
||||
)
|
||||
|
|
|
@ -26,6 +26,7 @@ import com.google.domain.registry.rdap.RdapNameserverAction;
|
|||
import com.google.domain.registry.rdap.RdapNameserverSearchAction;
|
||||
import com.google.domain.registry.request.RequestModule;
|
||||
import com.google.domain.registry.request.RequestScope;
|
||||
import com.google.domain.registry.ui.server.registrar.ConsoleUiAction;
|
||||
import com.google.domain.registry.ui.server.registrar.RegistrarPaymentAction;
|
||||
import com.google.domain.registry.ui.server.registrar.RegistrarPaymentSetupAction;
|
||||
import com.google.domain.registry.ui.server.registrar.RegistrarUserModule;
|
||||
|
@ -45,6 +46,7 @@ import dagger.Subcomponent;
|
|||
WhoisModule.class,
|
||||
})
|
||||
interface FrontendRequestComponent {
|
||||
ConsoleUiAction consoleUiAction();
|
||||
RdapAutnumAction rdapAutnumAction();
|
||||
RegistrarPaymentAction registrarPaymentAction();
|
||||
RegistrarPaymentSetupAction registrarPaymentSetupAction();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue