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:
@@ -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;
|
||||
|
||||
|
||||
@@ -14,6 +14,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { JenkinsApiImpl, jenkinsApiRef } from './JenkinsApi';
|
||||
export { JenkinsClient, jenkinsApiRef } from './JenkinsApi';
|
||||
|
||||
export type { JenkinsApi } from './JenkinsApi';
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user