tsoganov
1f40bbf3fb
Upgraded and created dockerfiles
2025-04-14 12:57:40 +03:00
Alex Sherman
ad2de7fdd0
Remove outdated test
2021-04-28 19:32:16 +05:00
Maciej Szlosarczyk
83aae9baee
Replace xmerl with erlsom
...
Also includes small syntax fixes to sys.config, as well as one
compilation warning removal.
2020-02-27 10:00:53 +02:00
Maciej Szlosarczyk
eab9fae50e
Handle hello that is not nested under command element
2019-10-05 10:11:28 +03:00
Maciej Szlosarczyk
203e119c2c
Introduce error 2000
...
When a client sends invalid command to proxy, it should be reported as
error 2000 and sent to registry. We should sent them there regardless
2019-07-29 13:29:37 +03:00
Maciej Szlosarczyk
0231aae270
Reformat code
2019-07-29 11:26:50 +03:00
Maciej Szlosarczyk
9bd9a67e93
Add more logging for failed SSL handshake
2019-07-29 11:19:11 +03:00
Maciej Szlosarczyk
187ebf4213
Update test certificate configuration
2019-07-29 11:07:49 +03:00
Maciej Szlosarczyk
e99733aaf0
Send frame as request paramater as well
...
Here's what happens: When a client sends simple command without any
values in XML, registry can drop the `raw_frame` parameter
completely. If so, it relies on `frame` parameter being passed on to
create XML document.
https://github.com/internetee/registry/blame/ad823391b75509d5be20ee6ef217aa4f35a4c994/lib/epp_constraint.rb#L14
Fix involves sending the XML string twice, as `frame` and
`raw_frame`, the same as `mod_epp` did.
2019-07-17 10:53:31 +03:00
Maciej Szlosarczyk
93b2437d1f
Add test for messages that overflow the initial buffer
2019-07-15 14:34:46 +03:00
Maciej Szlosarczyk
67c710a6e7
Fix test case that does nothing
2019-07-15 13:55:44 +03:00
Maciej Szlosarczyk
55d1942898
Remove unused guard
2019-07-12 15:54:01 +03:00
Maciej Szlosarczyk
2838a4adff
Add tcp client test suite
...
It is a mirror image of the test suite for TLS client, retained for
test coverage reasons
2019-07-12 15:26:54 +03:00
Maciej Szlosarczyk
45f99a2f77
Add test case for error request
2019-07-12 15:14:48 +03:00
Maciej Szlosarczyk
7f7eea8149
Add test case for invalid command
2019-07-12 14:56:59 +03:00
Maciej Szlosarczyk
31fa20a9a6
Add test case for command
2019-07-12 14:47:47 +03:00
Maciej Szlosarczyk
d8e03ed484
Add test case for both login and logout
2019-07-12 14:28:36 +03:00
Maciej Szlosarczyk
c70d7c6bf2
Add basic test case for greeting
2019-07-12 12:49:08 +03:00
Maciej Szlosarczyk
2c04020d16
Add example test for path_for_file
2019-07-12 12:19:34 +03:00
Maciej Szlosarczyk
de965045ac
Prepare for better integration tests
2019-07-12 12:07:22 +03:00
Maciej Szlosarczyk
3fb6ec85d8
Change function name from *_case to *_test_case
2019-07-11 12:23:06 +03:00
Maciej Szlosarczyk
4814f0c1f7
Remove Eunit tests, use only common test library
2019-07-11 12:11:37 +03:00
Maciej Szlosarczyk
de15ea121a
Reformat test code
2019-07-04 16:10:17 +03:00
Maciej Szlosarczyk
5916c730b7
Simplify epp_http_client library
...
Define only one type of record, and generate different types of
payload based on what comes in from the client
Remove separate functions for error requests
2019-07-04 15:15:03 +03:00
Maciej Szlosarczyk
57eb1fd94d
Move test certificate files to their appropriate location
2019-07-04 13:18:38 +03:00
Maciej Szlosarczyk
2e01b6870b
Add rebar3_fmt format tool
2019-07-04 11:23:50 +03:00
Maciej Szlosarczyk
5c7942f08e
Remove unused function, make forward slash a macro
2019-07-04 09:15:15 +03:00
Maciej Szlosarczyk
6b4814a60d
Make routes not care about trailing slashes
2019-05-30 12:22:42 +03:00
Maciej Szlosarczyk
4b5c90912d
Add tests for HTTP client
2019-05-30 11:43:44 +03:00
Maciej Szlosarczyk
54a6fdb729
Handle XML parsing errors
2019-05-30 10:35:54 +03:00
Maciej Szlosarczyk
73384531c8
Replace logger with lager for syslog logging
...
I am not 100% certain that lager_syslog is well maintained, but it
seems to be used by RabbitMQ at the time of writing this commit.
c5568a9ed4/erlang.mk (L2405-L2411)
Because of that, we probably should be fine with it.
2019-05-29 13:23:29 +03:00
Maciej Szlosarczyk
750cdbd270
Add X-Forwarded-For header
2019-05-29 10:57:43 +03:00
Maciej Szlosarczyk
6ef2b881f8
Merge two functions into one
2019-05-28 10:11:44 +03:00
Maciej Szlosarczyk
657f064e35
Use standard erlang folder structure
2019-05-28 09:58:11 +03:00
Maciej Szlosarczyk
0c8cbaefc7
Move session_id function to util module
2019-05-28 09:44:09 +03:00
Maciej Szlosarczyk
c2c91667e7
Working base loop
2019-05-27 16:29:02 +03:00
Maciej Szlosarczyk
7e6273091b
Move router to epp_router
2019-05-27 11:08:18 +03:00
Maciej Szlosarczyk
eac669cbd3
Rename modules to avoid any future collisions
2019-05-27 10:41:03 +03:00
Maciej Szlosarczyk
eed763844a
Add certs test
2019-05-24 14:18:46 +03:00
Maciej Szlosarczyk
23487ab663
Add propEr to test dependencies
2019-05-23 15:26:17 +03:00
Maciej Szlosarczyk
7116f9427c
Add epp_util module
2019-05-23 14:57:26 +03:00
Maciej Szlosarczyk
cd21f70da5
Add router
2019-05-22 17:15:41 +03:00
Maciej Szlosarczyk
e87ac6cf2e
Initial commit
2019-05-22 10:57:05 +03:00