Examples of StackMigrate


Examples of com.heroku.api.request.stack.StackMigrate

     * @param appName See {@link #listApps} for a list of apps that can be used.
     * @param migrateTo Stack to migrate the app to.
     * @return A message about the migration.
     */
    public String migrateStack(String appName, Heroku.Stack migrateTo) {
        return connection.execute(new StackMigrate(appName, migrateTo), apiKey);
    }
View Full Code Here

Examples of com.heroku.api.request.stack.StackMigrate

    }
   
    @Test(retryAnalyzer = InternalServerErrorAnalyzer.class)
    public void testStackMigrate() {
        App app = connection.execute(new AppCreate(new App().on(Heroku.Stack.Bamboo187)), apiKey);
        String migrateStatus = connection.execute(new StackMigrate(app.getName(), Heroku.Stack.Bamboo192), apiKey);
        assertTrue(migrateStatus.contains("Migration prepared"));
    }
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.