use of org.platformlayer.service.nexus.model.NexusService in project platformlayer by platformlayer.
the class NexusServiceController method addChildren.
@Override
protected void addChildren() throws OpsException {
NexusService model = OpsContext.get().getInstance(NexusService.class);
InstanceBuilder vm;
{
vm = InstanceBuilder.build(model.dnsName, this, model.getTags());
vm.minimumMemoryMb = 2048;
addChild(vm);
}
vm.addChild(NexusBootstrap.build());
JettyInstance jetty = vm.addChild(injected(JettyInstance.class));
jetty.addApp(NexusApp.build());
vm.addChild(MetricsInstance.class);
}
Aggregations