mirror of
https://github.com/google/nomulus.git
synced 2025-07-21 18:26:12 +02:00
Upgrade to Jakarta EE 10 Servlet (#2362)
Upgrade to using Jakarta EE 10 from Java EE 8 by mostly following the upgrade instructions. Only the servlet package is upgrade. Other Jakarta EE components (like the persistence package that Hibernate depends on) need to be upgraded separately. TESTED=deployed and successfully communicated with the pubapi endpoint for web WHOIS. Note that this currently requires packaing the App Engine runtime per instructions here due to GoogleCloudPlatform/appengine-java-standard#98. This PR will only be merged until the fix is deployed to production (https://rapid.corp.google.com/#/release/serverless_runtimes_run_java/java21_20240310_21_0).
This commit is contained in:
parent
ff211fb4f9
commit
e7bf74d91d
200 changed files with 389 additions and 611 deletions
|
@ -197,7 +197,7 @@ dependencies {
|
||||||
implementation deps['javax.mail:mail']
|
implementation deps['javax.mail:mail']
|
||||||
implementation deps['jakarta.inject:jakarta.inject-api']
|
implementation deps['jakarta.inject:jakarta.inject-api']
|
||||||
implementation deps['javax.persistence:javax.persistence-api']
|
implementation deps['javax.persistence:javax.persistence-api']
|
||||||
implementation deps['javax.servlet:servlet-api']
|
implementation deps['jakarta.servlet:jakarta.servlet-api']
|
||||||
implementation deps['javax.xml.bind:jaxb-api']
|
implementation deps['javax.xml.bind:jaxb-api']
|
||||||
implementation deps['jline:jline']
|
implementation deps['jline:jline']
|
||||||
implementation deps['joda-time:joda-time']
|
implementation deps['joda-time:joda-time']
|
||||||
|
@ -228,10 +228,10 @@ dependencies {
|
||||||
implementation deps['org.joda:joda-money']
|
implementation deps['org.joda:joda-money']
|
||||||
implementation deps['org.json:json']
|
implementation deps['org.json:json']
|
||||||
implementation deps['org.jsoup:jsoup']
|
implementation deps['org.jsoup:jsoup']
|
||||||
testImplementation deps['org.mortbay.jetty:jetty']
|
testImplementation deps['org.eclipse.jetty:jetty-server']
|
||||||
|
testImplementation deps['org.eclipse.jetty.ee10:jetty-ee10-servlet']
|
||||||
|
testImplementation deps['org.eclipse.jetty.ee10:jetty-ee10-webapp']
|
||||||
implementation deps['org.postgresql:postgresql']
|
implementation deps['org.postgresql:postgresql']
|
||||||
implementation "org.eclipse.jetty:jetty-server:9.4.49.v20220914"
|
|
||||||
implementation "org.eclipse.jetty:jetty-servlet:9.4.49.v20220914"
|
|
||||||
testImplementation deps['org.seleniumhq.selenium:selenium-api']
|
testImplementation deps['org.seleniumhq.selenium:selenium-api']
|
||||||
testImplementation deps['org.seleniumhq.selenium:selenium-chrome-driver']
|
testImplementation deps['org.seleniumhq.selenium:selenium-chrome-driver']
|
||||||
testImplementation deps['org.seleniumhq.selenium:selenium-java']
|
testImplementation deps['org.seleniumhq.selenium:selenium-java']
|
||||||
|
|
|
@ -39,7 +39,7 @@ com.google.api-client:google-api-client-jackson2:2.0.1=compileClasspath,deploy_j
|
||||||
com.google.api-client:google-api-client-java6:2.1.4=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api-client:google-api-client-java6:2.1.4=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.api-client:google-api-client-servlet:2.4.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api-client:google-api-client-servlet:2.4.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.api-client:google-api-client:1.35.2=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api-client:google-api-client:1.35.2=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.api.grpc:gapic-google-cloud-storage-v2:2.35.0-alpha=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api.grpc:gapic-google-cloud-storage-v2:2.36.0-alpha=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1:3.0.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1:3.0.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1beta1:0.172.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1beta1:0.172.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1beta2:0.172.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1beta2:0.172.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
|
@ -49,7 +49,7 @@ com.google.api.grpc:grpc-google-cloud-pubsublite-v1:1.12.20=compileClasspath,dep
|
||||||
com.google.api.grpc:grpc-google-cloud-spanner-admin-database-v1:6.56.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api.grpc:grpc-google-cloud-spanner-admin-database-v1:6.56.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.api.grpc:grpc-google-cloud-spanner-admin-instance-v1:6.56.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api.grpc:grpc-google-cloud-spanner-admin-instance-v1:6.56.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.api.grpc:grpc-google-cloud-spanner-v1:6.56.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api.grpc:grpc-google-cloud-spanner-v1:6.56.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.api.grpc:grpc-google-cloud-storage-v2:2.35.0-alpha=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api.grpc:grpc-google-cloud-storage-v2:2.36.0-alpha=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.api.grpc:grpc-google-common-protos:2.30.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api.grpc:grpc-google-common-protos:2.30.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.api.grpc:proto-google-cloud-bigquerystorage-v1:3.0.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api.grpc:proto-google-cloud-bigquerystorage-v1:3.0.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.api.grpc:proto-google-cloud-bigquerystorage-v1beta1:0.172.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api.grpc:proto-google-cloud-bigquerystorage-v1beta1:0.172.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
|
@ -68,7 +68,7 @@ com.google.api.grpc:proto-google-cloud-spanner-admin-database-v1:6.56.0=compileC
|
||||||
com.google.api.grpc:proto-google-cloud-spanner-admin-instance-v1:6.56.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api.grpc:proto-google-cloud-spanner-admin-instance-v1:6.56.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.api.grpc:proto-google-cloud-spanner-executor-v1:6.56.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api.grpc:proto-google-cloud-spanner-executor-v1:6.56.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.api.grpc:proto-google-cloud-spanner-v1:6.56.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api.grpc:proto-google-cloud-spanner-v1:6.56.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.api.grpc:proto-google-cloud-storage-v2:2.35.0-alpha=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api.grpc:proto-google-cloud-storage-v2:2.36.0-alpha=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.api.grpc:proto-google-cloud-tasks-v2:2.37.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api.grpc:proto-google-cloud-tasks-v2:2.37.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.api.grpc:proto-google-cloud-tasks-v2beta2:0.127.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api.grpc:proto-google-cloud-tasks-v2beta2:0.127.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.api.grpc:proto-google-cloud-tasks-v2beta3:0.127.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.api.grpc:proto-google-cloud-tasks-v2beta3:0.127.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
|
@ -93,7 +93,7 @@ com.google.apis:google-api-services-monitoring:v3-rev20240303-2.0.0=compileClass
|
||||||
com.google.apis:google-api-services-pubsub:v1-rev20220904-2.0.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.apis:google-api-services-pubsub:v1-rev20220904-2.0.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.apis:google-api-services-sheets:v4-rev20230815-2.0.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.apis:google-api-services-sheets:v4-rev20230815-2.0.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.apis:google-api-services-sqladmin:v1beta4-rev20240304-2.0.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.apis:google-api-services-sqladmin:v1beta4-rev20240304-2.0.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.apis:google-api-services-storage:v1-rev20240209-2.0.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.apis:google-api-services-storage:v1-rev20240307-2.0.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.appengine:appengine-api-1.0-sdk:2.0.25=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.appengine:appengine-api-1.0-sdk:2.0.25=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.appengine:appengine-api-stubs:2.0.25=deploy_jar,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.appengine:appengine-api-stubs:2.0.25=deploy_jar,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.appengine:appengine-remote-api:2.0.25=deploy_jar,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.appengine:appengine-remote-api:2.0.25=deploy_jar,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
|
@ -129,7 +129,7 @@ com.google.cloud:google-cloud-pubsub:1.126.0=compileClasspath,deploy_jar,nonprod
|
||||||
com.google.cloud:google-cloud-pubsublite:1.12.20=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.cloud:google-cloud-pubsublite:1.12.20=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.cloud:google-cloud-secretmanager:2.37.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.cloud:google-cloud-secretmanager:2.37.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.cloud:google-cloud-spanner:6.56.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.cloud:google-cloud-spanner:6.56.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.cloud:google-cloud-storage:2.35.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.cloud:google-cloud-storage:2.36.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.cloud:google-cloud-tasks:2.37.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.cloud:google-cloud-tasks:2.37.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.cloud:grpc-gcp:1.5.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.cloud:grpc-gcp:1.5.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
com.google.cloud:proto-google-cloud-firestore-bundle-v1:3.16.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
com.google.cloud:proto-google-cloud-firestore-bundle-v1:3.16.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
|
@ -311,6 +311,8 @@ jakarta-regexp:jakarta-regexp:1.4=compileClasspath,deploy_jar,nonprodCompileClas
|
||||||
jakarta.activation:jakarta.activation-api:2.1.3=jaxb
|
jakarta.activation:jakarta.activation-api:2.1.3=jaxb
|
||||||
jakarta.inject:jakarta.inject-api:1.0.5=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
jakarta.inject:jakarta.inject-api:1.0.5=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
jakarta.inject:jakarta.inject-api:2.0.1=soy
|
jakarta.inject:jakarta.inject-api:2.0.1=soy
|
||||||
|
jakarta.servlet:jakarta.servlet-api:6.0.0=testCompileClasspath,testRuntimeClasspath
|
||||||
|
jakarta.servlet:jakarta.servlet-api:6.1.0-M2=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath
|
||||||
jakarta.xml.bind:jakarta.xml.bind-api:4.0.2=jaxb
|
jakarta.xml.bind:jakarta.xml.bind-api:4.0.2=jaxb
|
||||||
javacc:javacc:4.1=css
|
javacc:javacc:4.1=css
|
||||||
javax.activation:activation:1.1=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
javax.activation:activation:1.1=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
|
@ -395,13 +397,15 @@ org.codehaus.jackson:jackson-mapper-asl:1.9.13=compileClasspath,deploy_jar,nonpr
|
||||||
org.codehaus.mojo:animal-sniffer-annotations:1.23=deploy_jar,nonprodRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
|
org.codehaus.mojo:animal-sniffer-annotations:1.23=deploy_jar,nonprodRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
|
||||||
org.conscrypt:conscrypt-openjdk-uber:2.5.2=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
org.conscrypt:conscrypt-openjdk-uber:2.5.2=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
org.easymock:easymock:3.0=css
|
org.easymock:easymock:3.0=css
|
||||||
org.eclipse.jetty:jetty-http:9.4.49.v20220914=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
org.eclipse.jetty.ee10:jetty-ee10-servlet:12.0.7=testCompileClasspath,testRuntimeClasspath
|
||||||
org.eclipse.jetty:jetty-io:9.4.49.v20220914=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
org.eclipse.jetty.ee10:jetty-ee10-webapp:12.0.7=testCompileClasspath,testRuntimeClasspath
|
||||||
org.eclipse.jetty:jetty-security:9.4.49.v20220914=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
org.eclipse.jetty:jetty-http:12.0.7=testCompileClasspath,testRuntimeClasspath
|
||||||
org.eclipse.jetty:jetty-server:9.4.49.v20220914=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
org.eclipse.jetty:jetty-io:12.0.7=testCompileClasspath,testRuntimeClasspath
|
||||||
org.eclipse.jetty:jetty-servlet:9.4.49.v20220914=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
org.eclipse.jetty:jetty-security:12.0.7=testCompileClasspath,testRuntimeClasspath
|
||||||
org.eclipse.jetty:jetty-util-ajax:9.4.49.v20220914=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
org.eclipse.jetty:jetty-server:12.0.7=testCompileClasspath,testRuntimeClasspath
|
||||||
org.eclipse.jetty:jetty-util:9.4.49.v20220914=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
org.eclipse.jetty:jetty-session:12.0.7=testCompileClasspath,testRuntimeClasspath
|
||||||
|
org.eclipse.jetty:jetty-util:12.0.7=testCompileClasspath,testRuntimeClasspath
|
||||||
|
org.eclipse.jetty:jetty-xml:12.0.7=testCompileClasspath,testRuntimeClasspath
|
||||||
org.flywaydb:flyway-core:10.10.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
org.flywaydb:flyway-core:10.10.0=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
org.flywaydb:flyway-database-postgresql:10.10.0=testRuntimeClasspath
|
org.flywaydb:flyway-database-postgresql:10.10.0=testRuntimeClasspath
|
||||||
org.glassfish.jaxb:jaxb-runtime:2.3.1=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
org.glassfish.jaxb:jaxb-runtime:2.3.1=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
|
@ -461,8 +465,6 @@ org.jvnet.staxex:stax-ex:1.8=compileClasspath,deploy_jar,nonprodCompileClasspath
|
||||||
org.mockito:mockito-core:1.10.19=css
|
org.mockito:mockito-core:1.10.19=css
|
||||||
org.mockito:mockito-core:5.11.0=testCompileClasspath,testRuntimeClasspath
|
org.mockito:mockito-core:5.11.0=testCompileClasspath,testRuntimeClasspath
|
||||||
org.mockito:mockito-junit-jupiter:5.11.0=testCompileClasspath,testRuntimeClasspath
|
org.mockito:mockito-junit-jupiter:5.11.0=testCompileClasspath,testRuntimeClasspath
|
||||||
org.mortbay.jetty:jetty-util:6.1.26=testCompileClasspath,testRuntimeClasspath
|
|
||||||
org.mortbay.jetty:jetty:6.1.26=testCompileClasspath,testRuntimeClasspath
|
|
||||||
org.objenesis:objenesis:2.1=css
|
org.objenesis:objenesis:2.1=css
|
||||||
org.objenesis:objenesis:3.3=testRuntimeClasspath
|
org.objenesis:objenesis:3.3=testRuntimeClasspath
|
||||||
org.ogce:xpp3:1.1.6=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
org.ogce:xpp3:1.1.6=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
|
@ -480,7 +482,7 @@ org.ow2.asm:asm:7.0=soy
|
||||||
org.ow2.asm:asm:9.2=compileClasspath,nonprodCompileClasspath
|
org.ow2.asm:asm:9.2=compileClasspath,nonprodCompileClasspath
|
||||||
org.ow2.asm:asm:9.6=deploy_jar,jacocoAnt,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
org.ow2.asm:asm:9.6=deploy_jar,jacocoAnt,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
org.pcollections:pcollections:3.1.4=annotationProcessor,errorprone,nonprodAnnotationProcessor,testAnnotationProcessor
|
org.pcollections:pcollections:3.1.4=annotationProcessor,errorprone,nonprodAnnotationProcessor,testAnnotationProcessor
|
||||||
org.postgresql:postgresql:42.7.2=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
org.postgresql:postgresql:42.7.3=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
org.reflections:reflections:0.10.2=checkstyle
|
org.reflections:reflections:0.10.2=checkstyle
|
||||||
org.rnorth.duct-tape:duct-tape:1.0.8=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
org.rnorth.duct-tape:duct-tape:1.0.8=compileClasspath,deploy_jar,nonprodCompileClasspath,nonprodRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||||
org.seleniumhq.selenium:selenium-api:3.141.59=testCompileClasspath,testRuntimeClasspath
|
org.seleniumhq.selenium:selenium-api:3.141.59=testCompileClasspath,testRuntimeClasspath
|
||||||
|
|
|
@ -32,8 +32,8 @@ import com.google.common.collect.ImmutableSet;
|
||||||
import dagger.Module;
|
import dagger.Module;
|
||||||
import dagger.Provides;
|
import dagger.Provides;
|
||||||
import google.registry.request.Parameter;
|
import google.registry.request.Parameter;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
|
|
||||||
/** Dagger module for injecting common settings for batch actions. */
|
/** Dagger module for injecting common settings for batch actions. */
|
||||||
|
|
|
@ -20,10 +20,10 @@ import static google.registry.flows.FlowUtils.marshalWithLenientRetry;
|
||||||
import static google.registry.persistence.transaction.TransactionManagerFactory.tm;
|
import static google.registry.persistence.transaction.TransactionManagerFactory.tm;
|
||||||
import static google.registry.util.DateTimeUtils.END_OF_TIME;
|
import static google.registry.util.DateTimeUtils.END_OF_TIME;
|
||||||
import static google.registry.util.ResourceUtils.readResourceUtf8;
|
import static google.registry.util.ResourceUtils.readResourceUtf8;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_NO_CONTENT;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_NO_CONTENT;
|
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
|
||||||
|
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
import com.google.common.flogger.FluentLogger;
|
import com.google.common.flogger.FluentLogger;
|
||||||
|
|
|
@ -20,8 +20,8 @@ import static google.registry.model.common.Cursor.CursorType.RECURRING_BILLING;
|
||||||
import static google.registry.persistence.transaction.TransactionManagerFactory.tm;
|
import static google.registry.persistence.transaction.TransactionManagerFactory.tm;
|
||||||
import static google.registry.request.RequestParameters.PARAM_DRY_RUN;
|
import static google.registry.request.RequestParameters.PARAM_DRY_RUN;
|
||||||
import static google.registry.util.DateTimeUtils.START_OF_TIME;
|
import static google.registry.util.DateTimeUtils.START_OF_TIME;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
import static jakarta.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
|
|
||||||
import com.google.api.services.dataflow.Dataflow;
|
import com.google.api.services.dataflow.Dataflow;
|
||||||
import com.google.api.services.dataflow.model.LaunchFlexTemplateParameter;
|
import com.google.api.services.dataflow.model.LaunchFlexTemplateParameter;
|
||||||
|
|
|
@ -19,8 +19,8 @@ import static com.google.common.collect.ImmutableSet.toImmutableSet;
|
||||||
import static google.registry.persistence.transaction.TransactionManagerFactory.tm;
|
import static google.registry.persistence.transaction.TransactionManagerFactory.tm;
|
||||||
import static google.registry.request.Action.Method.POST;
|
import static google.registry.request.Action.Method.POST;
|
||||||
import static google.registry.tools.LockOrUnlockDomainCommand.REGISTRY_LOCK_STATUSES;
|
import static google.registry.tools.LockOrUnlockDomainCommand.REGISTRY_LOCK_STATUSES;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_NO_CONTENT;
|
import static jakarta.servlet.http.HttpServletResponse.SC_NO_CONTENT;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
|
|
||||||
import com.google.common.collect.ImmutableSet;
|
import com.google.common.collect.ImmutableSet;
|
||||||
import com.google.common.flogger.FluentLogger;
|
import com.google.common.flogger.FluentLogger;
|
||||||
|
|
|
@ -16,8 +16,8 @@ package google.registry.batch;
|
||||||
|
|
||||||
import static google.registry.batch.BatchModule.PARAM_FAST;
|
import static google.registry.batch.BatchModule.PARAM_FAST;
|
||||||
import static google.registry.beam.BeamUtils.createJobName;
|
import static google.registry.beam.BeamUtils.createJobName;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
import static jakarta.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
|
|
||||||
import com.google.api.services.dataflow.Dataflow;
|
import com.google.api.services.dataflow.Dataflow;
|
||||||
import com.google.api.services.dataflow.model.LaunchFlexTemplateParameter;
|
import com.google.api.services.dataflow.model.LaunchFlexTemplateParameter;
|
||||||
|
|
|
@ -16,8 +16,8 @@ package google.registry.batch;
|
||||||
|
|
||||||
import static google.registry.beam.BeamUtils.createJobName;
|
import static google.registry.beam.BeamUtils.createJobName;
|
||||||
import static google.registry.request.RequestParameters.PARAM_DRY_RUN;
|
import static google.registry.request.RequestParameters.PARAM_DRY_RUN;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
import static jakarta.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
|
|
||||||
import com.google.api.services.dataflow.Dataflow;
|
import com.google.api.services.dataflow.Dataflow;
|
||||||
import com.google.api.services.dataflow.model.LaunchFlexTemplateParameter;
|
import com.google.api.services.dataflow.model.LaunchFlexTemplateParameter;
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
|
|
||||||
package google.registry.bsa;
|
package google.registry.bsa;
|
||||||
|
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
|
||||||
|
|
||||||
import com.google.api.client.http.HttpMethods;
|
import com.google.api.client.http.HttpMethods;
|
||||||
import com.google.common.collect.ImmutableMap;
|
import com.google.common.collect.ImmutableMap;
|
||||||
|
|
|
@ -23,7 +23,7 @@ import static google.registry.bsa.persistence.LabelDiffUpdates.applyLabelDiff;
|
||||||
import static google.registry.request.Action.Method.GET;
|
import static google.registry.request.Action.Method.GET;
|
||||||
import static google.registry.request.Action.Method.POST;
|
import static google.registry.request.Action.Method.POST;
|
||||||
import static google.registry.util.BatchedStreams.toBatches;
|
import static google.registry.util.BatchedStreams.toBatches;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
|
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
import com.google.common.collect.ImmutableMap;
|
import com.google.common.collect.ImmutableMap;
|
||||||
|
|
|
@ -18,7 +18,7 @@ import static com.google.common.base.Throwables.getStackTraceAsString;
|
||||||
import static google.registry.bsa.BsaStringUtils.LINE_SPLITTER;
|
import static google.registry.bsa.BsaStringUtils.LINE_SPLITTER;
|
||||||
import static google.registry.request.Action.Method.GET;
|
import static google.registry.request.Action.Method.GET;
|
||||||
import static google.registry.request.Action.Method.POST;
|
import static google.registry.request.Action.Method.POST;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
|
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
import com.google.common.flogger.FluentLogger;
|
import com.google.common.flogger.FluentLogger;
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
package google.registry.bsa.api;
|
package google.registry.bsa.api;
|
||||||
|
|
||||||
import static google.registry.request.UrlConnectionUtils.getResponseBytes;
|
import static google.registry.request.UrlConnectionUtils.getResponseBytes;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
|
||||||
|
|
||||||
import com.google.api.client.http.HttpMethods;
|
import com.google.api.client.http.HttpMethods;
|
||||||
import com.google.common.annotations.VisibleForTesting;
|
import com.google.common.annotations.VisibleForTesting;
|
||||||
|
|
|
@ -14,9 +14,9 @@
|
||||||
|
|
||||||
package google.registry.bsa.api;
|
package google.registry.bsa.api;
|
||||||
|
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_ACCEPTED;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_ACCEPTED;
|
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
|
||||||
|
|
||||||
import com.google.api.client.http.HttpMethods;
|
import com.google.api.client.http.HttpMethods;
|
||||||
import com.google.common.flogger.FluentLogger;
|
import com.google.common.flogger.FluentLogger;
|
||||||
|
|
|
@ -23,8 +23,8 @@ import com.google.common.collect.ImmutableSet;
|
||||||
import dagger.Module;
|
import dagger.Module;
|
||||||
import dagger.Provides;
|
import dagger.Provides;
|
||||||
import google.registry.request.Parameter;
|
import google.registry.request.Parameter;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
|
|
||||||
/** Dagger module for the cron package. */
|
/** Dagger module for the cron package. */
|
||||||
@Module
|
@Module
|
||||||
|
|
|
@ -31,9 +31,9 @@ import google.registry.dns.DnsUtils.TargetType;
|
||||||
import google.registry.dns.writer.DnsWriterZone;
|
import google.registry.dns.writer.DnsWriterZone;
|
||||||
import google.registry.request.Parameter;
|
import google.registry.request.Parameter;
|
||||||
import google.registry.request.RequestParameters;
|
import google.registry.request.RequestParameters;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
|
|
||||||
/** Dagger module for the dns package. */
|
/** Dagger module for the dns package. */
|
||||||
|
|
|
@ -30,7 +30,7 @@ import static google.registry.persistence.transaction.TransactionManagerFactory.
|
||||||
import static google.registry.request.Action.Method.POST;
|
import static google.registry.request.Action.Method.POST;
|
||||||
import static google.registry.request.RequestParameters.PARAM_TLD;
|
import static google.registry.request.RequestParameters.PARAM_TLD;
|
||||||
import static google.registry.util.CollectionUtils.nullToEmpty;
|
import static google.registry.util.CollectionUtils.nullToEmpty;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_ACCEPTED;
|
import static jakarta.servlet.http.HttpServletResponse.SC_ACCEPTED;
|
||||||
|
|
||||||
import com.google.common.base.Joiner;
|
import com.google.common.base.Joiner;
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
|
|
|
@ -18,7 +18,7 @@ import static google.registry.dns.DnsUtils.requestDomainDnsRefresh;
|
||||||
import static google.registry.dns.RefreshDnsOnHostRenameAction.PATH;
|
import static google.registry.dns.RefreshDnsOnHostRenameAction.PATH;
|
||||||
import static google.registry.model.EppResourceUtils.getLinkedDomainKeys;
|
import static google.registry.model.EppResourceUtils.getLinkedDomainKeys;
|
||||||
import static google.registry.persistence.transaction.TransactionManagerFactory.tm;
|
import static google.registry.persistence.transaction.TransactionManagerFactory.tm;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_NO_CONTENT;
|
import static jakarta.servlet.http.HttpServletResponse.SC_NO_CONTENT;
|
||||||
|
|
||||||
import com.google.common.net.MediaType;
|
import com.google.common.net.MediaType;
|
||||||
import google.registry.model.EppResourceUtils;
|
import google.registry.model.EppResourceUtils;
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<web-app xmlns="https://jakarta.ee/xml/ns/jakartaee"
|
||||||
<web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
|
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd"
|
||||||
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
|
version="6.0">
|
||||||
<!-- Servlets -->
|
<!-- Servlets -->
|
||||||
|
|
||||||
<!-- Servlet for injected backends actions -->
|
<!-- Servlet for injected backends actions -->
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<web-app xmlns="https://jakarta.ee/xml/ns/jakartaee"
|
||||||
<web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
|
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd"
|
||||||
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
|
version="6.0">
|
||||||
<!-- Servlets -->
|
<!-- Servlets -->
|
||||||
|
|
||||||
<!-- Servlet for injected backends actions -->
|
<!-- Servlet for injected backends actions -->
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<web-app xmlns="https://jakarta.ee/xml/ns/jakartaee"
|
||||||
<web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd"
|
||||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
|
version="6.0">
|
||||||
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
|
|
||||||
<!-- Servlets -->
|
<!-- Servlets -->
|
||||||
|
|
||||||
<!-- Servlet for injected frontend actions -->
|
<!-- Servlet for injected frontend actions -->
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<web-app xmlns="https://jakarta.ee/xml/ns/jakartaee"
|
||||||
<web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd"
|
||||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
|
version="6.0">
|
||||||
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
|
|
||||||
<!-- Servlets -->
|
<!-- Servlets -->
|
||||||
|
|
||||||
<!-- Servlet for injected frontend actions -->
|
<!-- Servlet for injected frontend actions -->
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<web-app xmlns="https://jakarta.ee/xml/ns/jakartaee"
|
||||||
<web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd"
|
||||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
|
version="6.0">
|
||||||
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
|
|
||||||
<!-- Servlets -->
|
<!-- Servlets -->
|
||||||
|
|
||||||
<!-- Servlet for injected tools actions -->
|
<!-- Servlet for injected tools actions -->
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
</manual-scaling>
|
</manual-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
</manual-scaling>
|
</manual-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
</automatic-scaling>
|
</automatic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
</manual-scaling>
|
</manual-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
</manual-scaling>
|
</manual-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
</basic-scaling>
|
</basic-scaling>
|
||||||
|
|
||||||
<system-properties>
|
<system-properties>
|
||||||
<property name="appengine.use.EE8" value="true"/>
|
|
||||||
<property name="java.util.logging.config.file"
|
<property name="java.util.logging.config.file"
|
||||||
value="WEB-INF/logging.properties"/>
|
value="WEB-INF/logging.properties"/>
|
||||||
<property name="google.registry.environment"
|
<property name="google.registry.environment"
|
||||||
|
|
|
@ -18,9 +18,9 @@ import static com.google.common.base.Preconditions.checkState;
|
||||||
import static com.google.common.base.Strings.isNullOrEmpty;
|
import static com.google.common.base.Strings.isNullOrEmpty;
|
||||||
import static com.google.common.net.MediaType.PLAIN_TEXT_UTF_8;
|
import static com.google.common.net.MediaType.PLAIN_TEXT_UTF_8;
|
||||||
import static google.registry.request.Action.Method.POST;
|
import static google.registry.request.Action.Method.POST;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
|
||||||
|
|
||||||
import com.google.common.base.Joiner;
|
import com.google.common.base.Joiner;
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
|
|
|
@ -17,9 +17,9 @@ package google.registry.export;
|
||||||
import static com.google.common.base.Strings.isNullOrEmpty;
|
import static com.google.common.base.Strings.isNullOrEmpty;
|
||||||
import static com.google.common.net.MediaType.PLAIN_TEXT_UTF_8;
|
import static com.google.common.net.MediaType.PLAIN_TEXT_UTF_8;
|
||||||
import static google.registry.request.Action.Method.POST;
|
import static google.registry.request.Action.Method.POST;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
|
||||||
|
|
||||||
import com.google.common.flogger.FluentLogger;
|
import com.google.common.flogger.FluentLogger;
|
||||||
import com.google.common.net.MediaType;
|
import com.google.common.net.MediaType;
|
||||||
|
|
|
@ -20,8 +20,8 @@ import static google.registry.persistence.transaction.TransactionManagerFactory.
|
||||||
import static google.registry.request.Action.Method.POST;
|
import static google.registry.request.Action.Method.POST;
|
||||||
import static google.registry.util.CollectionUtils.nullToEmpty;
|
import static google.registry.util.CollectionUtils.nullToEmpty;
|
||||||
import static google.registry.util.RegistrarUtils.normalizeRegistrarId;
|
import static google.registry.util.RegistrarUtils.normalizeRegistrarId;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
import static jakarta.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
|
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
import com.google.common.collect.ImmutableMap;
|
import com.google.common.collect.ImmutableMap;
|
||||||
|
|
|
@ -19,8 +19,8 @@ import static com.google.common.base.Strings.emptyToNull;
|
||||||
import dagger.Module;
|
import dagger.Module;
|
||||||
import dagger.Provides;
|
import dagger.Provides;
|
||||||
import google.registry.request.Parameter;
|
import google.registry.request.Parameter;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
|
|
||||||
/** Dagger module for the sheet package. */
|
/** Dagger module for the sheet package. */
|
||||||
@Module
|
@Module
|
||||||
|
|
|
@ -16,10 +16,10 @@ package google.registry.export.sheet;
|
||||||
|
|
||||||
import static com.google.common.net.MediaType.PLAIN_TEXT_UTF_8;
|
import static com.google.common.net.MediaType.PLAIN_TEXT_UTF_8;
|
||||||
import static google.registry.request.Action.Method.POST;
|
import static google.registry.request.Action.Method.POST;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_BAD_REQUEST;
|
import static jakarta.servlet.http.HttpServletResponse.SC_BAD_REQUEST;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
import static jakarta.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_NO_CONTENT;
|
import static jakarta.servlet.http.HttpServletResponse.SC_NO_CONTENT;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
|
|
||||||
import com.google.common.flogger.FluentLogger;
|
import com.google.common.flogger.FluentLogger;
|
||||||
import google.registry.config.RegistryConfig.Config;
|
import google.registry.config.RegistryConfig.Config;
|
||||||
|
|
|
@ -58,10 +58,10 @@ import google.registry.request.Parameter;
|
||||||
import google.registry.request.RequestParameters;
|
import google.registry.request.RequestParameters;
|
||||||
import google.registry.request.Response;
|
import google.registry.request.Response;
|
||||||
import google.registry.request.auth.Auth;
|
import google.registry.request.auth.Auth;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -17,9 +17,9 @@ package google.registry.flows;
|
||||||
import static google.registry.flows.FlowUtils.marshalWithLenientRetry;
|
import static google.registry.flows.FlowUtils.marshalWithLenientRetry;
|
||||||
import static google.registry.model.eppoutput.Result.Code.SUCCESS_AND_CLOSE;
|
import static google.registry.model.eppoutput.Result.Code.SUCCESS_AND_CLOSE;
|
||||||
import static google.registry.xml.XmlTransformer.prettyPrint;
|
import static google.registry.xml.XmlTransformer.prettyPrint;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_BAD_REQUEST;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_BAD_REQUEST;
|
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
|
||||||
|
|
||||||
import com.google.common.flogger.FluentLogger;
|
import com.google.common.flogger.FluentLogger;
|
||||||
import com.google.common.net.MediaType;
|
import com.google.common.net.MediaType;
|
||||||
|
|
|
@ -18,8 +18,8 @@ import google.registry.request.Action;
|
||||||
import google.registry.request.Action.Method;
|
import google.registry.request.Action.Method;
|
||||||
import google.registry.request.Payload;
|
import google.registry.request.Payload;
|
||||||
import google.registry.request.auth.Auth;
|
import google.registry.request.auth.Auth;
|
||||||
|
import jakarta.servlet.http.HttpSession;
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
import javax.servlet.http.HttpSession;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Establishes a transport for EPP+TLS over HTTP. All commands and responses are EPP XML according
|
* Establishes a transport for EPP+TLS over HTTP. All commands and responses are EPP XML according
|
||||||
|
|
|
@ -25,8 +25,8 @@ import google.registry.request.Action;
|
||||||
import google.registry.request.Action.Method;
|
import google.registry.request.Action.Method;
|
||||||
import google.registry.request.Parameter;
|
import google.registry.request.Parameter;
|
||||||
import google.registry.request.auth.Auth;
|
import google.registry.request.auth.Auth;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
|
|
||||||
/** Runs EPP commands directly without logging in, verifying an XSRF token from the tool. */
|
/** Runs EPP commands directly without logging in, verifying an XSRF token from the tool. */
|
||||||
@Action(
|
@Action(
|
||||||
|
|
|
@ -18,9 +18,9 @@ import static com.google.common.base.MoreObjects.toStringHelper;
|
||||||
import static google.registry.util.CollectionUtils.nullToEmpty;
|
import static google.registry.util.CollectionUtils.nullToEmpty;
|
||||||
|
|
||||||
import com.google.common.base.Joiner;
|
import com.google.common.base.Joiner;
|
||||||
|
import jakarta.servlet.http.HttpSession;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import javax.servlet.http.HttpSession;
|
|
||||||
|
|
||||||
/** A metadata class that is a wrapper around {@link HttpSession}. */
|
/** A metadata class that is a wrapper around {@link HttpSession}. */
|
||||||
public class HttpSessionMetadata implements SessionMetadata {
|
public class HttpSessionMetadata implements SessionMetadata {
|
||||||
|
|
|
@ -34,11 +34,11 @@ import google.registry.request.Header;
|
||||||
import google.registry.util.CidrAddressBlock;
|
import google.registry.util.CidrAddressBlock;
|
||||||
import google.registry.util.ProxyHttpHeaders;
|
import google.registry.util.ProxyHttpHeaders;
|
||||||
import google.registry.util.RegistryEnvironment;
|
import google.registry.util.RegistryEnvironment;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import java.net.InetAddress;
|
import java.net.InetAddress;
|
||||||
import java.security.MessageDigest;
|
import java.security.MessageDigest;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Container and validation for TLS certificate and IP-allow-listing.
|
* Container and validation for TLS certificate and IP-allow-listing.
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
package google.registry.groups;
|
package google.registry.groups;
|
||||||
|
|
||||||
import static google.registry.util.CollectionUtils.nullToEmpty;
|
import static google.registry.util.CollectionUtils.nullToEmpty;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_CONFLICT;
|
import static jakarta.servlet.http.HttpServletResponse.SC_CONFLICT;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_NOT_FOUND;
|
import static jakarta.servlet.http.HttpServletResponse.SC_NOT_FOUND;
|
||||||
|
|
||||||
import com.google.api.client.googleapis.json.GoogleJsonError;
|
import com.google.api.client.googleapis.json.GoogleJsonError;
|
||||||
import com.google.api.client.googleapis.json.GoogleJsonResponseException;
|
import com.google.api.client.googleapis.json.GoogleJsonResponseException;
|
||||||
|
|
|
@ -20,7 +20,7 @@ import static google.registry.request.RequestParameters.extractRequiredParameter
|
||||||
import dagger.Module;
|
import dagger.Module;
|
||||||
import dagger.Provides;
|
import dagger.Provides;
|
||||||
import google.registry.request.Parameter;
|
import google.registry.request.Parameter;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import org.joda.time.Minutes;
|
import org.joda.time.Minutes;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -19,12 +19,12 @@ import com.google.monitoring.metrics.MetricReporter;
|
||||||
import dagger.Lazy;
|
import dagger.Lazy;
|
||||||
import google.registry.request.RequestHandler;
|
import google.registry.request.RequestHandler;
|
||||||
import google.registry.util.SystemClock;
|
import google.registry.util.SystemClock;
|
||||||
|
import jakarta.servlet.http.HttpServlet;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
|
import jakarta.servlet.http.HttpServletResponse;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.security.Security;
|
import java.security.Security;
|
||||||
import java.util.concurrent.TimeoutException;
|
import java.util.concurrent.TimeoutException;
|
||||||
import javax.servlet.http.HttpServlet;
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import javax.servlet.http.HttpServletResponse;
|
|
||||||
import org.bouncycastle.jce.provider.BouncyCastleProvider;
|
import org.bouncycastle.jce.provider.BouncyCastleProvider;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
|
|
||||||
|
|
|
@ -19,9 +19,9 @@ import static com.google.common.base.Preconditions.checkArgument;
|
||||||
import static com.google.common.net.HttpHeaders.ACCESS_CONTROL_ALLOW_ORIGIN;
|
import static com.google.common.net.HttpHeaders.ACCESS_CONTROL_ALLOW_ORIGIN;
|
||||||
import static google.registry.request.Actions.getPathForAction;
|
import static google.registry.request.Actions.getPathForAction;
|
||||||
import static google.registry.util.DomainNameUtils.canonicalizeHostname;
|
import static google.registry.util.DomainNameUtils.canonicalizeHostname;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_BAD_REQUEST;
|
import static jakarta.servlet.http.HttpServletResponse.SC_BAD_REQUEST;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
import static jakarta.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
|
|
||||||
import com.google.common.flogger.FluentLogger;
|
import com.google.common.flogger.FluentLogger;
|
||||||
import com.google.common.net.MediaType;
|
import com.google.common.net.MediaType;
|
||||||
|
|
|
@ -23,8 +23,8 @@ import google.registry.request.RequestParameters;
|
||||||
import google.registry.request.auth.AuthResult;
|
import google.registry.request.auth.AuthResult;
|
||||||
import google.registry.request.auth.AuthenticatedRegistrarAccessor;
|
import google.registry.request.auth.AuthenticatedRegistrarAccessor;
|
||||||
import google.registry.request.auth.UserAuthInfo;
|
import google.registry.request.auth.UserAuthInfo;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
|
|
||||||
/** Dagger module for the RDAP package. */
|
/** Dagger module for the RDAP package. */
|
||||||
@Module
|
@Module
|
||||||
|
|
|
@ -27,8 +27,8 @@ import dagger.Binds;
|
||||||
import dagger.Module;
|
import dagger.Module;
|
||||||
import dagger.Provides;
|
import dagger.Provides;
|
||||||
import google.registry.request.Parameter;
|
import google.registry.request.Parameter;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -20,10 +20,10 @@ import static google.registry.request.Action.Method.GET;
|
||||||
import static google.registry.request.Action.Method.POST;
|
import static google.registry.request.Action.Method.POST;
|
||||||
import static google.registry.xml.ValidationMode.LENIENT;
|
import static google.registry.xml.ValidationMode.LENIENT;
|
||||||
import static google.registry.xml.ValidationMode.STRICT;
|
import static google.registry.xml.ValidationMode.STRICT;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_NO_CONTENT;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
import static java.util.function.Function.identity;
|
import static java.util.function.Function.identity;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_NO_CONTENT;
|
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
|
||||||
|
|
||||||
import com.google.api.services.dataflow.Dataflow;
|
import com.google.api.services.dataflow.Dataflow;
|
||||||
import com.google.api.services.dataflow.model.LaunchFlexTemplateParameter;
|
import com.google.api.services.dataflow.model.LaunchFlexTemplateParameter;
|
||||||
|
|
|
@ -27,8 +27,8 @@ import google.registry.request.HttpException.BadRequestException;
|
||||||
import google.registry.request.Parameter;
|
import google.registry.request.Parameter;
|
||||||
import google.registry.util.Clock;
|
import google.registry.util.Clock;
|
||||||
import google.registry.util.GoogleCredentialsBundle;
|
import google.registry.util.GoogleCredentialsBundle;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import org.joda.time.DateTimeZone;
|
import org.joda.time.DateTimeZone;
|
||||||
import org.joda.time.LocalDate;
|
import org.joda.time.LocalDate;
|
||||||
import org.joda.time.YearMonth;
|
import org.joda.time.YearMonth;
|
||||||
|
|
|
@ -21,10 +21,10 @@ import dagger.Module;
|
||||||
import dagger.Provides;
|
import dagger.Provides;
|
||||||
import google.registry.config.RegistryConfig.Config;
|
import google.registry.config.RegistryConfig.Config;
|
||||||
import google.registry.request.Parameter;
|
import google.registry.request.Parameter;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import java.lang.annotation.Documented;
|
import java.lang.annotation.Documented;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
import javax.inject.Qualifier;
|
import javax.inject.Qualifier;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import org.joda.time.YearMonth;
|
import org.joda.time.YearMonth;
|
||||||
|
|
||||||
/** Module for dependencies required by monthly billing actions. */
|
/** Module for dependencies required by monthly billing actions. */
|
||||||
|
|
|
@ -16,8 +16,8 @@ package google.registry.reporting.billing;
|
||||||
|
|
||||||
import static com.google.common.base.Throwables.getRootCause;
|
import static com.google.common.base.Throwables.getRootCause;
|
||||||
import static google.registry.request.Action.Method.POST;
|
import static google.registry.request.Action.Method.POST;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
import static jakarta.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
|
|
||||||
import com.google.cloud.storage.BlobId;
|
import com.google.cloud.storage.BlobId;
|
||||||
import com.google.common.base.Splitter;
|
import com.google.common.base.Splitter;
|
||||||
|
|
|
@ -16,8 +16,8 @@ package google.registry.reporting.billing;
|
||||||
|
|
||||||
import static google.registry.beam.BeamUtils.createJobName;
|
import static google.registry.beam.BeamUtils.createJobName;
|
||||||
import static google.registry.request.Action.Method.POST;
|
import static google.registry.request.Action.Method.POST;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
import static jakarta.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
|
|
||||||
import com.google.api.services.dataflow.Dataflow;
|
import com.google.api.services.dataflow.Dataflow;
|
||||||
import com.google.api.services.dataflow.model.LaunchFlexTemplateParameter;
|
import com.google.api.services.dataflow.model.LaunchFlexTemplateParameter;
|
||||||
|
|
|
@ -16,10 +16,10 @@ package google.registry.reporting.billing;
|
||||||
|
|
||||||
import static google.registry.reporting.ReportingModule.PARAM_YEAR_MONTH;
|
import static google.registry.reporting.ReportingModule.PARAM_YEAR_MONTH;
|
||||||
import static google.registry.request.Action.Method.POST;
|
import static google.registry.request.Action.Method.POST;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
import static jakarta.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_NO_CONTENT;
|
import static jakarta.servlet.http.HttpServletResponse.SC_NO_CONTENT;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_SERVICE_UNAVAILABLE;
|
import static jakarta.servlet.http.HttpServletResponse.SC_SERVICE_UNAVAILABLE;
|
||||||
|
|
||||||
import com.google.api.services.dataflow.Dataflow;
|
import com.google.api.services.dataflow.Dataflow;
|
||||||
import com.google.api.services.dataflow.model.Job;
|
import com.google.api.services.dataflow.model.Job;
|
||||||
|
|
|
@ -25,9 +25,9 @@ import dagger.Provides;
|
||||||
import google.registry.bigquery.BigqueryConnection;
|
import google.registry.bigquery.BigqueryConnection;
|
||||||
import google.registry.request.HttpException.BadRequestException;
|
import google.registry.request.HttpException.BadRequestException;
|
||||||
import google.registry.request.Parameter;
|
import google.registry.request.Parameter;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import javax.inject.Named;
|
import javax.inject.Named;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import org.joda.time.Duration;
|
import org.joda.time.Duration;
|
||||||
|
|
||||||
/** Module for dependencies required by ICANN monthly transactions/activity reporting. */
|
/** Module for dependencies required by ICANN monthly transactions/activity reporting. */
|
||||||
|
|
|
@ -18,8 +18,8 @@ import static com.google.common.base.Throwables.getRootCause;
|
||||||
import static google.registry.reporting.icann.IcannReportingModule.PARAM_REPORT_TYPES;
|
import static google.registry.reporting.icann.IcannReportingModule.PARAM_REPORT_TYPES;
|
||||||
import static google.registry.reporting.icann.IcannReportingModule.PARAM_SUBDIR;
|
import static google.registry.reporting.icann.IcannReportingModule.PARAM_SUBDIR;
|
||||||
import static google.registry.request.Action.Method.POST;
|
import static google.registry.request.Action.Method.POST;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
import static jakarta.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
|
|
||||||
import com.google.common.base.Joiner;
|
import com.google.common.base.Joiner;
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
|
|
|
@ -17,7 +17,7 @@ package google.registry.reporting.icann;
|
||||||
import static com.google.common.net.MediaType.PLAIN_TEXT_UTF_8;
|
import static com.google.common.net.MediaType.PLAIN_TEXT_UTF_8;
|
||||||
import static google.registry.persistence.transaction.TransactionManagerFactory.tm;
|
import static google.registry.persistence.transaction.TransactionManagerFactory.tm;
|
||||||
import static google.registry.request.Action.Method.POST;
|
import static google.registry.request.Action.Method.POST;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
|
|
||||||
import com.google.cloud.storage.BlobId;
|
import com.google.cloud.storage.BlobId;
|
||||||
import com.google.common.collect.ImmutableMap;
|
import com.google.common.collect.ImmutableMap;
|
||||||
|
|
|
@ -16,8 +16,8 @@ package google.registry.reporting.spec11;
|
||||||
|
|
||||||
import static google.registry.beam.BeamUtils.createJobName;
|
import static google.registry.beam.BeamUtils.createJobName;
|
||||||
import static google.registry.request.Action.Method.POST;
|
import static google.registry.request.Action.Method.POST;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
import static jakarta.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
|
|
||||||
import com.google.api.services.dataflow.Dataflow;
|
import com.google.api.services.dataflow.Dataflow;
|
||||||
import com.google.api.services.dataflow.model.LaunchFlexTemplateParameter;
|
import com.google.api.services.dataflow.model.LaunchFlexTemplateParameter;
|
||||||
|
|
|
@ -17,10 +17,10 @@ package google.registry.reporting.spec11;
|
||||||
import static com.google.common.collect.ImmutableSet.toImmutableSet;
|
import static com.google.common.collect.ImmutableSet.toImmutableSet;
|
||||||
import static google.registry.reporting.ReportingModule.PARAM_DATE;
|
import static google.registry.reporting.ReportingModule.PARAM_DATE;
|
||||||
import static google.registry.request.Action.Method.POST;
|
import static google.registry.request.Action.Method.POST;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
import static jakarta.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_NO_CONTENT;
|
import static jakarta.servlet.http.HttpServletResponse.SC_NO_CONTENT;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_SERVICE_UNAVAILABLE;
|
import static jakarta.servlet.http.HttpServletResponse.SC_SERVICE_UNAVAILABLE;
|
||||||
|
|
||||||
import com.google.api.services.dataflow.Dataflow;
|
import com.google.api.services.dataflow.Dataflow;
|
||||||
import com.google.api.services.dataflow.model.Job;
|
import com.google.api.services.dataflow.model.Job;
|
||||||
|
|
|
@ -22,7 +22,7 @@ import javax.inject.Qualifier;
|
||||||
/**
|
/**
|
||||||
* Dagger qualifier for the HTTP servlet path, prepended with scheme, host and port.
|
* Dagger qualifier for the HTTP servlet path, prepended with scheme, host and port.
|
||||||
*
|
*
|
||||||
* See {@link javax.servlet.http.HttpServletRequest#getServletPath}
|
* <p>See {@link jakarta.servlet.http.HttpServletRequest#getServletPath}
|
||||||
*/
|
*/
|
||||||
@Qualifier
|
@Qualifier
|
||||||
@Documented
|
@Documented
|
||||||
|
|
|
@ -17,9 +17,9 @@ package google.registry.request;
|
||||||
import static com.google.common.html.HtmlEscapers.htmlEscaper;
|
import static com.google.common.html.HtmlEscapers.htmlEscaper;
|
||||||
|
|
||||||
import com.google.common.flogger.FluentLogger;
|
import com.google.common.flogger.FluentLogger;
|
||||||
|
import jakarta.servlet.http.HttpServletResponse;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
|
||||||
|
|
||||||
/** Base for exceptions that cause an HTTP error response. */
|
/** Base for exceptions that cause an HTTP error response. */
|
||||||
public abstract class HttpException extends RuntimeException {
|
public abstract class HttpException extends RuntimeException {
|
||||||
|
|
|
@ -16,10 +16,10 @@ package google.registry.request;
|
||||||
|
|
||||||
import static com.google.common.base.Preconditions.checkNotNull;
|
import static com.google.common.base.Preconditions.checkNotNull;
|
||||||
import static com.google.common.net.MediaType.PLAIN_TEXT_UTF_8;
|
import static com.google.common.net.MediaType.PLAIN_TEXT_UTF_8;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_FORBIDDEN;
|
import static jakarta.servlet.http.HttpServletResponse.SC_FORBIDDEN;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
import static jakarta.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_METHOD_NOT_ALLOWED;
|
import static jakarta.servlet.http.HttpServletResponse.SC_METHOD_NOT_ALLOWED;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_NOT_FOUND;
|
import static jakarta.servlet.http.HttpServletResponse.SC_NOT_FOUND;
|
||||||
|
|
||||||
import com.google.common.flogger.FluentLogger;
|
import com.google.common.flogger.FluentLogger;
|
||||||
import google.registry.request.auth.AuthResult;
|
import google.registry.request.auth.AuthResult;
|
||||||
|
@ -27,12 +27,12 @@ import google.registry.request.auth.RequestAuthenticator;
|
||||||
import google.registry.util.NonFinalForTesting;
|
import google.registry.util.NonFinalForTesting;
|
||||||
import google.registry.util.SystemClock;
|
import google.registry.util.SystemClock;
|
||||||
import google.registry.util.TypeUtils.TypeInstantiator;
|
import google.registry.util.TypeUtils.TypeInstantiator;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
|
import jakarta.servlet.http.HttpServletResponse;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
import javax.inject.Provider;
|
import javax.inject.Provider;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import javax.servlet.http.HttpServletResponse;
|
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
import org.joda.time.Duration;
|
import org.joda.time.Duration;
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ import javax.inject.Qualifier;
|
||||||
/**
|
/**
|
||||||
* Dagger qualifier for the HTTP request method.
|
* Dagger qualifier for the HTTP request method.
|
||||||
*
|
*
|
||||||
* @see javax.servlet.http.HttpServletRequest#getMethod()
|
* @see jakarta.servlet.http.HttpServletRequest#getMethod()
|
||||||
*/
|
*/
|
||||||
@Qualifier
|
@Qualifier
|
||||||
@Documented
|
@Documented
|
||||||
|
|
|
@ -43,12 +43,12 @@ import google.registry.request.auth.AuthResult;
|
||||||
import google.registry.request.lock.LockHandler;
|
import google.registry.request.lock.LockHandler;
|
||||||
import google.registry.request.lock.LockHandlerImpl;
|
import google.registry.request.lock.LockHandlerImpl;
|
||||||
import google.registry.tools.GsonUtils;
|
import google.registry.tools.GsonUtils;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
|
import jakarta.servlet.http.HttpServletResponse;
|
||||||
|
import jakarta.servlet.http.HttpSession;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import javax.servlet.http.HttpServletResponse;
|
|
||||||
import javax.servlet.http.HttpSession;
|
|
||||||
import org.json.simple.JSONValue;
|
import org.json.simple.JSONValue;
|
||||||
import org.json.simple.parser.ParseException;
|
import org.json.simple.parser.ParseException;
|
||||||
|
|
||||||
|
|
|
@ -24,9 +24,9 @@ import com.google.common.base.Ascii;
|
||||||
import com.google.common.base.Splitter;
|
import com.google.common.base.Splitter;
|
||||||
import com.google.common.collect.ImmutableSet;
|
import com.google.common.collect.ImmutableSet;
|
||||||
import google.registry.request.HttpException.BadRequestException;
|
import google.registry.request.HttpException.BadRequestException;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
|
|
||||||
/** Utilities for extracting parameters from HTTP requests. */
|
/** Utilities for extracting parameters from HTTP requests. */
|
||||||
|
|
|
@ -20,7 +20,7 @@ import javax.inject.Qualifier;
|
||||||
/**
|
/**
|
||||||
* Dagger qualifier for the HTTP request path.
|
* Dagger qualifier for the HTTP request path.
|
||||||
*
|
*
|
||||||
* @see javax.servlet.http.HttpServletRequest#getRequestURI()
|
* @see jakarta.servlet.http.HttpServletRequest#getRequestURI()
|
||||||
*/
|
*/
|
||||||
@Qualifier
|
@Qualifier
|
||||||
@Documented
|
@Documented
|
||||||
|
|
|
@ -23,7 +23,7 @@ import javax.inject.Qualifier;
|
||||||
/**
|
/**
|
||||||
* Dagger qualifier for the HTTP request URL.
|
* Dagger qualifier for the HTTP request URL.
|
||||||
*
|
*
|
||||||
* @see javax.servlet.http.HttpServletRequest#getRequestURL()
|
* @see jakarta.servlet.http.HttpServletRequest#getRequestURL()
|
||||||
*/
|
*/
|
||||||
@Retention(RUNTIME)
|
@Retention(RUNTIME)
|
||||||
@Qualifier
|
@Qualifier
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
package google.registry.request;
|
package google.registry.request;
|
||||||
|
|
||||||
import com.google.common.net.MediaType;
|
import com.google.common.net.MediaType;
|
||||||
import javax.servlet.http.Cookie;
|
import jakarta.servlet.http.Cookie;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import jakarta.servlet.http.HttpServletResponse;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -15,10 +15,10 @@
|
||||||
package google.registry.request;
|
package google.registry.request;
|
||||||
|
|
||||||
import com.google.common.net.MediaType;
|
import com.google.common.net.MediaType;
|
||||||
|
import jakarta.servlet.http.Cookie;
|
||||||
|
import jakarta.servlet.http.HttpServletResponse;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
import javax.servlet.http.Cookie;
|
|
||||||
import javax.servlet.http.HttpServletResponse;
|
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
|
|
||||||
/** HTTP response object. */
|
/** HTTP response object. */
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
package google.registry.request.auth;
|
package google.registry.request.auth;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A particular way to authenticate an HTTP request, returning an {@link AuthResult}.
|
* A particular way to authenticate an HTTP request, returning an {@link AuthResult}.
|
||||||
|
|
|
@ -23,8 +23,8 @@ import static google.registry.security.XsrfTokenManager.X_CSRF_TOKEN;
|
||||||
import com.google.appengine.api.users.UserService;
|
import com.google.appengine.api.users.UserService;
|
||||||
import com.google.common.collect.ImmutableSet;
|
import com.google.common.collect.ImmutableSet;
|
||||||
import google.registry.security.XsrfTokenManager;
|
import google.registry.security.XsrfTokenManager;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Authentication mechanism for legacy cookie-based App Engine authentication.
|
* Authentication mechanism for legacy cookie-based App Engine authentication.
|
||||||
|
|
|
@ -27,10 +27,10 @@ import google.registry.request.auth.AuthModule.RegularOidc;
|
||||||
import google.registry.request.auth.AuthModule.RegularOidcFallback;
|
import google.registry.request.auth.AuthModule.RegularOidcFallback;
|
||||||
import google.registry.request.auth.AuthSettings.AuthLevel;
|
import google.registry.request.auth.AuthSettings.AuthLevel;
|
||||||
import google.registry.util.RegistryEnvironment;
|
import google.registry.util.RegistryEnvironment;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An authenticam mechanism that verifies the OIDC token.
|
* An authenticam mechanism that verifies the OIDC token.
|
||||||
|
|
|
@ -24,9 +24,9 @@ import com.google.common.collect.ImmutableList;
|
||||||
import com.google.common.collect.Ordering;
|
import com.google.common.collect.Ordering;
|
||||||
import com.google.common.flogger.FluentLogger;
|
import com.google.common.flogger.FluentLogger;
|
||||||
import google.registry.request.auth.AuthSettings.AuthMethod;
|
import google.registry.request.auth.AuthSettings.AuthMethod;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
|
|
||||||
/** Top-level authentication/authorization class; calls authentication mechanisms as needed. */
|
/** Top-level authentication/authorization class; calls authentication mechanisms as needed. */
|
||||||
public class RequestAuthenticator {
|
public class RequestAuthenticator {
|
||||||
|
|
|
@ -22,13 +22,13 @@ import static org.json.simple.JSONValue.writeJSONString;
|
||||||
|
|
||||||
import com.google.common.flogger.FluentLogger;
|
import com.google.common.flogger.FluentLogger;
|
||||||
import com.google.common.net.MediaType;
|
import com.google.common.net.MediaType;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
|
import jakarta.servlet.http.HttpServletResponse;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.Reader;
|
import java.io.Reader;
|
||||||
import java.io.Writer;
|
import java.io.Writer;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import javax.servlet.http.HttpServletResponse;
|
|
||||||
import org.json.simple.JSONValue;
|
import org.json.simple.JSONValue;
|
||||||
import org.json.simple.parser.ParseException;
|
import org.json.simple.parser.ParseException;
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,8 @@ import static com.google.common.base.Preconditions.checkArgument;
|
||||||
import static google.registry.request.UrlConnectionUtils.getResponseBytes;
|
import static google.registry.request.UrlConnectionUtils.getResponseBytes;
|
||||||
import static google.registry.request.UrlConnectionUtils.setBasicAuth;
|
import static google.registry.request.UrlConnectionUtils.setBasicAuth;
|
||||||
import static google.registry.util.HexDumper.dumpHex;
|
import static google.registry.util.HexDumper.dumpHex;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
import static java.nio.charset.StandardCharsets.US_ASCII;
|
import static java.nio.charset.StandardCharsets.US_ASCII;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
|
||||||
|
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
import com.google.common.flogger.FluentLogger;
|
import com.google.common.flogger.FluentLogger;
|
||||||
|
|
|
@ -24,8 +24,8 @@ import static google.registry.tmch.LordnTaskUtils.COLUMNS_CLAIMS;
|
||||||
import static google.registry.tmch.LordnTaskUtils.COLUMNS_SUNRISE;
|
import static google.registry.tmch.LordnTaskUtils.COLUMNS_SUNRISE;
|
||||||
import static google.registry.tmch.LordnTaskUtils.getCsvLineForClaimsDomain;
|
import static google.registry.tmch.LordnTaskUtils.getCsvLineForClaimsDomain;
|
||||||
import static google.registry.tmch.LordnTaskUtils.getCsvLineForSunriseDomain;
|
import static google.registry.tmch.LordnTaskUtils.getCsvLineForSunriseDomain;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_ACCEPTED;
|
||||||
import static java.nio.charset.StandardCharsets.US_ASCII;
|
import static java.nio.charset.StandardCharsets.US_ASCII;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_ACCEPTED;
|
|
||||||
|
|
||||||
import com.google.api.client.http.HttpMethods;
|
import com.google.api.client.http.HttpMethods;
|
||||||
import com.google.cloud.tasks.v2.Task;
|
import com.google.cloud.tasks.v2.Task;
|
||||||
|
|
|
@ -15,9 +15,9 @@
|
||||||
package google.registry.tmch;
|
package google.registry.tmch;
|
||||||
|
|
||||||
import static google.registry.request.UrlConnectionUtils.getResponseBytes;
|
import static google.registry.request.UrlConnectionUtils.getResponseBytes;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_NO_CONTENT;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_NO_CONTENT;
|
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
|
||||||
|
|
||||||
import com.google.common.annotations.VisibleForTesting;
|
import com.google.common.annotations.VisibleForTesting;
|
||||||
import com.google.common.flogger.FluentLogger;
|
import com.google.common.flogger.FluentLogger;
|
||||||
|
|
|
@ -23,9 +23,9 @@ import dagger.Provides;
|
||||||
import google.registry.keyring.api.KeyModule.Key;
|
import google.registry.keyring.api.KeyModule.Key;
|
||||||
import google.registry.request.HttpException.BadRequestException;
|
import google.registry.request.HttpException.BadRequestException;
|
||||||
import google.registry.request.Parameter;
|
import google.registry.request.Parameter;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import java.net.MalformedURLException;
|
import java.net.MalformedURLException;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import org.bouncycastle.openpgp.PGPPublicKey;
|
import org.bouncycastle.openpgp.PGPPublicKey;
|
||||||
|
|
||||||
/** Dagger module for TMCH package. */
|
/** Dagger module for TMCH package. */
|
||||||
|
|
|
@ -16,8 +16,8 @@ package google.registry.tools.server;
|
||||||
|
|
||||||
import static google.registry.export.SyncGroupMembersAction.getGroupEmailAddressForContactType;
|
import static google.registry.export.SyncGroupMembersAction.getGroupEmailAddressForContactType;
|
||||||
import static google.registry.request.Action.Method.POST;
|
import static google.registry.request.Action.Method.POST;
|
||||||
|
import static jakarta.servlet.http.HttpServletResponse.SC_OK;
|
||||||
import static java.util.Arrays.asList;
|
import static java.util.Arrays.asList;
|
||||||
import static javax.servlet.http.HttpServletResponse.SC_OK;
|
|
||||||
|
|
||||||
import com.google.common.flogger.FluentLogger;
|
import com.google.common.flogger.FluentLogger;
|
||||||
import google.registry.config.RegistryConfig.Config;
|
import google.registry.config.RegistryConfig.Config;
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue