GithubHelp home page GithubHelp logo

isabella232 / ff4j-extension Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liquibase/ff4j-extension

0.0 0.0 0.0 20 KB

Liquibase extension to allow use of FF4J feature flags in changelogs and changesets

License: Apache License 2.0

Java 63.17% Groovy 36.83%

ff4j-extension's Introduction

FF4J Feature Flags Extension

Precondition to control the execution of a changelog or changeset based on the state of feature flags from FF4J.

Supported Editions

Community Pro

Installation

The easiest way to install this extension is with lpm liquibase package manager.

lpm update
lpm add ff4j

Setup

The ff4j_url is required for the extension to know where the FF4J server is located.

--ff4j-url=PARAM
     URL for FF4J Server
     (liquibase.ff4j.url)
     (LIQUIBASE_FF4J_URL)
     [deprecated: --ff4jUrl]

Usage

To use this extension, add the ff4jFeatureFlag precondition to your Changelog or Changeset with an enabledFlags attribute. The value for enabledFlags is either a string with one feature flag key or a comma separated string with multiple feature flag keys. All feature flags must be enabled for the precondition to pass.

Example

databaseChangeLog:
  -  preConditions:
     -  ff4jFeatureFlag:
          enabledFlags: changelog-testing
<changeSet id="1" author="example">
    <preConditions>
        <ext:ff4jFeatureFlag enabledFlags="changelog-testing"/>
    </preConditions>
    ...
</changeSet>

Feedback and Issues

Please submit all feedback and issues to this idea board.

ff4j-extension's People

Contributors

mcred avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.