Add a new check API that does not wrap the domain check EPP flow

Copied class and test from CheckApiAction. All unit tests passing.

Remaining work: add metrics

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=198916177
This commit is contained in:
Ben McIlwain 2018-06-01 13:18:03 -07:00
parent 9d2b1e7572
commit c61f36502e
10 changed files with 376 additions and 19 deletions

View file

@ -37,6 +37,15 @@
<url-pattern>/check</url-pattern>
</servlet-mapping>
<!--
Temporary end point for new implementation of availability checks
TODO(b/80417678): remove this stanza
-->
<servlet-mapping>
<servlet-name>pubapi-servlet</servlet-name>
<url-pattern>/check2</url-pattern>
</servlet-mapping>
<!-- Security config -->
<security-constraint>
<web-resource-collection>