Updated based on feedback
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
This commit is contained in:
@@ -36,6 +36,4 @@ export interface RouterOptions {
|
||||
// (undocumented)
|
||||
permissions: PermissionEvaluator;
|
||||
}
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -90,7 +90,7 @@ export class DevToolsBackendApi {
|
||||
res.status === 200
|
||||
? ExternalDependencyStatus.healthy
|
||||
: ExternalDependencyStatus.unhealthy;
|
||||
this.logger.info(
|
||||
this.logger.debug(
|
||||
`Fetch for ${endpoint.name} resulted in status code "${res.status}"`,
|
||||
);
|
||||
})
|
||||
@@ -129,7 +129,9 @@ export class DevToolsBackendApi {
|
||||
: pingResult.output;
|
||||
}
|
||||
|
||||
this.logger.info(`Ping results for ${endpoint.name}: ${pingResult.output}`);
|
||||
this.logger.debug(
|
||||
`Ping results for ${endpoint.name}: ${pingResult.output}`,
|
||||
);
|
||||
|
||||
const result: ExternalDependency = {
|
||||
name: endpoint.name,
|
||||
|
||||
@@ -14,5 +14,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Backstage DevTools backend plugin that contains the API for retrieving package dependencies and current configuration which is used by the Backstage DevTools frontend plugin.
|
||||
*
|
||||
* @packageDocumentation
|
||||
*/
|
||||
|
||||
export { DevToolsBackendApi } from './api';
|
||||
export * from './service/router';
|
||||
|
||||
Reference in New Issue
Block a user