google-nomulus/java/google/registry/tools
mmuller e43349592d Allow AppEngineConnection to target services other than "tools"
This change required several things:
- Separating out the interfaces that merely do HTTP calls to the backend from those
  that require the remote API (only load the remote API for the latter).  Only the
  tools service provides the remote api endpoint.
- Removing the XSRF token as an authentication mechanism (with OAUTH, we no longer
  need this, and trying to provide it requires initialization of the datastore
  code which requires the remote API)

I can't think of a compelling unit test for this beyond what already exists.
Tested:
  Verified that:
  - nomulus tool commands (e.g. "list_tlds") work against the tools service as they
    currently do
  - The "curl" command hits endpoints on "tools" by default.
  - We can use --server to specify endpoints on the default service.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=211510454
2018-09-08 00:10:06 -04:00
..
javascrap Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
params Add GenerateSpec11Action and SafeBrowsing evaluation 2018-08-10 13:46:48 -04:00
resources Add documentation about OAuth2 client id configuration 2017-07-12 11:03:50 -04:00
server Remove transition code for set of parameter refactoring 2018-07-14 01:37:03 -04:00
soy Add a nomulus renew_domain command 2018-06-06 15:16:09 -04:00
AllocateDomainCommand.java Migrate away from VoidWorks 2018-06-27 15:28:52 -04:00
AppEngineConnection.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
AppEngineConnectionFlags.java Add Client-side OAuth2 to HTTP connections 2017-02-17 12:17:53 -05:00
AuthModule.java Make "throws" clause use IOException 2017-05-17 12:17:40 -04:00
BigqueryCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
BigqueryParameters.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
BUILD Add feature to disable --experimental_java_proto_library_enforce_strict_deps for 2018-08-10 13:44:25 -04:00
CanonicalizeLabelsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CheckDomainClaimsCommand.java Fix verb order in nomulus tool domain check commands 2018-04-10 17:04:07 -04:00
CheckDomainCommand.java Merge the check_domain_fee nomulus command into check_domain 2018-05-30 12:18:54 -04:00
CheckSnapshotCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
Command.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
CommandRunner.java Add a "shell" pseudo-command to nomulus tool 2018-03-19 18:22:01 -04:00
CommandUtilities.java Fix CommandUtilities to fail gracefully if stdin is unavailable 2017-02-06 16:45:23 -05:00
CommandWithConnection.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
ComparableEntity.java Implement ComparableEntity class 2017-09-12 15:51:50 -04:00
CompareDbBackups.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
ConfirmingCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
ConvertIdnCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
CountDomainsCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
CreateAnchorTenantCommand.java Delete all Limited Release Program (LRP) code 2018-08-20 14:28:16 -04:00
CreateCdnsTld.java Disallow creating CDNS zones for sandbox TLDs 2018-09-08 00:01:13 -04:00
CreateContactCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateDomainCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
CreateHostCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateOrUpdateDomainCommand.java Allow square bracket expansion when specifying nameservers 2018-08-10 13:44:25 -04:00
CreateOrUpdatePremiumListCommand.java Export Weimin as author of commits to GitHub 2018-07-14 01:37:03 -04:00
CreateOrUpdateRegistrarCommand.java Delete all Braintree code 2018-07-14 01:37:03 -04:00
CreateOrUpdateReservedListCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateOrUpdateTldCommand.java Delete all Limited Release Program (LRP) code 2018-08-20 14:28:16 -04:00
CreatePremiumListCommand.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
CreateRegistrarCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
CreateRegistrarGroupsCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
CreateReservedListCommand.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
CreateTldCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
CurlCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
DefaultRequestFactoryModule.java Refactor Guava functional methods to use lambdas 2017-12-01 22:14:05 -05:00
DeleteDomainCommand.java Add flag to delete domain immediately in nomulus too 2018-05-30 12:18:54 -04:00
DeleteHostCommand.java Add delete_host nomulus tool command 2017-05-03 11:08:02 -04:00
DeletePremiumListCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
DeleteReservedListCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
DeleteTldCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
DeployInvoicingPipelineCommand.java Refactor beam invoicing pipeline into its own package 2018-07-17 22:08:13 -04:00
DeploySpec11PipelineCommand.java Add preliminary spec11 monthly pipeline 2018-08-10 13:44:25 -04:00
DomainApplicationInfoCommand.java Don't prompt to confirm non-mutating nomulus EPP tool commands 2018-04-10 16:53:18 -04:00
EncryptEscrowDepositCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
EppToolCommand.java Don't prompt to confirm non-mutating nomulus EPP tool commands 2018-04-10 16:53:18 -04:00
EscrowDepositEncryptor.java Simplify the RyDE API 2018-07-17 22:03:53 -04:00
ExecuteEppCommand.java Fix two Gauava 20 deprecations across the tools package 2017-02-02 16:54:28 -05:00
GenerateAllocationTokensCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
GenerateApplicationsReportCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
GenerateAuctionDataCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
GenerateDnsReportCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
GenerateEscrowDepositCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
GenerateLordnCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
GenerateZoneFilesCommand.java Add assertTldsExist(Iterable<String>) to check multiple TLDs at once 2017-04-10 13:44:52 -04:00
GetApplicationCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetApplicationIdsCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
GetAppliedLabelsCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
GetClaimsListCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
GetContactCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetDomainCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetEppResourceCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
GetHistoryEntriesCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
GetHostCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetKeyringSecretCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
GetRegistrarCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
GetResourceByKeyCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
GetRoutingMapCommand.java Add golden files for request component routing maps 2017-06-05 18:17:09 -04:00
GetSchemaCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
GetSchemaTreeCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
GetTldCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
GhostrydeCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
HashCertificateCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
HelpCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
Injector.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
LevelDbLogReader.java Create a LevelDBLogReader class for java 2017-08-29 16:25:33 -04:00
ListCursorsCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
ListDomainsCommand.java Add limit to list_domains command 2018-05-17 21:52:35 -04:00
ListHostsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListObjectsCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
ListPremiumListsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListRegistrarsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListReservedListsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListTldsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
LoadSnapshotCommand.java Remove more unnecessary "throws" declarations 2018-06-27 15:28:52 -04:00
LoadTestCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
LockDomainCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
LockOrUnlockDomainCommand.java Default clientId to registry's registrar in domain lock commands 2018-06-06 15:17:36 -04:00
logging.properties Reduce console log spamminess in nomulus tool 2018-02-20 15:32:04 -05:00
LoggingParameters.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
LoginCommand.java Fix nomulus tool NPEs on login/logout commands when printing usage 2017-03-13 10:35:23 -04:00
LogoutCommand.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
MutatingCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
MutatingEppToolCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
NonMutatingEppToolCommand.java Don't prompt to confirm non-mutating nomulus EPP tool commands 2018-04-10 16:53:18 -04:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
PendingEscrowCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
RecordAccumulator.java Create an entity record accumulator 2017-09-12 15:51:50 -04:00
RegistrarContactCommand.java Remove unnecessary Boolean boxing/unboxing 2017-11-07 17:08:35 -05:00
RegistryCli.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
RegistryTool.java Delete all Limited Release Program (LRP) code 2018-08-20 14:28:16 -04:00
RegistryToolComponent.java Delete all Limited Release Program (LRP) code 2018-08-20 14:28:16 -04:00
RegistryToolEnvironment.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
RegistryToolModule.java Create GenerateAllocationTokens nomulus tool command 2018-01-19 14:26:56 -05:00
RemoteApiCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
RenewDomainCommand.java Add a nomulus renew_domain command 2018-06-06 15:16:09 -04:00
ResaveEntitiesCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
ResaveEnvironmentEntitiesCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
ResaveEppResourceCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
SendEscrowReportToIcannCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
ServerSideCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
SetupOteCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
ShellCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
UniformRapidSuspensionCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
UnlockDomainCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
UpdateApplicationStatusCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
UpdateClaimsNoticeCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
UpdateCursorsCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
UpdateDomainCommand.java Allow square bracket expansion when specifying nameservers 2018-08-10 13:44:25 -04:00
UpdateKmsKeyringCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
UpdatePremiumListCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UpdateRegistrarCommand.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
UpdateReservedListCommand.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
UpdateServerLocksCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UpdateSmdCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
UpdateTldCommand.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
UploadClaimsListCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
UserIdProvider.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ValidateEscrowDepositCommand.java Simplify the Ghostryde API 2018-06-27 15:28:53 -04:00
ValidateLoginCredentialsCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00
VerifyOteCommand.java Change dash to underscore in param name for consistency 2018-04-02 16:36:50 -04:00
WhoisQueryCommand.java Allow AppEngineConnection to target services other than "tools" 2018-09-08 00:10:06 -04:00