mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Wire in MetricReporter into the backend servlet to publish metrics
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130468842
This commit is contained in:
parent
4a34807b1d
commit
b45c2ca2ee
11 changed files with 214 additions and 25 deletions
|
@ -269,10 +269,9 @@ public final class AppEngineRule extends ExternalResource {
|
|||
}
|
||||
if (withLocalModules) {
|
||||
configs.add(new LocalModulesServiceTestConfig()
|
||||
.addDefaultModuleVersion()
|
||||
.addAutomaticScalingModuleVersion("default", "v1")
|
||||
.addAutomaticScalingModuleVersion("tools", "v1")
|
||||
.addAutomaticScalingModuleVersion("backend", "v1"));
|
||||
.addBasicScalingModuleVersion("default", "1", 1)
|
||||
.addBasicScalingModuleVersion("tools", "1", 1)
|
||||
.addBasicScalingModuleVersion("backend", "1", 1));
|
||||
}
|
||||
if (withTaskQueue) {
|
||||
File queueFile = temporaryFolder.newFile("queue.xml");
|
||||
|
@ -307,6 +306,10 @@ public final class AppEngineRule extends ExternalResource {
|
|||
});
|
||||
}
|
||||
|
||||
if (withLocalModules) {
|
||||
helper.setEnvInstance("0");
|
||||
}
|
||||
|
||||
helper.setUp();
|
||||
|
||||
if (withDatastore) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue