Updated based on feedback

Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
This commit is contained in:
Andre Wanlin
2023-04-20 11:29:06 -05:00
parent 347aeca204
commit d29f591640
7 changed files with 22 additions and 8 deletions
-2
View File
@@ -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,
+6
View File
@@ -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';