This PR accomplishes 4 things to reduce technical debt:
Replaces print statements with configurable logging levels
Corrects invalid conversion of object names from plural to singular
Excludes all non-JSON (e.g. plaintext and HTML) PAPI handlers
Resolves errors that were excluding some PAPI handlers from the SDK
In some cases, an additional 20+ PAPI handlers have been added to the Swagger config. The output below gives examples of how the number of successfully processed and excluded handlers changes as a result of this PR.
OneFS 7.2 previous output:
End points successfully processed: 209, failed to process: 4, excluded: 17.
After fixes:
04:10:13 INFO - End points successfully processed: 210, failed to process: 0, excluded: 20.
OneFS 8.0.0 previous output:
End points successfully processed: 356, failed to process: 26, excluded: 4.
After fixes:
04:10:58 INFO - End points successfully processed: 377, failed to process: 0, excluded: 11.
OneFS 8.0.1 previous output:
End points successfully processed: 391, failed to process: 27, excluded: 4.
After fixes:
04:13:47 INFO - End points successfully processed: 411, failed to process: 0, excluded: 11.
OneFS 8.1.0 previous output:
End points successfully processed: 398, failed to process: 27, excluded: 4.
After fixes:
04:16:31 INFO - End points successfully processed: 418, failed to process: 0, excluded: 11.
This PR accomplishes 4 things to reduce technical debt:
In some cases, an additional 20+ PAPI handlers have been added to the Swagger config. The output below gives examples of how the number of successfully processed and excluded handlers changes as a result of this PR.
OneFS 7.2 previous output:
After fixes:
OneFS 8.0.0 previous output:
After fixes:
OneFS 8.0.1 previous output:
After fixes:
OneFS 8.1.0 previous output:
After fixes: