Use standard erlang folder structure

This commit is contained in:
Maciej Szlosarczyk 2019-05-28 09:58:11 +03:00
parent 0c8cbaefc7
commit 657f064e35
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
5 changed files with 8 additions and 7 deletions

View file

@ -5,8 +5,8 @@
{mod, {epp_proxy_app, []}}, {mod, {epp_proxy_app, []}},
{applications, {applications,
[kernel, [kernel,
stdlib stdlib,
]}, ssl]},
{env,[]}, {env,[]},
{modules, []}, {modules, []},

View file

@ -3,7 +3,8 @@
-include_lib("eunit/include/eunit.hrl"). -include_lib("eunit/include/eunit.hrl").
-include_lib("public_key/include/public_key.hrl"). -include_lib("public_key/include/public_key.hrl").
-define(exampleCertFile, "fixtures/epp-proxy-test.crt.pem"). -define(exampleCertFile, lists:flatten([code:lib_dir(epp_proxy, priv),
"epp-proxy-test.crt.pem"])).
wder_certificate_test() -> wder_certificate_test() ->
PemEntries = public_key:pem_decode(certificate_pem()), PemEntries = public_key:pem_decode(certificate_pem()),

View file

@ -1,9 +1,9 @@
[ [
{epp_proxy, [{tcp_port, 17001, {epp_proxy, [{tcp_port, 3333},
{tls_port, 17002}, {tls_port, 4444},
{epp_session_url, "https://registry.test/epp/session/"}, {epp_session_url, "https://registry.test/epp/session/"},
{epp_command_url, "https://registry.test/epp/command/"}, {epp_command_url, "https://registry.test/epp/command/"},
{cacertfile_path, "/opt/shared/ca/certs/ca.crt.pem"}, {cacertfile_path, "/opt/shared/ca/certs/ca.crt.pem"},
{certfile_path, "/opt/shared/ca/certs/ca.crt.pem"}, {certfile_path, "/opt/shared/ca/certs/apache.crt"},
{keyfile_path, "/opt/shared/ca/certs/ca.crt.pem"}]} {keyfile_path, "/opt/shared/ca/private/apache.key"}]}
]. ].