Commit graph

28 commits

Author SHA1 Message Date
jianglai
97e962ba0a Add //third_party/java/jaxb dependency to targets using javax.xml.bind
To make FOSS build compile, third_party vendoring rules for jaxb are added to package all jaxb related targets imported from maven into a uber jar, mirroring the same practice done in //third_party/java/jaxb

Cloned from CL 182666460 by 'g4 patch'.
Original change by cushon@cushon:rosie182283995-0071_Rosie:47348:citc on 2018/01/20 13:36:15.

More information:
https://docs.google.com/document/d/1htErgDIoHMEuMBfGwrtS_O4WwhTw8QOGLva-7aYYvYs/edit?usp=sharing
Tested:
    TAP --sample for global presubmit queue
    []    passed FOSS test

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=182855173
2018-01-23 16:18:35 -05:00
jianglai
c55df2fb1b Remove metrics library from Nomulus codebase
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=180589440
2018-01-04 17:13:58 -05:00
jianglai
744c814bdb Rename METADATA file to README.md
Get rid of unnecessary information that is only useful for Google internal build.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=177846457
2017-12-04 15:07:37 -05:00
jianglai
1c1f95992a Move backported JUnit file to third_party (part 2)
Last commit did not pick up all the changes because MOE incorrectly attributed some changes to the wrong commit. This commit should reconcile these. Also picked up some changes to how hamcrest library is depended upon in BUILD file, which should have been included in previous commits.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=177637931
2017-12-02 11:37:46 -05:00
jianglai
8ef4fbe9d5 Move backported JUnit file to third_party
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=177637931
2017-12-01 22:14:06 -05:00
jianglai
82382aaca6 Move jsch and objectify to directly under third_party
We used to have a lot more vendored third_party dependencies, but now we're only going to have three that we know of, so this java/javatests distinction isn't necessary.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=177631319
2017-12-01 22:14:06 -05:00
mmuller
a790ec27db Upgrade domain-registry to jsch 0.1.53
TESTED=Verified on Alpha with an updated build using Java 8, Verified on alpha
against the latest java 8 based build.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=171297613
2017-10-10 12:09:42 -04:00
guyben
d182d62b96 Allow EventSample.record to accept numSamples=0
There's really no reason not to.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=171037754
2017-10-10 12:09:41 -04:00
Ben McIlwain
57c41d2e16 Migrated README.google metadata into METADATA files
The metadata that used to exist in the README.google file has been
expanded and moved into the METADATA file. Please see this documentation:

  []

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=150516346
2017-03-21 15:38:00 -04:00
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
mcilwain
28f6c770c8 Add MOE equivalence for sync on 2016-12-19
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=142449539
2017-01-09 11:59:04 -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
2b7d580bb3 Run buildifier on codebase to format BUILD files
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=140362453
2016-11-28 18:15:21 -05:00
mcilwain
5c9e34ea55 Use Markdown version of JSch README file
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=133712124
2016-09-22 14:04:33 -04:00
shikhman
64abebec82 Add StackDriver implementation, in monitoring/metrics package
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=130287319
2016-08-15 17:12:35 -04:00
jart
32e8e8fdb0 Use Local Modifications section in README.google
This is for third party compliance
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=126743127
2016-07-13 15:29:01 -04:00
jart
9fcb8984ad Update broken Closure Rules load() reference
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=126730245
2016-07-13 15:20:06 -04:00
Justine Tunney
e1cf51ebb3 Migrate Domain Registry to Closure Rules 0.1.0
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=122525197
2016-05-17 13:53:41 -04:00
Justine Tunney
fe9e69e06b Integrate: Eclipse file generation script 2016-05-16 18:39:45 -04:00
jart
6082146d55 Prefer re2 over java.util.regex
Java's stock regex implementation doesn't guarantee linear time
complexity which makes it a security liability.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=121159875
2016-05-13 23:16:07 -04:00
Hans Ridder
20f214b9d0 Adds DnsWriter that implements DNS UPDATE protocol
* DnsUpdateWriter publishes changes to NS, DS, A, AAAA records
  for domains/hosts as appropriate using RFC 2136 DNS UPDATE protocol
* Static configuration separate from RegistryConfig
* Include dnsjava library as new third party dependency
  to generate DNS protocol messages
* Expose /_dr/task/writeDns in RegistryTestServer
* Currently not included in BackendComponent
2016-04-06 08:56:54 -07:00
Justine Tunney
076c8d7e27 Update copyright notice to Domain Registry Authors 2016-03-24 17:52:56 -04:00
jart
5d97f04ebe Automated g4 rollback of changelist 116996539.
*** Reason for rollback ***

Rollback --checks-only change

This isn't available in the open source release.

*** Original change description ***

Change --checks-only flag to --checks_only for consistency with other flags.

Tested:
    TAP --sample for global presubmit queue
    []
***
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=117000962
2016-03-16 21:20:25 -04:00
blickly
1685325d6d Change --checks-only flag to --checks_only for consistency with other flags.
Tested:
    TAP --sample for global presubmit queue
    []
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=116996539
2016-03-16 21:20:25 -04: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
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
jart
6c6f70c24f Remove google_java_format dependency
This dependency is only needed by the internal version of Dagger, which
hasn't been rolled out to the public yet.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=116097182
2016-03-04 16:13:57 -05:00
Justine Tunney
0ef0c933d2 Import code from internal repository to git 2016-03-01 17:59:16 -05:00