Skip to content

Commit

Permalink
fix: P4ADEV-1938-add-temporal-annotation-to-TreasuryOpiIngestionActiv…
Browse files Browse the repository at this point in the history
…ity (#83)
  • Loading branch information
macacia authored Jan 17, 2025
1 parent 2de395a commit 3d8ef62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
package it.gov.pagopa.payhub.activities.activity.treasury;

import io.temporal.activity.ActivityInterface;
import io.temporal.activity.ActivityMethod;
import it.gov.pagopa.payhub.activities.dto.treasury.TreasuryIufResult;

/**
* Interface for the TreasuryOpiIngestionActivity.
* Defines methods for processing files based on an IngestionFlow ID.
*/
@ActivityInterface
public interface TreasuryOpiIngestionActivity {

/**
Expand All @@ -14,5 +17,6 @@ public interface TreasuryOpiIngestionActivity {
* @param ingestionFlowId the unique identifier related to the file to process.
* @return {@link TreasuryIufResult} containing the list of IUFs and status.
*/
@ActivityMethod
TreasuryIufResult processFile(Long ingestionFlowId);
}
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.33.0
P4ADEV-1938-SNAPSHOT

0 comments on commit 3d8ef62

Please sign in to comment.