Add initial implementation of YAML config file

This implements the basic framework that allows global YAML
configuration, per-environment custom configuration, and unit-
test-specific configuration.

TESTED=I deployed to alpha, ran some EPP commands through the
nomulus tool, and verified no errors.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=145422680
This commit is contained in:
mcilwain
2017-01-25 12:25:05 -05:00
committed by Ben McIlwain
parent 15ba52988b
commit b5cf58bf2c
29 changed files with 480 additions and 55 deletions
+3
View File
@@ -7,7 +7,9 @@ licenses(["notice"]) # Apache 2.0
java_library(
name = "config",
srcs = glob(["*.java"]),
resources = glob(["*.yaml"]),
deps = [
"//java/google/registry/util",
"@com_google_appengine_api_1_0_sdk",
"@com_google_auto_value",
"@com_google_code_findbugs_jsr305",
@@ -15,5 +17,6 @@ java_library(
"@com_google_guava",
"@joda_time",
"@org_joda_money",
"@org_yaml_snakeyaml",
],
)