Permalink
Switch branches/tags
Nothing to show
Commits on Sep 20, 2018
  1. Change from ES6 Map to old-fashioned object

    CydeWeys committed Sep 20, 2018
    This fixes the Kokoro tests broken by []
    
    Unfortunately this means that the return type changes from a Map to an Object as well,
    so all of the .get() lines need to turn into [].  Yay weakly typed languages. And
    apparently in some error conditions this method could already return the Object type
    anyway, even if you passed in a Map, so it's just poorly designed.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213808477
  2. Add a command-line tool suitable for tech support usage

    CydeWeys committed Sep 19, 2018
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213634869
  3. Mark CloudDnsConfigTest as GoogleInternal

    weiminyu authored and CydeWeys committed Sep 19, 2018
    Tests reference internal config settings not included in open source release.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213634437
  4. Handle Purchase Order numbers explicitly in billing pipeline

    CydeWeys committed Sep 19, 2018
    Note that these aren't used for most registrars.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213631863
  5. Move GCP proxy code to the old [] proxy's location

    jianglai authored and CydeWeys committed Sep 19, 2018
    1. Moved code for the GCP proxy to where the [] proxy code used to live.
    3. Corrected reference to the GCP proxy location.
    4. Misc changes to make ErrorProne and various tools happy.
    
    +diekmann to LGTM terraform whitelist change.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213630560
  6. Use @DefaultCredential for Cloud API access in GAE

    weiminyu authored and CydeWeys committed Sep 18, 2018
    This change completes the switch to @DefaultCredential for
    all use cases in GAE.
    
    Impacted modules:
    - IcannReporting
    - CreateCdnsTld command
    - LoadSnapshot command.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213511730
  7. Fix deprecated suppresses and Map type in JS

    CydeWeys committed Sep 18, 2018
    This properly fixes the issue that was suppressed in [] and
    just started breaking today thanks to []
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213510500
  8. Let RegistryTool proceed if MetricWriter is unavailable

    weiminyu authored and CydeWeys committed Sep 18, 2018
    This may happen with automated runs off Google Cloud.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213462175
  9. Use shorter includes on DNS writer packages

    CydeWeys committed Sep 17, 2018
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213320963
  10. Get rid of Providers class

    CydeWeys committed Sep 17, 2018
    inject_common isn't going to be open-sourced anytime soon, so replace it with a
    lambda, which wasn't an option when this was originally written we were still
    on Java 7 back then.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213318557
  11. Remove [] handling in AppEngineRule

    CydeWeys committed Sep 17, 2018
    It's not in use by anything anymore.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213293960
  12. Do not send SNI headers in the GCP proxy

    jianglai authored and CydeWeys committed Sep 17, 2018
    The server no longer checks it as of []
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213278568
  13. Delete the verify entity integrity mapreduce

    CydeWeys committed Sep 17, 2018
    We never really used it and it'll be obsolete come Registry 3.0 anyway.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213274520
  14. Update to bazel 0.17.1

    jianglai authored and CydeWeys committed Sep 17, 2018
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213271889
  15. Add MOE equivalence for 2018-09-14 sync

    CydeWeys committed Sep 14, 2018
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212996616
Commits on Sep 15, 2018
  1. Remove a reference to sun.security.provider.certpath

    cushon authored and jianglai committed Sep 15, 2018
    sun.security.provider.certpath.SunCertPathBuilderException is not visible in JDK 9,
    see: bazelbuild/bazel#6154
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213068821
  2. Remove checking of SNI headers

    jianglai committed Sep 14, 2018
    This is only useful when we used the [] proxy because the GFE requires SNI during handshake in order to request the client certificate. The GCP proxy does not need this (it always requests the client certificate). We do not need to check for its existence.
    
    Also removed the checking of internal headers for ssl cert hash used only by the [] proxy.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213059027
  3. Update dependencies to satisfy strictness and remove -jpl_strict_deps…

    jianglai committed Sep 14, 2018
    … feature
    
    Tested:
        TAP --sample for global presubmit queue
        []
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213040447
  4. Deploy spec11 reporting to production

    Exprosed authored and jianglai committed Sep 14, 2018
    This turns on spec11 reporting in production by adding it to the cron.xml, generating the report and sending an e-mail with a list of all problematic registrations to the associated registrar on the 2nd of each month at 15:00Z (11am EST)
    
    This also tweaks the e-mail template a bit according to suggestions from Bruno.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213031440
  5. Remove the "create" funtion from the Resource JS class

    guyben13 authored and jianglai committed Sep 14, 2018
    The original thought was that the actions you can do on a resource is:
    - create it
    - read it
    - update it
    
    (I guess you should have "delete" as well, but that isn't currently there)
    
    Although we use "read" and "update", we never use "create". So having it goes against the YAGNI principle :)
    
    Also, it had a bug: when sending a "create", the opt_newId in send_() would
    permanentily change the uri of the request, causing any subsequent request to
    go to the wrong endpoint.
    
    By removing the "create" we can simplify the rest of the code (the send_() function).
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213029499
  6. Remove the deprecated MISTAKEN_PREMIUM reservation type

    CydeWeys authored and jianglai committed Sep 14, 2018
    It doesn't do anything that ALLOWED_IN_SUNRISE doesn't do, and there's no point
    in having two separate types when we can simply keep track of the semantic
    difference between the two by using different lists (as we have for .soy).
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212997752
Commits on Sep 14, 2018
  1. Remove deprecated DNS subsystem

    CydeWeys committed Sep 14, 2018
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212987308
  2. Change how access tokens are refreshed

    jianglai authored and CydeWeys committed Sep 13, 2018
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212880971
  3. Add metrics for the command used in the registry CLI tool

    guyben13 authored and CydeWeys committed Sep 13, 2018
    Puts the metric in <project>/tools/commands_called
    
    It counts the use of the tool, with the following labels:
    - environment
    - tool (nomulus/gtech)
    - command called (class name)
    - success true/false
    - from the shell true/false
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212879670
  4. Enable Premium terms export in production

    weiminyu authored and CydeWeys committed Sep 13, 2018
    Defines cron job in crash, sandbox and production environments.
    Job already exists in alpha.
    
    Job is not added to qa environment.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212878436
  5. Delete mapreduce entity cleanup util

    CydeWeys committed Sep 13, 2018
    This is obsoleted by the upcoming Registry 3.0 migration, after which we will be
    using neither the App Engine Mapreduce library nor Cloud Datastore.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212864845
  6. Use new default credentials in a few more modules

    weiminyu authored and CydeWeys committed Sep 13, 2018
    Updated Reporting (Beam pipeline), Registrar sync to sheets, and Cloud Dns.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212811185
  7. Create a NettyRule

    guyben13 authored and CydeWeys committed Sep 13, 2018
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212806539
  8. Correct wrong description of command

    weiminyu authored and CydeWeys committed Sep 12, 2018
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212641409
  9. Add newline after closing boundary in multipart upload of LORDN

    guyben13 authored and CydeWeys committed Sep 12, 2018
    According to RFC 2046, the body of the multipart contains:
    
    multipart-body := [preamble CRLF]
                      dash-boundary transport-padding CRLF
                      body-part *encapsulation
                      close-delimiter transport-padding
                      [CRLF epilogue]
    
    The preemble and epilogue are optional, and ignored. However, it's not 100%
    explicit whether the CRLFs after the preamble and before the epilogue are
    required. The one after the preemble is often not given if there's no preemble,
    so it's conceivable that you don't *have* to give the CRLF before the epilogue
    if there's no epilogue (it's also enclosed in the [], making it part of the
    "optional")
    
    However, it seems that when the TMDB "migrated to the cloud" (as they
    describe it) on Aug. 13 2018, they started requiring that CRLF.
    
    TESTED=connected to a TMDB-whitelisted server, used CURL to manually create the
    message as we currently send it (without the final CRLF) with junk data and got
    the error from the bug. Then sent the exact same message with the additional
    CRLF, and got a different error that directly relates to the content of the
    junk data.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212637246
  10. Export Premium names to Drive

    weiminyu authored and CydeWeys committed Sep 11, 2018
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212509587
  11. Provide separate scopes list for delegated credentials

    weiminyu authored and CydeWeys committed Sep 11, 2018
    Scope changes in delegated credentials require coordinated external changes,
    therefore should be separate from those used in the application default
    credential.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212488389
Commits on Sep 11, 2018
  1. Refactor DelegatedCredential provisioning for GSuite domains

    weiminyu authored and CydeWeys committed Sep 10, 2018
    Updated the registar contact group management, which is the only
    use case for this credential.
    
    Also updated GSuite domain delegated admin access config in admin
    dashboard for both sandbox (used by alpha and sandbox) and prod.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212320157
  2. Allow creation of reserved domains using allocation tokens

    CydeWeys committed Sep 10, 2018
    Unlike anchor tenants, these domains can be registered for any number of years,
    but only during GA, as third parties cannot register domains pre-GA except
    through the anchor tenant program.
    
    Since this is new functionality, unlike creation of anchor tenants, there is no
    fallback provided to send codes through the domain authcode; they must be sent
    using the allocation token extension.
    
    And note that, like with anchor tenants, providing the domain-specific
    allocation token overrides any other reserved types that might apply to that
    domain.
    
    No changes are necessary to the domain application create flow because of the
    above restriction to GA.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212310701
  3. Update marksdb test download url

    weiminyu authored and CydeWeys committed Sep 10, 2018
    Marksdb changed the testing url to work with their
    SSL certificate.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212277787