Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liquibase/liquibase-redshift
Liquibase support for Redshift
https://github.com/liquibase/liquibase-redshift
core extension oss
Last synced: 3 months ago
JSON representation
Liquibase support for Redshift
- Host: GitHub
- URL: https://github.com/liquibase/liquibase-redshift
- Owner: liquibase
- Created: 2013-11-14T16:27:54.000Z (about 11 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T23:41:15.000Z (8 months ago)
- Last Synced: 2024-05-23T00:34:57.037Z (8 months ago)
- Topics: core, extension, oss
- Language: Java
- Homepage:
- Size: 395 KB
- Stars: 18
- Watchers: 20
- Forks: 18
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Liquibase Redshift Extension [![Build and Test Extension](https://github.com/liquibase/liquibase-redshift/actions/workflows/build.yml/badge.svg)](https://github.com/liquibase/liquibase-redshift/actions/workflows/build.yml)
This is a Liquibase extension for connecting to a Redshift database.
[Amazon Redshift](https://docs.aws.amazon.com/redshift/latest/mgmt/welcome.html) is a fully managed, petabyte-scale data warehouse service in the cloud.
## Configuring the extension
These instructions will help you get the extension up and running on your local machine for development and testing purposes. This extension has a prerequisite of Liquibase core in order to use it. Liquibase core can be found at https://www.liquibase.org/download
### Liquibase CLI
Download [the latest released Liquibase extension](https://github.com/liquibase/liquibase-redshift/releases) `.jar` file and place it in the `liquibase/lib` install directory. If you want to use another location, specify the extension `.jar` file in the `classpath` of your [liquibase.properties file](https://docs.liquibase.com/workflows/liquibase-community/creating-config-properties.html).
### Maven
Specify the Liquibase extension in the `` section of your POM file by adding the `org.liquibase.ext` dependency for the Liquibase plugin.
```
org.liquibase
liquibase-maven-plugin
4.3.2
liquibase.properties
org.liquibase.ext
liquibase-redshift
${liquibase-redshift.version}
```
## Java call
```
public class Application {
public static void main(String[] args) {
RedshiftDatabase database = (RedshiftDatabase) DatabaseFactory.getInstance().openDatabase(url, null, null, null, null);
Liquibase liquibase = new Liquibase("liquibase/ext/changelog.generic.test.xml", new ClassLoaderResourceAccessor(), database);
liquibase.update("");
}
}
```
## ContributionTo file a bug, improve documentation, or contribute code, follow our [guidelines for contributing](https://www.liquibase.org/community).
[This step-by-step instructions](https://www.liquibase.org/community/contribute/code) will help you contribute code for the extension.
Once you have created a PR for this extension you can find the artifact for your build using the following link: [https://github.com/liquibase/liquibase-redshift/actions/workflows/build.yml](https://github.com/liquibase/liquibase-maxdb/actions/workflows/build.yml).
## Test Harness
The Liquibase Redshift extension comes with integration test support via the `liquibase-test-harness`. This Liquibase test framework is designed to make it easy for you to test your extensions. See [README.test-harness.md](https://github.com/liquibase/liquibase-redshift/blob/main/README.test-harness.md) for more information.
## Documentation
[Using Liquibase with Redshift](https://docs.liquibase.com/workflows/database-setup-tutorials/redshift.html)
## Issue Tracking
Any issues can be logged in the [Github issue tracker](https://github.com/liquibase/liquibase-redshift/issues).
## License
This project is licensed under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.html).