Rename JenkinsApiImpl to JenkinsClient

Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
Andrew Shirley
2021-07-02 13:13:15 +01:00
committed by blam
parent b56de23876
commit 9fde1b3313
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ export interface JenkinsApi {
): Promise<void>;
}
export class JenkinsApiImpl implements JenkinsApi {
export class JenkinsClient implements JenkinsApi {
private readonly discoveryApi: DiscoveryApi;
private readonly identityApi: IdentityApi;
+1 -1
View File
@@ -14,6 +14,6 @@
* limitations under the License.
*/
export { JenkinsApiImpl, jenkinsApiRef } from './JenkinsApi';
export { JenkinsClient, jenkinsApiRef } from './JenkinsApi';
export type { JenkinsApi } from './JenkinsApi';
+2 -2
View File
@@ -23,7 +23,7 @@ import {
discoveryApiRef,
identityApiRef,
} from '@backstage/core-plugin-api';
import { JenkinsApiImpl, jenkinsApiRef } from './api';
import { JenkinsClient, jenkinsApiRef } from './api';
export const rootRouteRef = createRouteRef({
path: '',
@@ -43,7 +43,7 @@ export const jenkinsPlugin = createPlugin({
api: jenkinsApiRef,
deps: { discoveryApi: discoveryApiRef, identityApi: identityApiRef },
factory: ({ discoveryApi, identityApi }) =>
new JenkinsApiImpl({ discoveryApi, identityApi }),
new JenkinsClient({ discoveryApi, identityApi }),
}),
],
routes: {