Skip to content

Commit

Permalink
feat(sdk): kraken-200 - add features prefix before push-activity-log-…
Browse files Browse the repository at this point in the history
…external flag
  • Loading branch information
jaroslawmalekcodete committed Nov 21, 2024
1 parent d082164 commit d1892f6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,9 @@ app:
endpoints:
exposure:
include: asset, component, product, ingestion, component-operation, component-mapper
push-activity-log-external:
enabled: false
features:
push-activity-log-external:
enabled: false

initialize-exclude-assets:
- classpath:/mef-sonata/apis/api.product.offering.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class ApiActivityPushService {
private final MgmtEventRepository mgmtEventRepository;
private final EnvironmentService environmentService;

@Value("${app.push-activity-log-external.enabled}")
@Value("${app.features.push-activity-log-external.enabled}")
private boolean pushActivityLogExternalEnabled;

public ApiRequestActivityPushResult createPushApiActivityLogInfo(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@ app:
endpoints:
exposure:
include: asset, component, product, ingestion, component-operation, component-mapper
push-activity-log-external:
enabled: true
features:
push-activity-log-external:
enabled: true
security:
resource-server:
enabled: false
Expand Down

0 comments on commit d1892f6

Please sign in to comment.