Commit graph

67 commits

Author SHA1 Message Date
jart
734130aa73 Restructure Maven dependencies in build
We're now using java_import_external instead of maven_jar. This allows
us to specify the relationships between jars, thereby allowing us to
eliminate scores of vendor BUILD files that did nothing but re-export
@foo//jar targets, thus addressing the concerns of djhworld on Hacker
News: https://news.ycombinator.com/item?id=12738072

We now have redundant failover mirrors, which is a feature I added to
Bazel 0.4.2 in ed7ced0018

A new standard naming convention is now being used for all Maven repos.
Those names are calculated from the group_artifact name using the
following algorithm that eliminates redundancy:
https://gist.github.com/jart/41bfd977b913c2301627162f1c038e55

The JSR330 dep has been removed from java targets if they also depend
on Dagger, since Dagger always exports JSR330.

Annotation processor dependencies should now be leaner and meaner, by
more appropriately managing what needs to be on the classpath at
runtime. This should trim down the production jar by >1MB. As it stands
currently in the open source world:

- backend_jar_deploy.jar: 50MB
- frontend_jar_deploy.jar: 30MB
- tools_jar_deploy.jar: 45MB

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=143487929
2017-01-09 11:59:04 -05:00
mountford
98bbf8e7a2 Add documentation about the initial setting of RDE cursors
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=143112635
2017-01-09 11:59:04 -05:00
mcilwain
9d9c527917 Reconcile FeesAndCredits handling in price customization
Also adds a mechanism to ensure that fee extensions are included when custom
pricing logic adds a custom fee, and fixes up the domain restore flow to
properly use the restore price.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=142715136
2016-12-22 16:09:14 -05:00
mountford
348cea9d8d Clarify documentation about RDE cursors
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=142286219
2016-12-19 11:09:20 -05:00
mcilwain
3740171bbf Update create logic to ignore signed marks unless in sunrise
This addresses an issue where the existing logic assumed that the presence of a
signed mark means the current flow is a sunrise/sunrush request, when this isn't
necessarily true. It's safe to ignore signed marks in other circumstances.

This is a combination of work by Justin Graham <justin.af.graham@gmail.com>,
Nick Felt, and me (Ben). It is based on the original PR located at:
https://github.com/google/nomulus/pull/41

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=140784461
2016-12-06 11:52:46 -05:00
jart
59f4984083 Upgrade Nomulus to latest Closure Rules
Significant technical debt has been eliminated. The latest best
practices are also now adopted for dealing with runfiles and dealing
with files across repositories.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=140762937
2016-12-06 11:52:46 -05:00
mcilwain
e0dbc1cb12 Add link to final ReferenceUnion migration commit in Developing doc
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=139219744
2016-11-15 15:15:55 -05:00
mcilwain
9aa2f3b96e Make host flows only accept canonicalized host names as input
This now throws errors when a non-lower-cased, non-puny-coded, or non-canonicalized host name is passed in as an input parameter.

The approach we'll take is to first notify registrars which hosts we'll be renaming, then
issue EPP host update commands to effect those renames as superuser, then push this code
live to production.

This fixes #38 on GitHub.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=138441130
2016-11-10 11:29:03 -05:00
mountford
baaaacd4f5 Add extra flow logic hooks for application delete and update
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=138393251
2016-11-10 11:24:32 -05:00
mcilwain
cef07f6bc5 Use cursor to track updating of registrar sheet
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=138221931
2016-11-10 11:21:29 -05:00
mcilwain
050e734f6f Add information to doc on which app the nomulus tool connects to
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=137998955
2016-11-10 11:12:23 -05:00
ctingue
4ae9f6a107 Add documentation for ForeignKeyIndex and EppResourceIndex
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=137536233
2016-11-02 15:19:34 -04:00
cgoldfeder
1dbc5f6bb0 Replace command.applyTo() with inlined builder operations
These are much easier to understand.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=137446273
2016-11-02 15:19:34 -04:00
ctingue
5f8a95d853 Add additional LRP tests for non-application phases
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=137292394
2016-11-02 15:19:34 -04:00
mountford
fad0aa4ffa Add coding FAQ with answers from mailing list
We have answered various questions on the mailing list over time. Some of those answers are gathered into a file, in case they might be useful to others.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136831550
2016-10-24 11:57:00 -04:00
mountford
975f574256 Add Registrar FAQ document
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136765156
2016-10-24 10:55:37 -04:00
ctingue
4feb8b695f Add code structure documentation
Added overviews for EPP resources, billing events, history entries.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136732236
2016-10-24 10:42:37 -04:00
cgoldfeder
475203532e Flatten the domain and application create flows
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136601151
2016-10-19 13:08:33 -04:00
mcilwain
43821f650e Explain how to perform Datastore schema migrations in developing doc
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136522383
2016-10-19 11:07:52 -04:00
mountford
d355424f72 Add summary of support for ICANN reporting
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136487545
2016-10-19 11:06:24 -04:00
nickfelt
8c1021f8cb Add temporary extra steps to "first steps tutorial" in docs
These are needed for now to get all nomulus tool commands working.  Also some other minor doc cleanup.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136471375
2016-10-18 10:59:39 -04:00
mcilwain
00234a1038 Remove empty section headers from Markdown docs
The section headers can be re-added later along with their actual content.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136349771
2016-10-17 17:54:52 -04:00
mountford
2d11f12115 Post-submit changes to BRDA and RDE documentation
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136196437
2016-10-14 17:49:14 -04:00
mountford
afcd04f190 Add open source documentation about BRDA deposits
Also contains some fixes to the RDE documentation, and adds some site map entries.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136193503
2016-10-14 17:44:53 -04:00
mcilwain
6636e02d57 Clean up and consolidate some unused queues
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136170276
2016-10-14 17:37:21 -04:00
mcilwain
148270a813 Split premium/reserved list management into separate docs
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136089439
2016-10-14 17:00:33 -04:00
mountford
86dde1d976 Add open source RDE operational documentation
Taken from the SRE procedures page.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136083695
2016-10-14 17:00:32 -04:00
shikhman
7794fb04d1 Add documentation on Bazel to the code structure docs
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136083155
2016-10-14 17:00:32 -04:00
shikhman
9695024f1b Add Stackdriver Monitoring info to the operational documentation
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136066350
2016-10-14 16:58:07 -04:00
shikhman
77e826997d Add documentation about Guava to the code structure document
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136057514
2016-10-14 16:58:07 -04:00
mcilwain
edbb8985e6 Add [] documentation to code structure doc
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135956133
2016-10-14 16:58:07 -04:00
Ben McIlwain
27ec47051e Readability nits
Minor readability nits

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135726729
2016-10-11 11:27:53 -04:00
cgoldfeder
049c636966 Add a missing verification to DomainApplicationUpdateFlow.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135712711
2016-10-11 11:27:53 -04:00
nickfelt
6bbfef9eb3 Remove [TOC] tags from markdown documentation
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135699339
2016-10-11 11:27:48 -04:00
mcilwain
94c549d960 Delete obsoleted non-batched DNS refresh on host rename action
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135681285
2016-10-11 11:27:48 -04:00
nickfelt
f7a205975f Improve minor readability aspects of Admin Tool docs
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135531947
2016-10-11 11:27:48 -04:00
nickfelt
12734a33b5 Clarify what "speculative" refers to in code structure docs
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135530585
2016-10-11 11:27:48 -04:00
mcilwain
f9fe25f00a Use "Nomulus" name in documentation
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135509458
2016-10-11 11:04:41 -04:00
mmuller
86d8f35f79 Reflow markdown flow documentation to 80 characters
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135500481
2016-10-11 11:00:26 -04:00
cgoldfeder
a09d48a4a5 Decentralize how registry phase checks are done in flows
Very few flows actually check the phase. Push the checks down to the leaf
flows so that we can remove the inherited code from ResourceFlow and replace
it with utility methods. In the process, document and test two places that
throw the exception but did not previously test it.

This introduces a temporary hack in BaseDomainCreateFlow that does something
specific for DomainApplicationCreateFlow. It will go away literally tomorrow
when I flatten that flow.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135480538
2016-10-07 15:29:48 -04:00
shikhman
b62e60ed7e Fix documentation error in architecture doc
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135411618
2016-10-07 15:29:48 -04:00
mcilwain
30adfd28fc Reorganize install instructions across multiple help files
I've also improved the install instructions based on what actually works when
deploying the GitHub-hosted version of the codebase to App Engine using an
external cloud account.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135390967
2016-10-07 15:29:47 -04:00
mcilwain
d02d30a4cd Use google.registry namespace for specifying RegistryConfig impl
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135386524
2016-10-07 15:29:47 -04:00
cgoldfeder
886d6f8e17 Flatten the domain and domain application update flows
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135282371
2016-10-07 14:34:06 -04:00
mcilwain
e0f2620333 Reformat, rearrange, and edit install guide
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135124027
2016-10-05 11:58:23 -04:00
mcilwain
3b02d77ceb Rename 'registry_tool' to 'nomulus'
This changes everything with external visibility beyond the codebase
(i.e. the name of the compiled binary and the documentation that refers
to it). It does not change a lot of things internal to the codebase,
i.e. the "RegistryTool" class didn't change its name. We can rename that
in a subsequent CL if we want to.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135022087
2016-10-04 09:59:54 -04:00
nickfelt
ee13ee35b0 Merge gtech_tool functionality into registry_tool
This change consolidates gtech_tool into registry_tool.  Since App Engine has
no actual ACLs on the remote API (any access is essentially root access), we're
removing this to avoid giving the impression to users that gtech_tool is truly
locked down from a security perspective compared to registry_tool.

In addition to merging GtechTool.COMMAND_MAP into RegistryTool.COMMAND_MAP, this
change also removes the {create,update}_sandbox_tld commands (which only made
sense for gtech_tool) and removes references to gtech_tool in the documentation.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=134828710
2016-10-03 16:27:24 -04:00
mmuller
35d5307706 Convert hyphen-bullets to asterisks in flows.md
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=134817400
2016-10-03 16:18:30 -04:00
mmuller
ee5ebad832 Add flows.md to documentation directory
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=134810786
2016-10-03 16:12:31 -04:00
ctingue
414781e79b Add Cursor documentation
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=133994188
2016-09-26 13:26:37 -04:00