Skip to content

[MODEXPS-315] Export Configuration create/update domain events - #383

Open
Saba-Zedginidze-EPAM wants to merge 2 commits into
masterfrom
MODEXPS-315
Open

[MODEXPS-315] Export Configuration create/update domain events#383
Saba-Zedginidze-EPAM wants to merge 2 commits into
masterfrom
MODEXPS-315

Conversation

@Saba-Zedginidze-EPAM

Copy link
Copy Markdown
Contributor

Purpose

[MODEXPS-315] Export Configuration create/update domain events

Approach

  • Add create and update event producing for configurations
  • Update ITs to assert the sent events

Pre-Merge Checklist:

Before merging this PR, please go through the following list and take appropriate actions.

  • Does this PR meet or exceed the expected quality standards?
    • Code coverage on new code is 80% or greater
    • Duplications on new code is 3% or less
    • Check logging
    • There are no major code smells or security issues
  • Does this introduce breaking changes?
    • Were any API paths or methods changed, added or removed?
    • Were there any schema changes?
    • Did any of the interface versions change?
    • Were permissions changed, added, or removed?
    • Are there new interface dependencies?
    • There are no breaking changes in this PR.

@ykashtalian

Copy link
Copy Markdown

Please fix the Sonar issues.

@sonarqubecloud

sonarqubecloud Bot commented Aug 3, 2026

Copy link
Copy Markdown

public enum Topic {
JOB_COMMAND("data-export.job.command");
JOB_COMMAND("data-export.job.command"),
CONFIG("data-export-spring.config");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to use the same pattern and use data-export.config

Comment thread NEWS.md
## 2026-07-28 v3.7.0

### Stories
* Publish Kafka domain events (CREATE/UPDATE) for Export Configuration changes on `folio.ALL.data-export-spring.config` with structural credential redaction

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the same rename of topic need to be done here as well

* @param tenant the tenant id
* @return the fully-qualified tenant topic name
*/
public String getTenantTopicName(Topic topic, String tenant) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need this method at all or can just make private String getTenantTopicName(String topicName, String tenantId) as public

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants