Skip to content

Commit

Permalink
Added notes for flyway/flyway#805
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel Fontaine committed Jan 22, 2016
1 parent 2030fa5 commit 831d70a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contribute/hallOfFame.html
Expand Up @@ -358,7 +358,7 @@ <h1>Hall Of Fame</h1>
</tr>
<tr>
<td>Stephan Pauxberger</td>
<td>DB2 Trigger clean</td>
<td>FlywayConfiguration and DB2 Trigger clean</td>
</tr>
<tr>
<td>Sylvain Guillopé</td>
Expand Down
18 changes: 18 additions & 0 deletions documentation/api/hooks.html
Expand Up @@ -28,6 +28,12 @@ <h2>Java-based Migrations</h2>
href="/documentation/api/javadoc/org/flywaydb/core/api/migration/MigrationChecksumProvider"
>MigrationChecksumProvider</a></strong> interfaces.</p>

<p>To access the Flyway configuration your migration can implement <strong><a
href="/documentation/api/javadoc/org/flywaydb/core/api/configuration/ConfigurationAware"
>ConfigurationAware</a></strong> and Flyway will automatically inject an instance of <strong><a
href="/documentation/api/javadoc/org/flywaydb/core/api/configuration/FlywayConfiguration"
>FlywayConfiguration</a></strong>.</p>

<h2 id="callbacks">Java-based Callbacks</h2>

<p>Building upon that are the <a href="/documentation/callbacks">Java-based Callbacks</a>
Expand All @@ -40,6 +46,12 @@ <h2 id="callbacks">Java-based Callbacks</h2>
which already contains no-op implementations of all the methods of the <code>org.flywaydb.core.api.callback.<strong>FlywayCallback</strong></code>
interface.</p>

<p>To access the Flyway configuration your callback can implement <strong><a
href="/documentation/api/javadoc/org/flywaydb/core/api/configuration/ConfigurationAware"
>ConfigurationAware</a></strong> and Flyway will automatically inject an instance of <strong><a
href="/documentation/api/javadoc/org/flywaydb/core/api/configuration/FlywayConfiguration"
>FlywayConfiguration</a></strong>.</p>

<h2>Custom Migration resolvers &amp; executors</h2>

<p>For those that need more than what the SQL and Java-based migrations offer, you also have the possibility to
Expand All @@ -49,6 +61,12 @@ <h2>Custom Migration resolvers &amp; executors</h2>

<p>These can then be used for loading things like CSV-based migrations or other custom formats.</p>

<p>To access the Flyway configuration your resolver can implement <strong><a
href="/documentation/api/javadoc/org/flywaydb/core/api/configuration/ConfigurationAware"
>ConfigurationAware</a></strong> and Flyway will automatically inject an instance of <strong><a
href="/documentation/api/javadoc/org/flywaydb/core/api/configuration/FlywayConfiguration"
>FlywayConfiguration</a></strong>.</p>

<p class="next-steps">
<a class="btn btn-primary" href="/documentation/api/javadoc">API: Javadoc <i class="fa fa-arrow-right"></i></a>
</p>
Expand Down
8 changes: 7 additions & 1 deletion documentation/releaseNotes.html
Expand Up @@ -27,6 +27,12 @@ <h3>New features</h3>
<a href="https://github.com/flyway/flyway/issues/724">Issue 724</a>
Prompt for userId and password in commandline mode
</li>
<li>
<a href="https://github.com/flyway/flyway/issues/805">Issue 805</a>
JdbcMigrations and new FlywayCallback should have access to core configuration
<span class="label label-info"><a href="https://github.com/flyway/flyway/pull/811"><i
class="fa fa-mail-reply"></i> Pull Request</a></span>
</li>
<li>
<a href="https://github.com/flyway/flyway/issues/929">Issue 929</a>
Apache Phoenix Support
Expand Down Expand Up @@ -313,7 +319,7 @@ <h3>Documentation fixes</h3>
hamiller, Jason Wong, Jens Berke, Jens Doose, JGMM, Josh Mahonin, Karel Rank, Kevin Sheedy, khelsen, Kristopher Landon,
Larivact, Lukas Eder, Luke Pryor, Marc-André Poulin, Mark Petrovic, Markus Umefjord, Michael Verrilli,
MingoDynasty, mojoo, Nathan Vick, Neo Wu, Nitin Gautam, Pascal Gruen, pentavalle, pingw33n,
PredatorVI, Ringerl, Sachin Walia, Salman Haq, sastorsl, Sebastian Tacke, stkuehnl, Sylvain Guillopé,
PredatorVI, Ringerl, Sachin Walia, Salman Haq, sastorsl, Sebastian Tacke, Stephan Pauxberger, stkuehnl, Sylvain Guillopé,
thelateperseus, Tom Eicher, Yevgeniy Mordovkin and ysobj for reporting these issues and contributing fixes.
</p>

Expand Down

0 comments on commit 831d70a

Please sign in to comment.