-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SWATCH-2980: Port export subscriptions to swatch contracts service
The export of subscriptions was implemented as part of SWATCH-2021 and SWATCH-2023 (epic SWATCH-86). Since the idea is to delete the subscription sync service, we need to also port this functionality to the swatch contracts. Important changes: - the Quarkus REST-Client does not support having multiple Content-Type, so I changed the export API to use instead of using application/json and application/csv, just use "application/octet-stream". - I had to disable/comment some tests because we need a Postgresql instance with all the migrations (the migration scripts from the monolith and the ones from the swatch-contracts). This needs to be addressed in a separated ticket which is already reported in SWATCH-2820
- Loading branch information
Showing
29 changed files
with
1,040 additions
and
510 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,2 @@ | ||
SUBSCRIPTION_EXPORT_TOPIC: ${clowder.kafka.topics."platform.export.requests".name:platform.export.requests} | ||
|
||
|
||
rhsm-subscriptions: | ||
export-service: | ||
url: ${clowder.privateEndpoints.export-service-service.url:http://localhost:10000} | ||
truststore: ${clowder.privateEndpoints.export-service-service.trust-store-path} | ||
truststore-password: ${clowder.privateEndpoints.export-service-service.trust-store-password} | ||
truststore-type: ${clowder.privateEndpoints.export-service-service.trust-store-type} | ||
psk: ${SWATCH_EXPORT_PSK:placeholder} | ||
subscription-sync-enabled: ${SUBSCRIPTION_SYNC_ENABLED:true} | ||
export: | ||
tasks: | ||
topic: ${SUBSCRIPTION_EXPORT_TOPIC} | ||
kafka-group-id: swatch-subscription-export |
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
128 changes: 0 additions & 128 deletions
128
...lepin/subscriptions/subscription/export/PerformanceSubscriptionDataExporterServiceIT.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.