-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/reorganize properties (#662)
* deprecate old properties * refactoring usage of properties * wip * wip * wip * wip * legacy config still working * removed unused configuration * added backend issuer url to default saas props * adjusted readme * fixed broken test * functionality of new property strategy proved * moved from spring profiles to properties post processor * moved tests as well * worker overrides are applied over global overrides * typo * table format * add a general comment for first orientation * removed property * typo * updated docs about variable fetching * typo * update link to reflect new properties class * typo * deprecated classes * updated executorserviceconfig to reflect new properties * added a test to assert all deprecations are applied correctly * applied deprecation notices to all legacy properties * adjusted a reason comment
- Loading branch information
1 parent
093f23c
commit ef37537
Showing
81 changed files
with
3,391 additions
and
537 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 26 additions & 6 deletions
32
camunda-sdk-java/java-common/src/main/java/io/camunda/common/auth/Product.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,31 @@ | ||
package io.camunda.common.auth; | ||
|
||
import java.util.Arrays; | ||
|
||
/** Enum for different C8 Products */ | ||
public enum Product { | ||
ZEEBE, | ||
OPERATE, | ||
TASKLIST, | ||
CONSOLE, | ||
OPTIMIZE, | ||
WEB_MODELER | ||
ZEEBE(true), | ||
OPERATE(true), | ||
TASKLIST(true), | ||
CONSOLE(false), | ||
OPTIMIZE(true), | ||
WEB_MODELER(false), | ||
IDENTITY(true); | ||
|
||
private final boolean covered; | ||
|
||
Product(boolean covered) { | ||
this.covered = covered; | ||
} | ||
|
||
public static Product[] coveredProducts() { | ||
return Arrays.stream(Product.values()) | ||
.filter(Product::covered) | ||
.toList() | ||
.toArray(new Product[0]); | ||
} | ||
|
||
public boolean covered() { | ||
return covered; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
camunda: | ||
client: | ||
mode: simple | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.