* refactor: rename deprecatedService to retiredService
- Updated all instances of deprecatedService to retiredService in service implementations, tests, and documentation.
- Changed attribute names from isDeprecated to isRetired in relevant schemas and service definitions.
- Adjusted tests and documentation to reflect the new terminology and ensure consistency.
* docs: rename deprecating-badges.md to retiring-badges.md
* refactor: rename files deprecated-service to retired-service
* refactor: update terminology from deprecated to retired in badge documentation
* change deprecated badge messages to 'retired badge'
- reduce confusion over deprecated badge source (badge, shields, endpoint service, user's service)
- reduce length of message to reduce traffic
update all deprecated services and base class code in a follow-up commit after discussion.
see https://github.com/badges/shields/pull/11792#issuecomment-4229267483
* update default deprecation message to 'retired badge'
* update deprecated badge messages to 'retired badge' in tests
* convert an example that doesn't matter
* migrate some services from examples to openApi
* improve and de-dupe service titles
* revert changes to codefactor
* allow serviceData to override cacheSeconds with a longer value
* prevent [endpoint] json cacheSeconds property exceeding service default
* allow ShieldsRuntimeError to specify a cacheSeconds property
By default error responses use the cacheLength of
the service class throwing the error.
This allows error to tell the handling layer the maxAge
that should be set on the error badge response.
* add customExceptions param
This
1. allows us to specify custom properties to pass to the exception
constructor if we throw any of the standard got errors
e.g: `ETIMEDOUT`, `ECONNRESET`, etc
2. uses a custom `cacheSeconds` property (if set on the exception)
to set the response maxAge
* customExceptions --> systemErrors
* errorMessages --> httpErrors
* [Bit] add bit components count service
* [Bit] change 404 error to 'collection not found'
* [Bit] remove comment
* [Bit] change collection schema
* [Bit] use isMetric
* [Bit] replace static color to dynamic color
* [BIt] change bit total components route
* change scope to collection
* change all scope var to collection