Examples of createApplication()


Examples of com.denimgroup.threadfix.remote.ThreadFixRestClient.createApplication()

    public void testTeamApplicationList() {
        ThreadFixRestClient client = TestUtils.getConfiguredClient();

        RestResponse<Organization> response = client.createTeam(TestUtils.getRandomName());

        client.createApplication(JsonTestUtils.getId(response),
                TestUtils.getRandomName(),
                "http://test");

        response = client.searchForTeamById(JsonTestUtils.getId(response));
View Full Code Here

Examples of com.ibm.commons.runtime.RuntimeFactory.createApplication()

  public synchronized Application initApplication(Object servletContext) {
    ClassLoader cl = getContextClassLoader();
    AbstractApplication app = applications.get(cl);
    if(app==null) {
      RuntimeFactory rtFactory = RuntimeFactory.get();
      app = (AbstractApplication)rtFactory.createApplication(servletContext);
      applications.put(cl,app);
    }
    app._incReferences();
    return app;
  }
View Full Code Here

Examples of com.netflix.genie.client.ApplicationServiceClient.createApplication()

        LOG.info("Initializing ApplicationServiceClient");
        final ApplicationServiceClient appClient = ApplicationServiceClient.getInstance();

        LOG.info("Creating new application config");
        final Application app1 = appClient.createApplication(getSampleApplication(null));
        LOG.info("Application configuration created with id: " + app1.getId());
        LOG.info(app1.toString());

        LOG.info("Getting Applications using specified filter criteria name =  " + APP_NAME);
        final Multimap<String, String> params = ArrayListMultimap.create();
View Full Code Here

Examples of com.openshift.client.IDomain.createApplication()

  public static IApplication destroyAndRecreateIfScalable(IApplication application) {
    if (!ApplicationScale.NO_SCALE.equals(application.getGearProfile())) {
      IStandaloneCartridge cartridge = application.getCartridge();
      IDomain domain = application.getDomain();
      application.destroy();
      application = domain.createApplication(
          createRandomApplicationName(), cartridge, ApplicationScale.NO_SCALE);
    }
    return application;
  }
View Full Code Here

Examples of com.sun.enterprise.deployment.archivist.ApplicationArchivist.createApplication()

                archivist.setXMLValidationLevel(xmlValidationLevel);
                if (xmlValidationLevel.equals("none")) {
                    archivist.setXMLValidation(false);
                }

                holder = new ApplicationHolder(archivist.createApplication(
                    source, isDirectory));
                _logger.fine("time to read application.xml " + (System.currentTimeMillis() - start));
            } catch (IOException e) {
                throw new RuntimeException(e);
            } catch (SAXParseException e) {
View Full Code Here

Examples of evolaris.framework.sys.business.ApplicationManager.createApplication()

    Group group = mgblGroup();
    Application application = new Application();
    application.setGroup(group);
    application.setName(name);
    ApplicationManager applicationManager = new ApplicationManager(locale,session);
    applicationManager.createApplication(application);
   
    session.saveOrUpdate(application);
    return application;
  }
 
View Full Code Here

Examples of evolaris.mgbl.gamemgmt.business.DbManager.createApplication()

        // for now, all professors and students have permissions on blog...
//        ArrayList<Role> rols=new ArrayList<Role>();
//        rols.add(um.getRole("teacher"));
//        rols.add(um.getRole("student"));
       
        g.setApplication(dbm.createApplication("Game("+g.getId()+"): "+g.getName()));
//        g.setBlog(dbm.createBlog("Game: "+g.getName(), rols, rols, rols));

        String[] labels = new String[] {g.getBasedOnTemplate().getGameType()};
        g.setArticle(dbm.createGameBlogArticle(g, webUser, labels));
       
View Full Code Here

Examples of org.apache.aries.application.management.AriesApplicationManager.createApplication()

    public void test() throws Exception {
 
  /* Install and start the blog eba */
  URL urlToEba = getUrlToEba("org.apache.aries.samples.blog", "org.apache.aries.samples.blog.jpa.eba");
  AriesApplicationManager manager = getOsgiService(AriesApplicationManager.class);
  AriesApplication app = manager.createApplication(urlToEba);
  AriesApplicationContext ctx = manager.install(app);
  ctx.start();

    /* Find and check all the blog sample bundles */

 
View Full Code Here

Examples of org.apache.aries.application.management.AriesApplicationManager.createApplication()

    public void test() throws Exception {

        URL urlToEba = getUrlToEba("org.apache.aries.samples.blog", "org.apache.aries.samples.blog.jdbc.eba");

        AriesApplicationManager manager = getOsgiService(AriesApplicationManager.class);
        AriesApplication app = manager.createApplication(urlToEba);
        AriesApplicationContext ctx = manager.install(app);
        ctx.start();

    /* Check that the Blog Sample bundles are present an started */
        Bundle bapi = getInstalledBundle("org.apache.aries.samples.blog.api");
View Full Code Here

Examples of org.apache.aries.application.management.AriesApplicationManager.createApplication()

        if (in == null) {
            System.err.println("File not found: " + applicationPath);
            return in;
        }
        AriesApplicationManager manager = getAriesApplicationManager();
        AriesApplication application = manager.createApplication(in);
       
        if (application.isResolved()) {
            System.out.println("Application " + application.getApplicationMetadata().getApplicationSymbolicName() + " is already resolved.");
        } else {
            System.out.println("Attempting to resolve " + application.getApplicationMetadata().getApplicationSymbolicName() + " application.");
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.