Package org.platformlayer.ops.instances

Examples of org.platformlayer.ops.instances.InstanceBuilder.addChild()


      endpoint.dnsName = dnsName;

      endpoint.tagItem = model.getKey();
      endpoint.parentItem = model.getKey();

      vm.addChild(endpoint);
    }

    vm.addChild(MetricsInstance.class);
  }
View Full Code Here


    // Provides /usr/lib/git-core/git-http-backend
    vm.addChild(PackageDependency.build("git"));

    vm.addChild(ManagedDirectory.build(new File("/var/git"), "0755"));
    vm.addChild(ApacheModule.build("authnz_ldap"));
    vm.addChild(ApacheModule.build("ldap"));

    File apache2ConfDir = new File("/etc/apache2");

    vm.addChild(TemplatedFile.build(this, new File(apache2ConfDir, "conf.d/git")));
View Full Code Here

      endpoint.parentItem = model.getKey();

      vm.addChild(endpoint);
    }

    vm.addChild(MetricsInstance.class);
  }

  @Override
  public List<Integer> getPorts() {
    List<Integer> ports = Lists.newArrayList();
View Full Code Here

    vm.addChild(ApacheModule.build("authnz_ldap"));
    vm.addChild(ApacheModule.build("ldap"));

    File apache2ConfDir = new File("/etc/apache2");

    vm.addChild(TemplatedFile.build(this, new File(apache2ConfDir, "conf.d/git")));

    vm.addChild(ManagedService.build("apache2"));

    vm.addChild(MetricsInstance.class);
View Full Code Here

    File apache2ConfDir = new File("/etc/apache2");

    vm.addChild(TemplatedFile.build(this, new File(apache2ConfDir, "conf.d/git")));

    vm.addChild(ManagedService.build("apache2"));

    vm.addChild(MetricsInstance.class);

    {
      PublicEndpoint endpoint = injected(PublicEndpoint.class);
View Full Code Here

    vm.addChild(TemplatedFile.build(this, new File(apache2ConfDir, "conf.d/git")));

    vm.addChild(ManagedService.build("apache2"));

    vm.addChild(MetricsInstance.class);

    {
      PublicEndpoint endpoint = injected(PublicEndpoint.class);
      // endpoint.network = null;
      endpoint.publicPort = PORT;
View Full Code Here

      endpoint.dnsName = model.dnsName;

      endpoint.tagItem = model.getKey();
      endpoint.parentItem = model.getKey();

      vm.addChild(endpoint);
    }
  }

  @Override
  public void buildTemplateModel(Map<String, Object> model) throws OpsException {
View Full Code Here

    }

    InstanceBuilder instance = InstanceBuilder.build(model.dnsName, this, model.getTags());
    addChild(instance);

    instance.addChild(PackageDependency.build("bind9"));
    instance.addChild(ManagedService.build("bind9"));

    instance.addChild(MetricsInstance.class);

    // Debian bind9 sets up a recursive resolver by default :-)
View Full Code Here

    InstanceBuilder instance = InstanceBuilder.build(model.dnsName, this, model.getTags());
    addChild(instance);

    instance.addChild(PackageDependency.build("bind9"));
    instance.addChild(ManagedService.build("bind9"));

    instance.addChild(MetricsInstance.class);

    // Debian bind9 sets up a recursive resolver by default :-)
View Full Code Here

    addChild(instance);

    instance.addChild(PackageDependency.build("bind9"));
    instance.addChild(ManagedService.build("bind9"));

    instance.addChild(MetricsInstance.class);

    // Debian bind9 sets up a recursive resolver by default :-)

    // TODO: Monit
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.