Package org.apache.airavata.common.utils

Examples of org.apache.airavata.common.utils.Version


    @Path(ResourcePathConstants.BasicRegistryConstants.VERSION)
    @Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML})
    public Response getVersion() {
        AiravataRegistry2 airavataRegistry = RegPoolUtils.acquireRegistry(context);
        try {
            Version version = airavataRegistry.getVersion();
            if (version != null) {
                Response.ResponseBuilder builder = Response.status(Response.Status.OK);
                builder.entity(version);
                return builder.build();
            } else {
View Full Code Here


    }

    @Test(groups = { "setupTests" })
    public void testSetup() {

        Version version = this.airavataAPI.getVersion();

        Assert.assertNotNull(version);

        log("Airavata version - " + version.getFullVersion());

    }
View Full Code Here

    }

    @Test(groups = { "setupTests" })
    public void testSetup() {

        Version version = this.airavataAPI.getVersion();

        Assert.assertNotNull(version);

        log("Airavata version - " + version.getFullVersion());

    }
View Full Code Here

    }

    @Test(groups = { "setupTests" })
    public void testSetup() {

        Version version = this.airavataAPI.getVersion();

        Assert.assertNotNull(version);

        log("Airavata version - " + version.getFullVersion());

    }
View Full Code Here

    return HANDLER_NAME;
  }

  @Override
  public Version getHandlerVersion() {
    return new Version(HANDLER_NAME, 1, 0, 0, null, BuildType.RC);
  }
View Full Code Here

    }

    @Test(groups = { "setupTests" })
    public void testSetup() {

        Version version = this.airavataAPI.getVersion();

        Assert.assertNotNull(version);

        log("Airavata version - " + version.getFullVersion());

    }
View Full Code Here

    }

    @Test(groups = { "setupTests" })
    public void testSetup() {

        Version version = this.airavataAPI.getVersion();

        Assert.assertNotNull(version);

        log("Airavata version - " + version.getFullVersion());

    }
View Full Code Here

    return HANDLER_NAME;
  }

  @Override
  public Version getHandlerVersion() {
    return new Version(HANDLER_NAME, 1, 0, 0, null, BuildType.RC);
  }
View Full Code Here

    @Path(ResourcePathConstants.BasicRegistryConstants.VERSION)
    @Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML})
    public Response getVersion() {
        AiravataRegistry2 airavataRegistry = RegPoolUtils.acquireRegistry(context);
        try {
            Version version = airavataRegistry.getVersion();
            if (version != null) {
                Response.ResponseBuilder builder = Response.status(Response.Status.OK);
                builder.entity(version);
                return builder.build();
            } else {
View Full Code Here

    }

    @Test(groups = {"setupTests"})
    public void testSetup() {

        Version version = this.airavataAPI.getVersion();

        Assert.assertNotNull(version);

        log("Airavata version - " + version.getFullVersion());

    }
View Full Code Here

TOP

Related Classes of org.apache.airavata.common.utils.Version

Copyright © 2018 www.massapicom. 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.