mirror of
https://github.com/google/nomulus.git
synced 2025-06-28 23:33:36 +02:00
Initial, easy changes to support later addition of RDAP metrics
I split this out to avoid having a giant CL that changes everything. The actual metrics will follow later. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174356874
This commit is contained in:
parent
c126c05810
commit
5b8ee87ecc
13 changed files with 127 additions and 46 deletions
|
@ -25,6 +25,7 @@ import com.google.common.collect.ImmutableList;
|
|||
import com.google.common.collect.ImmutableMap;
|
||||
import google.registry.model.ofy.Ofy;
|
||||
import google.registry.rdap.RdapJsonFormatter.BoilerplateType;
|
||||
import google.registry.rdap.RdapMetrics.EndpointType;
|
||||
import google.registry.testing.AppEngineRule;
|
||||
import google.registry.testing.FakeClock;
|
||||
import google.registry.testing.FakeResponse;
|
||||
|
@ -64,6 +65,11 @@ public class RdapActionBaseTest {
|
|||
return "human-readable string";
|
||||
}
|
||||
|
||||
@Override
|
||||
public EndpointType getEndpointType() {
|
||||
return EndpointType.HELP;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getActionPath() {
|
||||
return PATH;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue