Commit graph

15 commits

Author SHA1 Message Date
mcilwain
45a194fd90 Merge tools/[] package into tools/server
There's no point in having this extra package exclusively for
[]s, especially because we already weren't being consistent and
had multiple []s in the tools/server package.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=118807843
2016-05-13 17:38:06 -04:00
cgoldfeder
ec2daec412 Adds the ability to whitelist registrants and nameservers on a TLD
This is needed for ROCC TLDs like .foo
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=118404870
2016-05-13 17:37:17 -04:00
Justine Tunney
076c8d7e27 Update copyright notice to Domain Registry Authors 2016-03-24 17:52:56 -04:00
mcilwain
c8d655e416 Add ability to manually trigger contact group syncs
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=117549773
2016-03-23 22:38:08 -04:00
mcilwain
9f548674b7 Use fewer simultaneous connections to Directory API
Ten turns out to have been set too high; that will occasionally throw
500 Backend errors from the API (presumably having to do with
rate-limiting).
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=117549363
2016-03-23 22:38:08 -04:00
mcilwain
2293be4079 Automatically create mailing lists for registrars
This improves one of our gTech processes so they no longer have to remember to create Google Groups for a registrar after creating that registrar.

The ConfirmingCommand.verify() method is renamed to be more general purpose, so that it can do anything that follows naturally after a successful execution, such as creating Google Groups groups.

Minor refactoring is done around RegistryToolEnvironment handling for tests to make it more bullet-proof and general case.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=117494277
2016-03-23 22:38:08 -04:00
nickfelt
5174c1c63f Improve RegistryToolEnvironment setup behavior
Here's an alternate approach that I think simplifies the existing
code quite a bit.  Now instead of doing:

  RegistryToolEnvironment.loadFromArgs(args);
  RegistryToolEnvironment.get().setup();

You just do one chained call:

  RegistryToolEnvironment.parseFromArgs(args).setup();

or call setup() on a known environment constant:

  RegistryToolEnvironment.ALPHA.setup();

This avoids having loadFromArgs() implicitly set the active env
(but *not* do setup) and then having setup() *not* set the active
env, both of which were confusing.  Now parseFromArgs() is only
responsible for parsing from args, and setup() both sets the env
as the active one and does the environment variable setup (which
also ensures that the RegistryToolEnvironment.instance field
doesn't get out of sync with the RegistryEnvironment value).

In addition, this CL adds a runCommandInEnvironment() method to
CommandTestCase and ensures that the UNITTEST environment is always
set before constructing the default command instance.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=117492978
2016-03-23 22:38:08 -04:00
mcilwain
702c5b9692 Annihilate the annihilator []
I am become Ben, annihilator of annihilators.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=117275133
2016-03-16 21:20:25 -04:00
ctingue
77dd730400 Break out EppResourceInput subclasses
This frankenclass was starting to get a little cluttered, especially once I add the ChildEntityInput/Reader.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=117266882
2016-03-16 21:20:25 -04:00
mcilwain
57fa57968d Rename Runnable classes from Tasks to Actions
This is cleanup relating to a naming decision that we made awhile ago
but never got around to.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=117244827
2016-03-16 21:20:25 -04:00
jart
6772b2ef80 Move VerifyOteAction to tools/server
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=116825910
2016-03-10 16:48:39 -05:00
Wolfgang Meyers
3df31fa64f Eclipse file generation script
Simple python script to generate the .project and .classpath files
for eclipse. The script bundles all jar dependencies into a single
jar file, collects all auto-generated java files into a single
source folder and adds them to the eclipse classpath.
2016-03-09 12:26:47 -08:00
Wolfgang Meyers
cfe153e735 Make additional targets publicly visible
The admin console needs public visibility for additional targets.

//java/com/google/domain/registry/tools/params
 - Needed for the Whois test server
//java/com/google/domain/registry/whois
 - Needed for reusing WhoisHttpServer in the whois appengine module
//javatests/com/google/domain/registry/server
 - Needed for the Whois test server
2016-03-08 11:12:25 -08:00
jart
a063508b5b Make bazel build fully hermetic
We no longer reference @bazel_tools//third_party. All of our transitive
dependencies are now specified explicitly in our WORKSPACE file.

I also fixed the way that jar dependencies are exported, so we don't
break strict dependency checking.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=116421176
2016-03-04 21:13:06 -05:00
Justine Tunney
0ef0c933d2 Import code from internal repository to git 2016-03-01 17:59:16 -05:00