Files
cgrates/ees
ionutboangiu b7dacfe8a6 Revise APIerSv1.ReplayFailedPosts API + tests
- renamed parameter type: ArgsReplyFailedPosts -> ReplayFailedPostsParams
- renamed param fields:
  - FailedRequestsInDir -> SourcePath
  - FailedRequestsOutDir -> FailedPath
- changed param fields types from *string to string
- used the SourcePath and FailedPath params directly instead of creating separate variables
- used filepath.WalkDir instead of reading the directory and looping over the entries
- used slices.ContainsFunc to check if the file belongs to any module (if 1+ is specified)
- used filepath.Join instead of path.Join
- used the path provided by WalkFunc instead of building the file paths ourselves
- made error returns more descriptive
- added logs for directories/files that are skipped
- paths that cannot be accessed are skipped after logging the error
2024-06-06 13:30:14 +02:00
..
2024-04-08 13:14:02 +02:00
2023-05-31 10:23:12 +02:00
2021-10-21 14:30:20 +03:00
2023-05-31 10:23:12 +02:00
2024-04-15 10:39:33 +02:00
2024-04-08 13:14:02 +02:00
2024-06-06 13:17:59 +02:00