Skip to content

Commit

Permalink
#43 Default history level is "auto" which still falls back to "full".
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasschaefer committed May 8, 2020
1 parent 20de082 commit 1b006d2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,5 @@ You may use the following properties (typically in application.yml) to configure
| | .username | sa | User name for database |
| | .password | | Password for database |
| | .driver-class-name | org.h2.Driver | Driver for database |
| camunda.bpm | .history-level | full | Camunda history level, use one of [`full`, `audit`, `activity`, `none`, `auto`]. `auto` uses the level already present in the database, defaulting to `full`. |
| camunda.bpm | .history-level | auto | Camunda history level, use one of [`full`, `audit`, `activity`, `none`, `auto`]. `auto` uses the level already present in the database, defaulting to `full`. |
| camunda.bpm.database | .schema-update | true | If automatic schema update should be applied, use one of [`true`, `false`, `create`, `create-drop`, `drop-create`] |
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
public interface Configuration {

@NotBlank
@Bindable(defaultValue = ProcessEngineConfiguration.HISTORY_FULL)
@Bindable(defaultValue = ProcessEngineConfiguration.HISTORY_AUTO)
String getHistoryLevel();

@NotNull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public ProcessEngine processEngine() throws IOException {
ProcessEngineConfigurationImpl processEngineConfiguration = new StandaloneProcessEngineConfiguration() {
@Override
public HistoryLevel getDefaultHistoryLevel() {
// Define default history level for history level "auto". This must be consistent to the configuration default.
// Define default history level for history level "auto".
return HistoryLevel.HISTORY_LEVEL_FULL;
}
}
Expand Down

0 comments on commit 1b006d2

Please sign in to comment.