chore: rename files in the gitlab module

Signed-off-by: ElaineDeMattosSilvaB <elaine.de-mattos-silva-bezerra@deutschebahn.com>
This commit is contained in:
ElaineDeMattosSilvaB
2024-05-27 12:06:05 +02:00
parent c22bc6d5a2
commit 5c5622290e
18 changed files with 42 additions and 42 deletions
@@ -14,12 +14,12 @@
* limitations under the License.
*/
import { createGitlabGroupEnsureExistsAction } from './createGitlabGroupEnsureExistsAction';
import { createMockActionContext } from '@backstage/plugin-scaffolder-node-test-utils';
import { ConfigReader } from '@backstage/core-app-api';
import { ScmIntegrations } from '@backstage/integration';
import { createMockActionContext } from '@backstage/plugin-scaffolder-node-test-utils';
import yaml from 'yaml';
import { examples } from './createGitlabGroupEnsureExistsAction.examples';
import { createGitlabGroupEnsureExistsAction } from './gitlabGroupEnsureExists';
import { examples } from './gitlabGroupEnsureExists.examples';
const mockGitlabClient = {
Groups: {
@@ -14,10 +14,10 @@
* limitations under the License.
*/
import { createGitlabGroupEnsureExistsAction } from './createGitlabGroupEnsureExistsAction';
import { createMockActionContext } from '@backstage/plugin-scaffolder-node-test-utils';
import { ConfigReader } from '@backstage/core-app-api';
import { ScmIntegrations } from '@backstage/integration';
import { createMockActionContext } from '@backstage/plugin-scaffolder-node-test-utils';
import { createGitlabGroupEnsureExistsAction } from './gitlabGroupEnsureExists';
const mockGitlabClient = {
Groups: {
@@ -14,14 +14,14 @@
* limitations under the License.
*/
import { createTemplateAction } from '@backstage/plugin-scaffolder-node';
import { ScmIntegrationRegistry } from '@backstage/integration';
import { Gitlab } from '@gitbeaker/node';
import { createTemplateAction } from '@backstage/plugin-scaffolder-node';
import { GroupSchema } from '@gitbeaker/core/dist/types/resources/Groups';
import { Gitlab } from '@gitbeaker/node';
import { z } from 'zod';
import commonGitlabConfig from '../commonGitlabConfig';
import { getToken } from '../util';
import { z } from 'zod';
import { examples } from './createGitlabGroupEnsureExistsAction.examples';
import { examples } from './gitlabGroupEnsureExists.examples';
/**
* Creates an `gitlab:group:ensureExists` Scaffolder action.
@@ -14,10 +14,10 @@
* limitations under the License.
*/
import { createMockActionContext } from '@backstage/plugin-scaffolder-node-test-utils';
import { createGitlabIssueAction, IssueType } from './createGitlabIssueAction';
import { ConfigReader } from '@backstage/core-app-api';
import { ScmIntegrations } from '@backstage/integration';
import { createMockActionContext } from '@backstage/plugin-scaffolder-node-test-utils';
import { createGitlabIssueAction, IssueType } from './gitlabIssueCreate';
const mockGitlabClient = {
Issues: {
@@ -18,7 +18,7 @@ import { InputError } from '@backstage/errors';
import { ScmIntegrationRegistry } from '@backstage/integration';
import { createTemplateAction } from '@backstage/plugin-scaffolder-node';
import commonGitlabConfig from '../commonGitlabConfig';
import { examples } from './createGitlabIssueAction.examples';
import { examples } from './gitlabIssueCreate.examples';
import { z } from 'zod';
import { checkEpicScope, convertDate, getClient, parseRepoUrl } from '../util';
import { Gitlab, CreateIssueOptions, IssueSchema } from '@gitbeaker/rest';
@@ -15,10 +15,10 @@
*/
import { ConfigReader } from '@backstage/config';
import { ScmIntegrations } from '@backstage/integration';
import yaml from 'yaml';
import { createGitlabProjectAccessTokenAction } from './createGitlabProjectAccessTokenAction'; // Adjust the import based on your project structure
import { examples } from './createGitlabProjectAccessTokenAction.examples';
import { createMockActionContext } from '@backstage/plugin-scaffolder-node-test-utils';
import yaml from 'yaml';
import { createGitlabProjectAccessTokenAction } from './gitlabProjectAccessTokenCreate'; // Adjust the import based on your project structure
import { examples } from './gitlabProjectAccessTokenCreate.examples';
import { DateTime } from 'luxon';
@@ -21,7 +21,7 @@ import { AccessTokenScopes, Gitlab } from '@gitbeaker/rest';
import { DateTime } from 'luxon';
import { z } from 'zod';
import { getToken } from '../util';
import { examples } from './createGitlabProjectAccessTokenAction.examples';
import { examples } from './gitlabProjectAccessTokenCreate.examples';
/**
* Creates a `gitlab:projectAccessToken:create` Scaffolder action.
@@ -14,12 +14,12 @@
* limitations under the License.
*/
import { createGitlabProjectDeployTokenAction } from './createGitlabProjectDeployTokenAction';
import { createMockActionContext } from '@backstage/plugin-scaffolder-node-test-utils';
import { ScmIntegrations } from '@backstage/integration';
import { ConfigReader } from '@backstage/config';
import { ScmIntegrations } from '@backstage/integration';
import { createMockActionContext } from '@backstage/plugin-scaffolder-node-test-utils';
import yaml from 'yaml';
import { examples } from './createGitlabProjectDeployTokenAction.examples';
import { createGitlabProjectDeployTokenAction } from './gitlabProjectDeployTokenCreate';
import { examples } from './gitlabProjectDeployTokenCreate.examples';
const mockGitlabClient = {
ProjectDeployTokens: {
@@ -14,10 +14,10 @@
* limitations under the License.
*/
import { createGitlabProjectDeployTokenAction } from './createGitlabProjectDeployTokenAction';
import { createMockActionContext } from '@backstage/plugin-scaffolder-node-test-utils';
import { ScmIntegrations } from '@backstage/integration';
import { ConfigReader } from '@backstage/config';
import { ScmIntegrations } from '@backstage/integration';
import { createMockActionContext } from '@backstage/plugin-scaffolder-node-test-utils';
import { createGitlabProjectDeployTokenAction } from './gitlabProjectDeployTokenCreate';
const mockGitlabClient = {
ProjectDeployTokens: {
@@ -14,15 +14,15 @@
* limitations under the License.
*/
import { createTemplateAction } from '@backstage/plugin-scaffolder-node';
import { Gitlab } from '@gitbeaker/node';
import { InputError } from '@backstage/errors';
import { ScmIntegrationRegistry } from '@backstage/integration';
import { createTemplateAction } from '@backstage/plugin-scaffolder-node';
import { DeployTokenScope } from '@gitbeaker/core/dist/types/templates/ResourceDeployTokens';
import { Gitlab } from '@gitbeaker/node';
import { z } from 'zod';
import commonGitlabConfig from '../commonGitlabConfig';
import { getToken } from '../util';
import { InputError } from '@backstage/errors';
import { z } from 'zod';
import { examples } from './createGitlabProjectDeployTokenAction.examples';
import { examples } from './gitlabProjectDeployTokenCreate.examples';
/**
* Creates a `gitlab:projectDeployToken:create` Scaffolder action.
@@ -14,12 +14,12 @@
* limitations under the License.
*/
import { createGitlabProjectVariableAction } from './createGitlabProjectVariableAction';
import { createMockActionContext } from '@backstage/plugin-scaffolder-node-test-utils';
import { ScmIntegrations } from '@backstage/integration';
import { ConfigReader } from '@backstage/config';
import { ScmIntegrations } from '@backstage/integration';
import { createMockActionContext } from '@backstage/plugin-scaffolder-node-test-utils';
import yaml from 'yaml';
import { examples } from './createGitlabProjectVariableAction.examples';
import { createGitlabProjectVariableAction } from './gitlabProjectVariableCreate';
import { examples } from './gitlabProjectVariableCreate.examples';
const mockGitlabClient = {
ProjectVariables: {
@@ -14,13 +14,13 @@
* limitations under the License.
*/
import { createTemplateAction } from '@backstage/plugin-scaffolder-node';
import { ScmIntegrationRegistry } from '@backstage/integration';
import { createTemplateAction } from '@backstage/plugin-scaffolder-node';
import { Gitlab } from '@gitbeaker/node';
import { getToken } from '../util';
import commonGitlabConfig from '../commonGitlabConfig';
import { z } from 'zod';
import { examples } from './createGitlabProjectVariableAction.examples';
import commonGitlabConfig from '../commonGitlabConfig';
import { getToken } from '../util';
import { examples } from './gitlabProjectVariableCreate.examples';
/**
* Creates a `gitlab:projectVariable:create` Scaffolder action.
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export * from './createGitlabGroupEnsureExistsAction';
export * from './createGitlabIssueAction';
export * from './createGitlabProjectAccessTokenAction';
export * from './createGitlabProjectDeployTokenAction';
export * from './createGitlabProjectVariableAction';
export * from './gitlab';
export * from './gitlabGroupEnsureExists';
export * from './gitlabIssueCreate';
export * from './gitlabMergeRequest';
export * from './gitlabRepoPush';
export * from './gitlabPipelineTrigger';
export * from './gitlabProjectAccessTokenCreate';
export * from './gitlabProjectDeployTokenCreate';
export * from './gitlabProjectVariableCreate';
export * from './gitlabRepoPush';