@@ -0,0 +1,906 @@
+package flyway.oskari;%0A%0Aimport fi.nls.oskari.db.BundleHelper;%0Aimport fi.nls.oskari.domain.map.view.Bundle;%0Aimport org.flywaydb.core.api.migration.jdbc.JdbcMigration;%0A%0Aimport java.sql.Connection;%0Aimport java.sql.SQLException;%0A%0A/**%0A * Created by MKUOSMANEN on 26.1.2016.%0A */%0Apublic class V1_35_2__register_timeseries_bundle implements JdbcMigration %7B%0A%0A    private static final String NAMESPACE = %22framework%22;%0A    private static final String BUNDLE_ID = %22timeseries%22;%0A    private static final String BUNDLE_TITLE = %22timeseries%22;%0A%0A    public void migrate(Connection connection) throws SQLException %7B%0A        // BundleHelper checks if these bundles are already registered%0A        Bundle bundle = new Bundle();%0A        bundle.setName(BUNDLE_ID);%0A        bundle.setStartup(BundleHelper.getDefaultBundleStartup(NAMESPACE, BUNDLE_ID, BUNDLE_TITLE));%0A        BundleHelper.registerBundle(bundle, connection);%0A    %7D%0A%7D%0A

Add timeseries bundle registeration