Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: deprecate rep file template (#11329)
Danny Xu2f5e25184052
diff --git a/backend/api/v1/project_service.go b/backend/api/v1/project_service.goindex c99a52aa0e..7a4545f992 100644--- a/backend/api/v1/project_service.go+++ b/backend/api/v1/project_service.go@@ -5,7 +5,6 @@ import ("encoding/json""fmt""log/slog"- "path""reflect""strconv""strings"@@ -504,20 +503,6 @@ func (s *ProjectService) UpdateProjectGitOpsInfo(ctx context.Context, request *v}}- // We need to check the FilePathTemplate in create repository request.- // This avoids to a certain extent that the creation succeeds but does not work.- newBaseDirectory, newFilePathTemplate := repo.BaseDirectory, repo.FilePathTemplate- if patch.BaseDirectory != nil {- newBaseDirectory = *patch.BaseDirectory- }- if patch.FilePathTemplate != nil {- newFilePathTemplate = *patch.FilePathTemplate- }-- if err := vcsplugin.IsAsterisksInTemplateValid(path.Join(newBaseDirectory, newFilePathTemplate)); err != nil {- return nil, status.Errorf(codes.InvalidArgument, "invalid base directory and filepath template combination: %v", err.Error())- }-principalID, ok := ctx.Value(common.PrincipalIDContextKey).(int)if !ok {return nil, status.Errorf(codes.Internal, "principal ID not found")@@ -998,12 +983,6 @@ func (s *ProjectService) createProjectGitOpsInfo(ctx context.Context, request *vreturn nil, status.Errorf(codes.InvalidArgument, "branch must be specified")}- // We need to check the FilePathTemplate in create repository request.- // This avoids to a certain extent that the creation succeeds but does not work.- if err := vcsplugin.IsAsterisksInTemplateValid(path.Join(repositoryCreate.BaseDirectory, repositoryCreate.FilePathTemplate)); err != nil {- return nil, status.Errorf(codes.InvalidArgument, "invalid base directory and filepath template combination: %v", err.Error())- }-// When the branch names doesn't contain wildcards, we should make sure the branch exists in the repo.if !strings.Contains(repositoryCreate.BranchFilter, "*") {notFound, err := isBranchNotFound(diff --git a/backend/migrator/migration/prod/2.15/0010##repo_template.sql b/backend/migrator/migration/prod/2.15/0010##repo_template.sqlnew file mode 100644index 0000000000..a44fead153--- /dev/null+++ b/backend/migrator/migration/prod/2.15/0010##repo_template.sql@@ -0,0 +1,2 @@+ALTER TABLE repository DROP COLUMN file_path_template;+ALTER TABLE repository DROP COLUMN schema_path_template;diff --git a/backend/migrator/migration/prod/LATEST.sql b/backend/migrator/migration/prod/LATEST.sqlindex 71f83a3c77..a4861ffa84 100644--- a/backend/migrator/migration/prod/LATEST.sql+++ b/backend/migrator/migration/prod/LATEST.sql@@ -891,11 +891,6 @@ CREATE TABLE repository (branch_filter TEXT NOT NULL DEFAULT '',-- Base working directory we are interested.base_directory TEXT NOT NULL DEFAULT '',- -- The file path template for matching the committed migration script.- file_path_template TEXT NOT NULL DEFAULT '',- -- The file path template for storing the latest schema auto-generated by Bytebase after migration.- -- If empty, then Bytebase won't auto generate it.- schema_path_template TEXT NOT NULL DEFAULT '',-- Repository id from the corresponding VCS provider.-- For GitLab, this is the project id. e.g. 123external_id TEXT NOT NULL,diff --git a/backend/migrator/migrator_test.go b/backend/migrator/migrator_test.goindex f6eb22984e..54a2fd9b07 100644--- a/backend/migrator/migrator_test.go+++ b/backend/migrator/migrator_test.go@@ -230,5 +230,5 @@ func TestMigrationCompatibility(t *testing.T) {func TestGetCutoffVersion(t *testing.T) {releaseVersion, err := getProdCutoffVersion()require.NoError(t, err)- require.Equal(t, semver.MustParse("2.15.9"), releaseVersion)+ require.Equal(t, semver.MustParse("2.15.10"), releaseVersion)}diff --git a/backend/plugin/vcs/vcs.go b/backend/plugin/vcs/vcs.goindex aa9cca6d4d..2dfc5c309b 100644--- a/backend/plugin/vcs/vcs.go+++ b/backend/plugin/vcs/vcs.go@@ -2,14 +2,9 @@ package vcsimport ("context"- "fmt""net/http"- "regexp"- "strings""sync"- "github.com/pkg/errors"-"github.com/bytebase/bytebase/backend/common")@@ -357,77 +352,3 @@ func Get(vcsType Type, providerConfig ProviderConfig) Provider {return f(providerConfig)}--// IsAsterisksInTemplateValid checks if the pathTemplate is valid about asterisk.-// Fow now, our rules are:-// 1. Support two asterisks at most.-// 2. Both ends of consecutive asterisks just can be '/'.-// 3. Consecutive asterisks cannot be placed at the beginning or end.-func IsAsterisksInTemplateValid(pathTemplate string) error {- const maxAsteriskNum = 2- if err := isMaxConsecutiveAsteriskValid(pathTemplate, maxAsteriskNum); err != nil {- return err- }- if err := isSingleAsteriskInTemplateValid(pathTemplate); err != nil {- return err- }- return isDoubleAsteriskInTemplateValid(pathTemplate)-}--// isSingleAsteriskInTemplateValid checks whether the single in file path template is valid.-func isSingleAsteriskInTemplateValid(pathTemplate string) error {- return isMultipleTimesAsteriskInTemplateValid(pathTemplate, 1)-}--// isDoubleAsteriskInTemplateValid checks whether the consecutive double asterisks in file path template is valid.-func isDoubleAsteriskInTemplateValid(pathTemplate string) error {- return isMultipleTimesAsteriskInTemplateValid(pathTemplate, 2)-}--// isMaxConsecutiveAsteriskValid returns true if the pathTemplate contains `n` consecutive asterisk at most.-func isMaxConsecutiveAsteriskValid(pathTemplate string, n int) error {- re := regexp.MustCompile(strings.Repeat(`\*`, n+1))- if re.MatchString(pathTemplate) {- return errors.Errorf("path template %s contains more than %d asterisk", pathTemplate, n)- }- return nil-}--// isMultipleTimesAsteriskInTemplateValid checks whether the consecutive asterisks in file path template is valid.-// The rules are():-// 1. Consecutive asterisks cannot be placed at the beginning or end.-// 2. Both ends of consecutive asterisks just can be * or /.-// Take asteriskTimes = 2 as an example:-// "**/test" and "test/**" will break the rule1.-// "abc**" and "?**/" will break the rule2.-func isMultipleTimesAsteriskInTemplateValid(pathTemplate string, asteriskTimes int) error {- base := strings.Repeat(`\*`, asteriskTimes)- rs := []struct {- regex string- errmsg string- }{- {- regex: fmt.Sprintf(`([^\/\*]+%s)`, base),- errmsg: `In path template, * can only be preceded by another / or *`,- },- {- regex: fmt.Sprintf(`(%s[^\/\*]+)`, base),- errmsg: `In path template, only / or * can be followed by *`,- },- {- regex: fmt.Sprintf(`(^(%s))`, base),- errmsg: fmt.Sprintf(`path template %s contains consecutive asterisks at the beginning`, pathTemplate),- },- {- regex: fmt.Sprintf(`((%s)$)`, base),- errmsg: fmt.Sprintf(`path template %s contains consecutive asterisks at the end`, pathTemplate),- },- }- for _, rs := range rs {- re := regexp.MustCompile(rs.regex)- if re.MatchString(pathTemplate) {- return errors.New(rs.errmsg)- }- }- return nil-}diff --git a/backend/plugin/vcs/vcs_test.go b/backend/plugin/vcs/vcs_test.goindex 20e234349f..2e4d6ccd3a 100644--- a/backend/plugin/vcs/vcs_test.go+++ b/backend/plugin/vcs/vcs_test.go@@ -5,7 +5,6 @@ import ("encoding/json"- "github.com/stretchr/testify/assert""github.com/stretchr/testify/require""google.golang.org/protobuf/encoding/protojson"@@ -13,47 +12,6 @@ import (storepb "github.com/bytebase/bytebase/proto/generated-go/store")-func TestIsDoubleTimesAsteriskInTemplateValid(t *testing.T) {- tests := []struct {- template string- err bool- }{- {- template: "**",- err: true,- },- {- template: "bytebase/{{ENV_ID}}/**",- err: true,- },- {- template: "**/{{ENV_ID}}/{{DB_NAME}}.sql",- err: true,- },- {- template: "bytebase/**/{{ENV_ID}}/**/{{DB_NAME}}##{{VERSION}}##{{TYPE}}##{{DESCRIPTION}}.sql",- err: false,- },- {- template: "/**/{{ENV_ID}}/**/{{DB_NAME}}##{{VERSION}}##{{TYPE}}##{{DESCRIPTION}}.sql",- err: false,- },- // Credit to Linear Issue BYT-1267- {- template: "/configure/configure/{{ENV_ID}}/**/**/{{DESCRIPTION}}.sql",- err: false,- },- }- for _, test := range tests {- outputErr := isDoubleAsteriskInTemplateValid(test.template)- if test.err {- assert.Error(t, outputErr)- } else {- assert.NoError(t, outputErr)- }- }-}-func TestPushEventUnmarshalToProto(t *testing.T) {a := require.New(t)vcsPushEvent := &PushEvent{diff --git a/backend/store/repository.go b/backend/store/repository.goindex bb7866b661..bfac272bff 100644--- a/backend/store/repository.go+++ b/backend/store/repository.go@@ -25,8 +25,6 @@ type RepositoryMessage struct {WebURL stringBranchFilter stringBaseDirectory string- FilePathTemplate string- SchemaPathTemplate stringExternalID stringExternalWebhookID stringWebhookURLHost string@@ -55,10 +53,8 @@ type PatchRepositoryMessage struct {WebURL *string// Domain specific fields- BranchFilter *string- BaseDirectory *string- FilePathTemplate *string- SchemaPathTemplate *string+ BranchFilter *string+ BaseDirectory *string}// CreateRepositoryV2 creates the repository.@@ -196,16 +192,14 @@ func createRepositoryImplV2(ctx context.Context, tx *Tx, project *ProjectMessageweb_url,branch_filter,base_directory,- file_path_template,- schema_path_template,external_id,external_webhook_id,webhook_url_host,webhook_endpoint_id,webhook_secret_token)- VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17)- RETURNING id, vcs_id, resource_id, name, full_path, web_url, branch_filter, base_directory, file_path_template, schema_path_template, external_id, external_webhook_id, webhook_url_host, webhook_endpoint_id, webhook_secret_token+ VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15)+ RETURNING id, vcs_id, resource_id, name, full_path, web_url, branch_filter, base_directory, external_id, external_webhook_id, webhook_url_host, webhook_endpoint_id, webhook_secret_token`if err := tx.QueryRowContext(ctx, query,creatorID,@@ -218,8 +212,6 @@ func createRepositoryImplV2(ctx context.Context, tx *Tx, project *ProjectMessagecreate.WebURL,create.BranchFilter,create.BaseDirectory,- create.FilePathTemplate,- create.SchemaPathTemplate,create.ExternalID,create.ExternalWebhookID,create.WebhookURLHost,@@ -234,8 +226,6 @@ func createRepositoryImplV2(ctx context.Context, tx *Tx, project *ProjectMessage&repository.WebURL,&repository.BranchFilter,&repository.BaseDirectory,- &repository.FilePathTemplate,- &repository.SchemaPathTemplate,&repository.ExternalID,&repository.ExternalWebhookID,&repository.WebhookURLHost,@@ -288,8 +278,6 @@ func (*Store) listRepositoryImplV2(ctx context.Context, tx *Tx, find *FindReposiweb_url,branch_filter,base_directory,- file_path_template,- schema_path_template,external_id,external_webhook_id,webhook_url_host,@@ -321,8 +309,6 @@ func (*Store) listRepositoryImplV2(ctx context.Context, tx *Tx, find *FindReposi&repository.WebURL,&repository.BranchFilter,&repository.BaseDirectory,- &repository.FilePathTemplate,- &repository.SchemaPathTemplate,&repository.ExternalID,&repository.ExternalWebhookID,&repository.WebhookURLHost,@@ -352,12 +338,6 @@ func (*Store) patchRepositoryImplV2(ctx context.Context, tx *Tx, patch *PatchRepif v := patch.BaseDirectory; v != nil {set, args = append(set, fmt.Sprintf("base_directory = $%d", len(args)+1)), append(args, *v)}- if v := patch.FilePathTemplate; v != nil {- set, args = append(set, fmt.Sprintf("file_path_template = $%d", len(args)+1)), append(args, *v)- }- if v := patch.SchemaPathTemplate; v != nil {- set, args = append(set, fmt.Sprintf("schema_path_template = $%d", len(args)+1)), append(args, *v)- }where := []string{}if v := patch.UID; v != nil {@@ -391,8 +371,6 @@ func (*Store) patchRepositoryImplV2(ctx context.Context, tx *Tx, patch *PatchRepweb_url,branch_filter,base_directory,- file_path_template,- schema_path_template,external_id,external_webhook_id,webhook_url_host,@@ -411,8 +389,6 @@ func (*Store) patchRepositoryImplV2(ctx context.Context, tx *Tx, patch *PatchRep&repository.WebURL,&repository.BranchFilter,&repository.BaseDirectory,- &repository.FilePathTemplate,- &repository.SchemaPathTemplate,&repository.ExternalID,&repository.ExternalWebhookID,&repository.WebhookURLHost,diff --git a/backend/tests/schema_update_test.go b/backend/tests/schema_update_test.goindex f451a121e7..9319aa2aba 100644--- a/backend/tests/schema_update_test.go+++ b/backend/tests/schema_update_test.go@@ -208,16 +208,14 @@ func TestSimpleVCS(t *testing.T) {_, err = ctl.projectServiceClient.UpdateProjectGitOpsInfo(ctx, &v1pb.UpdateProjectGitOpsInfoRequest{ProjectGitopsInfo: &v1pb.ProjectGitOpsInfo{- Name: fmt.Sprintf("%s/gitOpsInfo", ctl.project.Name),- Vcs: evcs.Name,- Title: "Test Repository",- FullPath: test.repositoryFullPath,- WebUrl: fmt.Sprintf("%s/%s", ctl.vcsURL, test.repositoryFullPath),- BranchFilter: "feature/foo",- BaseDirectory: baseDirectory,- FilePathTemplate: "{{ENV_ID}}/{{DB_NAME}}##{{VERSION}}##{{TYPE}}##{{DESCRIPTION}}.sql",- SchemaPathTemplate: "{{ENV_ID}}/.{{DB_NAME}}##LATEST.sql",- ExternalId: test.externalID,+ Name: fmt.Sprintf("%s/gitOpsInfo", ctl.project.Name),+ Vcs: evcs.Name,+ Title: "Test Repository",+ FullPath: test.repositoryFullPath,+ WebUrl: fmt.Sprintf("%s/%s", ctl.vcsURL, test.repositoryFullPath),+ BranchFilter: "feature/foo",+ BaseDirectory: baseDirectory,+ ExternalId: test.externalID,},AllowMissing: true,})diff --git a/frontend/src/components/RepositoryForm.vue b/frontend/src/components/RepositoryForm.vueindex d40775f383..ec387dcddf 100644--- a/frontend/src/components/RepositoryForm.vue+++ b/frontend/src/components/RepositoryForm.vue@@ -77,91 +77,15 @@:disabled="!allowEdit"/></div>- <div>- <div class="textlabel">- {{ $t("project.settings.schema-change-type") }}- <span class="text-red-600">*</span>- <LearnMoreLink- url="https://www.bytebase.com/docs/change-database/state-based-migration?source=console"- class="ml-1"- />- </div>- </div>- <div>- <div class="textlabel">- {{ $t("repository.file-path-template") }}- <span class="text-red-600">*</span>- </div>- <div class="mt-1 textinfolabel">- {{ $t("repository.file-path-template-description") }}- <LearnMoreLink- url="https://www.bytebase.com/docs/vcs-integration/name-and-organize-schema-files?source=console#file-path-template"- class="ml-1"- />- </div>- <BBTextField- id="filepathtemplate"- v-model:value="repositoryConfig.filePathTemplate"- name="filepathtemplate"- class="mt-2 w-full"- :disabled="!allowEdit"- />- <div class="mt-2 textinfolabel capitalize">- <span class="text-red-600">*</span>- {{ $t("common.required-placeholder") }}:- {{ FILE_REQUIRED_PLACEHOLDER }};- <template v-if="fileOptionalPlaceholder.length > 0">- {{ $t("common.optional-placeholder") }}:- {{ fileOptionalPlaceholder.join(", ") }};- </template>- {{ $t("common.optional-directory-wildcard") }}:- {{ FILE_OPTIONAL_DIRECTORY_WILDCARD }}- </div>- <div class="mt-2 textinfolabel">- • {{ $t("repository.file-path-example-schema-migration") }}:- {{- sampleFilePath(- repositoryConfig.baseDirectory,- repositoryConfig.filePathTemplate,- "ddl"- )- }}- </div>- <div class="mt-2 textinfolabel">- • {{ $t("repository.file-path-example-data-migration") }}:- {{- sampleFilePath(- repositoryConfig.baseDirectory,- repositoryConfig.filePathTemplate,- "dml"- )- }}- </div>- </div></div>- <InstanceAssignment- :show="state.showInstanceAssignmentDrawer"- @dismiss="state.showInstanceAssignmentDrawer = false"- /></template><script lang="ts" setup>-import { reactive, computed } from "vue";+import { computed } from "vue";import type { ExternalRepositoryInfo, RepositoryConfig } from "@/types";import type { Project } from "@/types/proto/v1/project_service";-import { TenantMode } from "@/types/proto/v1/project_service";import { VCSProvider_Type } from "@/types/proto/v1/vcs_provider_service";-const FILE_REQUIRED_PLACEHOLDER = "{{DB_NAME}}, {{VERSION}}, {{TYPE}}";-const FILE_OPTIONAL_DIRECTORY_WILDCARD = "*, **";-const SINGLE_ASTERISK_REGEX = /\/\*\//g;-const DOUBLE_ASTERISKS_REGEX = /\/\*\*\//g;--interface LocalState {- showFeatureModal: boolean;- showInstanceAssignmentDrawer: boolean;-}-defineEmits<{(event: "change-repository"): void;}>();@@ -182,61 +106,6 @@ const props = withDefaults(});-const state = reactive<LocalState>({- showFeatureModal: false,- showInstanceAssignmentDrawer: false,-});--const isTenantProject = computed(() => {- return props.project.tenantMode === TenantMode.TENANT_MODE_ENABLED;-});--const sampleFilePath = (- baseDirectory: string,- filePathTemplate: string,- type: string-): string => {- type Item = {- placeholder: string;- sampleText: string;- };- const placeholderList: Item[] = [- {- placeholder: "{{VERSION}}",- sampleText: "202101131000",- },- {- placeholder: "{{DB_NAME}}",- sampleText: "db1",- },- {- placeholder: "{{TYPE}}",- sampleText: type,- },- {- placeholder: "{{ENV_ID}}",- sampleText: "env1",- },- {- placeholder: "{{ENV_NAME}}", // for legacy support- sampleText: "env1",- },- {- placeholder: "{{DESCRIPTION}}",- sampleText: "create_tablefoo_for_bar",- },- ];- let result = `${baseDirectory}/${filePathTemplate}`;- // To replace the wildcard.- result = result.replace(SINGLE_ASTERISK_REGEX, "/foo/");- result = result.replace(DOUBLE_ASTERISKS_REGEX, "/foo/bar/");- for (const item of placeholderList) {- const re = new RegExp(item.placeholder, "g");- result = result.replace(re, item.sampleText);- }- return result;-};-const getWebhookLink = computed(() => {if (props.vcsType === VCSProvider_Type.AZURE_DEVOPS) {const parts = props.repositoryInfo.externalId.split("/");@@ -248,12 +117,4 @@ const getWebhookLink = computed(() => {}return "";});--const fileOptionalPlaceholder = computed(() => {- const tags = [] as string[];- // Only allows {{ENV_ID}} to be an optional placeholder for non-tenant mode projects- if (!isTenantProject.value) tags.push("{{ENV_ID}}");- tags.push("{{DESCRIPTION}}");- return tags;-});</script>diff --git a/frontend/src/components/RepositoryPanel.vue b/frontend/src/components/RepositoryPanel.vueindex ea20a53cf9..b1da335490 100644--- a/frontend/src/components/RepositoryPanel.vue+++ b/frontend/src/components/RepositoryPanel.vue@@ -18,13 +18,6 @@{{ repositoryFormattedFullPath }}</a></template>- <template #fullPathTemplate>- <span class="font-medium text-main"- >{{ state.repositoryConfig.baseDirectory }}/{{- state.repositoryConfig.filePathTemplate- }}</span- >- </template></i18n-t><span> </span><i18n-t keypath="repository.gitops-description-branch">@@ -39,16 +32,6 @@</span></template></i18n-t>- <template v-if="state.repositoryConfig.schemaPathTemplate">- <span> </span>- <i18n-t keypath="repository.gitops-description-description-schema-path">- <template #schemaPathTemplate>- <span class="font-medium text-main">{{- state.repositoryConfig.schemaPathTemplate- }}</span>- </template>- </i18n-t>- </template></div><RepositoryFormclass="mt-4"@@ -142,8 +125,6 @@ const state = reactive<LocalState>({repositoryConfig: {baseDirectory: props.repository.baseDirectory,branchFilter: props.repository.branchFilter,- filePathTemplate: props.repository.filePathTemplate,- schemaPathTemplate: props.repository.schemaPathTemplate,},showFeatureModal: false,processing: false,@@ -155,8 +136,6 @@ watch(state.repositoryConfig = {baseDirectory: cur.baseDirectory,branchFilter: cur.branchFilter,- filePathTemplate: cur.filePathTemplate,- schemaPathTemplate: cur.schemaPathTemplate,};});@@ -185,13 +164,8 @@ const allowUpdate = computed(() => {return (!state.processing &&!isEmpty(state.repositoryConfig.branchFilter) &&- !isEmpty(state.repositoryConfig.filePathTemplate) &&(props.repository.branchFilter !== state.repositoryConfig.branchFilter ||- props.repository.baseDirectory !== state.repositoryConfig.baseDirectory ||- props.repository.filePathTemplate !==- state.repositoryConfig.filePathTemplate ||- props.repository.schemaPathTemplate !==- state.repositoryConfig.schemaPathTemplate)+ props.repository.baseDirectory !== state.repositoryConfig.baseDirectory));});@@ -233,18 +207,6 @@ const doUpdate = async () => {if (props.repository.baseDirectory != state.repositoryConfig.baseDirectory) {repositoryPatch.baseDirectory = state.repositoryConfig.baseDirectory;}- if (- props.repository.filePathTemplate != state.repositoryConfig.filePathTemplate- ) {- repositoryPatch.filePathTemplate = state.repositoryConfig.filePathTemplate;- }- if (- props.repository.schemaPathTemplate !=- state.repositoryConfig.schemaPathTemplate- ) {- repositoryPatch.schemaPathTemplate =- state.repositoryConfig.schemaPathTemplate;- }try {await repositoryV1Store.upsertRepository(diff --git a/frontend/src/components/RepositorySetupWizard.vue b/frontend/src/components/RepositorySetupWizard.vueindex d2a7a80940..392e8464d6 100644--- a/frontend/src/components/RepositorySetupWizard.vue+++ b/frontend/src/components/RepositorySetupWizard.vue@@ -54,7 +54,6 @@ import { StepTab } from "@/components/v2";import { PROJECT_V1_ROUTE_GITOPS } from "@/router/dashboard/projectV1";import { useRepositoryV1Store } from "@/store";import type { Project } from "@/types/proto/v1/project_service";-import { TenantMode } from "@/types/proto/v1/project_service";import type {ProjectGitOpsInfo,VCSProvider,@@ -62,17 +61,6 @@ import type {import { VCSProvider_Type } from "@/types/proto/v1/vcs_provider_service";import type { ExternalRepositoryInfo, ProjectRepositoryConfig } from "../types";-// Default file path template is to organize migration files from different environments under separate directories.-const DEFAULT_FILE_PATH_TEMPLATE =- "{{ENV_ID}}/{{DB_NAME}}##{{VERSION}}##{{TYPE}}##{{DESCRIPTION}}.sql";-// Default schema path template is co-locate with the corresponding db's migration files and use .(dot) to appear the first.-const DEFAULT_SCHEMA_PATH_TEMPLATE = "{{ENV_ID}}/.{{DB_NAME}}##LATEST.sql";--// For tenant mode projects, {{ENV_ID}} and {{DB_NAME}} is not supported.-const DEFAULT_TENANT_MODE_FILE_PATH_TEMPLATE =- "{{VERSION}}##{{TYPE}}##{{DESCRIPTION}}.sql";-const DEFAULT_TENANT_MODE_SCHEMA_PATH_TEMPLATE = ".LATEST.sql";-const CHOOSE_PROVIDER_STEP = 0;// const CHOOSE_REPOSITORY_STEP = 1;const CONFIGURE_DEPLOY_STEP = 2;@@ -112,10 +100,6 @@ const stepList = [{ title: t("repository.configure-deploy") },];-const isTenantProject = computed(() => {- return props.project.tenantMode === TenantMode.TENANT_MODE_ENABLED;-});-const state = reactive<LocalState>({config: {vcs: {} as VCSProvider,@@ -129,12 +113,6 @@ const state = reactive<LocalState>({repositoryConfig: {baseDirectory: "bytebase",branchFilter: "main",- filePathTemplate: isTenantProject.value- ? DEFAULT_TENANT_MODE_FILE_PATH_TEMPLATE- : DEFAULT_FILE_PATH_TEMPLATE,- schemaPathTemplate: isTenantProject.value- ? DEFAULT_TENANT_MODE_SCHEMA_PATH_TEMPLATE- : DEFAULT_SCHEMA_PATH_TEMPLATE,},},currentStep: CHOOSE_PROVIDER_STEP,@@ -146,7 +124,6 @@ const allowNext = computed((): boolean => {if (state.currentStep == CONFIGURE_DEPLOY_STEP) {return (!isEmpty(state.config.repositoryConfig.branchFilter.trim()) &&- !isEmpty(state.config.repositoryConfig.filePathTemplate.trim()) &&!state.processing);}@@ -182,8 +159,6 @@ const tryFinishSetup = async () => {webUrl: state.config.repositoryInfo.webUrl,branchFilter: state.config.repositoryConfig.branchFilter,baseDirectory: state.config.repositoryConfig.baseDirectory,- filePathTemplate: state.config.repositoryConfig.filePathTemplate,- schemaPathTemplate: state.config.repositoryConfig.schemaPathTemplate,externalId: externalId,};await repositoryV1Store.upsertRepository(diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex 309d78cef3..aaeb48448f 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -1812,8 +1812,6 @@"gitops-status": "@.capitalize:common.gitops is {status}","gitops-description-file-path": "Database migration scripts are stored in {fullPath}. To make schema changes, a developer would create a migration script matching file path pattern {fullPathTemplate}.","gitops-description-branch": "After the script is review approved and merged into the {branch} branch, Bytebase will automatically kicks off the pipeline to apply the new schema change.",- "gitops-description-description-schema-path": "After applying the schema change, Bytebase will also write the latest schema to the specified schema path location {schemaPathTemplate}.",- "gitops-description-sdl": "Database migration scripts are stored in {fullPath}. To make schema changes, a developer would modify the full schema script matching file path pattern {schemaPathTemplate}. To make data changes, a developer would create a migration script matching file path pattern {filePathTemplate}. Once the script is merged into the {branch} branch, Bytebase will automatically kick off the pipeline to apply the new database change.","restore-to-ui-workflow": "Restore to UI workflow","restore-ui-workflow-description": "When using the UI workflow, the developer submits a SQL review ticket directly from Bytebase console and waits for the assigned DBA or peer developer to review. Bytebase applies the SQL change after review approved.","restore-ui-workflow-success": "Successfully restored to UI workflow",diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex b9cce23dda..27159ed562 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -1811,8 +1811,6 @@"gitops-status": "@.capitalize:common.gitops es {status}","gitops-description-file-path": "Los scripts de migración de la base de datos se almacenan en {fullPath}. Para realizar cambios en el esquema, un desarrollador crearía un script de migración que coincida con el patrón de la ruta de acceso del archivo {fullPathTemplate}.","gitops-description-branch": "Después de que el script sea aprobado y fusionado en la rama {branch}, Bytebase iniciará automáticamente el proceso para aplicar el nuevo cambio de esquema.",- "gitops-description-description-schema-path": "Después de aplicar el cambio de esquema, Bytebase también escribirá el esquema más reciente en la ubicación del esquema especificado {schemaPathTemplate}.",- "gitops-description-sdl": "Los scripts de migración de la base de datos se almacenan en {fullPath}. Para realizar cambios en el esquema, un desarrollador modificaría el script completo de esquema que coincide con el patrón de la ruta de acceso del archivo {schemaPathTemplate}. Para realizar cambios en los datos, un desarrollador crearía un script de migración que coincida con el patrón de la ruta de acceso del archivo {filePathTemplate}. Una vez que el script se fusiona en la rama {branch}, Bytebase iniciará automáticamente el proceso para aplicar el nuevo cambio de base de datos.","restore-to-ui-workflow": "Restaurar al flujo de trabajo de UI","restore-ui-workflow-description": "Al usar el flujo de trabajo de UI, el desarrollador envía directamente un ticket de revisión de SQL desde la consola de Bytebase y espera a que el DBA o el desarrollador asignado revise. Bytebase aplica el cambio de SQL después de la aprobación de la revisión.","restore-ui-workflow-success": "Restaurado con éxito al flujo de trabajo de UI",diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.jsonindex 923de091c6..9dfe8b4a8d 100644--- a/frontend/src/locales/ja-JP.json+++ b/frontend/src/locales/ja-JP.json@@ -1812,8 +1812,6 @@"gitops-status": "@.capitalize:common.gitopsは{status}です","gitops-description-file-path": "データベースのマイグレーションスクリプトは{fullPath}に保存されます。スキーマの変更を行うには、開発者が{fullPathTemplate}と一致するファイルパスパターンのマイグレーションスクリプトを作成します。","gitops-description-branch": "スクリプトがレビュー承認され、{branch} ブランチにマージされた後、Bytebase は自動的にパイプラインを開始して新しいスキーマ変更を適用します。",- "gitops-description-description-schema-path": "スキーマ変更を適用した後、Bytebase は最新のスキーマを指定されたスキーマパスの場所 {schemaPathTemplate} にも書き込みます。",- "gitops-description-sdl": "データベースのマイグレーションスクリプトは {fullPath} に保存されます。スキーマの変更を行うには、開発者はスキーマパスのパターン {schemaPathTemplate} に一致するフルスキーマスクリプトを変更します。データの変更を行うには、開発者はファイルパスのパターン {filePathTemplate} に一致するマイグレーションスクリプトを作成します。スクリプトが {branch} ブランチにマージされると、Bytebase は自動的にパイプラインを開始して新しいデータベースの変更を適用します。","restore-to-ui-workflow": "UI ワークフローに復元","restore-ui-workflow-description": "UI ワークフローを使用する場合、開発者は Bytebase コンソールから直接 SQL レビューチケットを提出し、割り当てられた DBA または同僚の開発者がレビューを待ちます。レビューが承認された後、Bytebase は SQL 変更を適用します。","restore-ui-workflow-success": "UI ワークフローに正常に復元しました",diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.jsonindex c0b15598b4..8995067da8 100644--- a/frontend/src/locales/vi-VN.json+++ b/frontend/src/locales/vi-VN.json@@ -1812,8 +1812,6 @@"gitops-status": "@.capitalize:common.gitops là {status}","gitops-description-file-path": "Tập lệnh di chuyển cơ sở dữ liệu được lưu trữ trong {fullPath}. Để thực hiện thay đổi lược đồ, nhà phát triển sẽ tạo tập lệnh di chuyển khớp với mẫu đường dẫn tệp {fullPathTemplate}.","gitops-description-branch": "Sau khi tập lệnh được phê duyệt xem xét và hợp nhất vào nhánh {branch}, Bytebase sẽ tự động khởi động quy trình để áp dụng thay đổi lược đồ mới.",- "gitops-description-description-schema-path": "Sau khi áp dụng thay đổi lược đồ, Bytebase cũng sẽ ghi lược đồ mới nhất vào vị trí đường dẫn lược đồ đã chỉ định {schemaPathTemplate}.",- "gitops-description-sdl": "Tập lệnh di chuyển cơ sở dữ liệu được lưu trữ trong {fullPath}. Để thực hiện thay đổi lược đồ, nhà phát triển sẽ sửa đổi tập lệnh lược đồ đầy đủ khớp với mẫu đường dẫn tệp {schemaPathTemplate}. Để thực hiện thay đổi dữ liệu, nhà phát triển sẽ tạo tập lệnh di chuyển khớp với mẫu đường dẫn tệp {filePathTemplate}. Sau khi tập lệnh được hợp nhất vào nhánh {branch}, Bytebase sẽ tự động khởi động quy trình để áp dụng thay đổi cơ sở dữ liệu mới.","restore-to-ui-workflow": "Khôi phục quy trình làm việc UI","restore-ui-workflow-description": "Khi sử dụng quy trình làm việc UI, nhà phát triển sẽ gửi phiếu đánh giá SQL trực tiếp từ bảng điều khiển Bytebase và đợi DBA được chỉ định hoặc nhà phát triển ngang hàng xem xét. Bytebase áp dụng thay đổi SQL sau khi phê duyệt đánh giá.","restore-ui-workflow-success": "Đã khôi phục thành công quy trình làm việc trên giao diện người dùng",diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex 2ce4c8ae2a..2159a895dc 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -1811,8 +1811,6 @@"gitops-status": "@.capitalize:common.gitops 已{status}","gitops-description-file-path": "数据库变更脚本存放在 {fullPath}。为了进行一次变更,开发者需要创建一个匹配 {fullPathTemplate} 文件路径格式的变更脚本。","gitops-description-branch": "当脚本审核通过并且合并到 {branch} 分支后,Bytebase 将自动发起一条流水线来执行新的 schema 变更。",- "gitops-description-description-schema-path": "当 schema 变更完成后, Bytebase 会把变更后的最新 schema 回写到指定的 {schemaPathTemplate}。",- "gitops-description-sdl": "数据库变更脚本存放在 {fullPath}。如果要变更据库 schema,开发者需要修改脚本文件 {schemaPathTemplate}。如果要修改数据库数据,开发者需要按照 {filePathTemplate} 创建一个变更脚本。当脚本合并到 {branch} 分支后,Bytebase 将自动发起一条流水线来执行新的数据库变更。","restore-to-ui-workflow": "恢复到 UI 工作流","restore-ui-workflow-description": "当使用 UI 工作流时,开发者会通过 Bytebase\n\n控制台直接提交一个 SQL 审核工单,让指定的 DBA 或者开发同事审核。当审核通过后,Bytebase 再执行相应的 SQL 变更。","restore-ui-workflow-success": "成功恢复到 UI 工作流",diff --git a/frontend/src/store/modules/v1/repository.ts b/frontend/src/store/modules/v1/repository.tsindex 4fd77d17ba..e8c989f9c3 100644--- a/frontend/src/store/modules/v1/repository.ts+++ b/frontend/src/store/modules/v1/repository.ts@@ -139,17 +139,5 @@ const getUpdateMaskForRepository = () {updateMask.push("base_directory");}- if (- !isUndefined(update.filePathTemplate) &&- !isEqual(origin.filePathTemplate, update.filePathTemplate)- ) {- updateMask.push("file_path_template");- }- if (- !isUndefined(update.schemaPathTemplate) &&- !isEqual(origin.schemaPathTemplate, update.schemaPathTemplate)- ) {- updateMask.push("schema_path_template");- }return updateMask;};diff --git a/frontend/src/types/proto/v1/vcs_provider_service.ts b/frontend/src/types/proto/v1/vcs_provider_service.tsindex 0104137b5c..c072211dd9 100644--- a/frontend/src/types/proto/v1/vcs_provider_service.ts+++ b/frontend/src/types/proto/v1/vcs_provider_service.ts@@ -196,19 +196,6 @@ export interface ProjectGitOpsInfo {branchFilter: string;/** The root directory where Bytebase observes the file change. If empty, then it observes the entire repository. */baseDirectory: string;- /**- * Bytebase only observes the file path name matching the template pattern **relative** to the base directory.- * Required Placeholder: {{DB_NAME}}, {{VERSION}}, {{TYPE]}.- * Optional Placeholder: {{ENV_ID}}, {{DESCRIPTION}}.- * Optional Directory Wildcard: '*', '**'.- */- filePathTemplate: string;- /**- * The file path template for storing the latest schema auto-generated by Bytebase after migration.- * If empty, then Bytebase won't auto generate it.- * If specified, required placeholder: {{DB_NAME}}, optional placeholder: {{ENV_ID}}.- */- schemaPathTemplate: string;/** The reposition external id in target VCS. */externalId: string;/** The webhook endpoint ID of the repository. */@@ -1101,8 +1088,6 @@ function createBaseProjectGitOpsInfo(): ProjectGitOpsInfo {webUrl: "",branchFilter: "",baseDirectory: "",- filePathTemplate: "",- schemaPathTemplate: "",externalId: "",webhookEndpointId: "",};@@ -1131,12 +1116,6 @@ export const ProjectGitOpsInfo = {if (message.baseDirectory !== "") {writer.uint32(58).string(message.baseDirectory);}- if (message.filePathTemplate !== "") {- writer.uint32(66).string(message.filePathTemplate);- }- if (message.schemaPathTemplate !== "") {- writer.uint32(74).string(message.schemaPathTemplate);- }if (message.externalId !== "") {writer.uint32(90).string(message.externalId);}@@ -1202,20 +1181,6 @@ export const ProjectGitOpsInfo = {message.baseDirectory = reader.string();continue;- case 8:- if (tag !== 66) {- break;- }-- message.filePathTemplate = reader.string();- continue;- case 9:- if (tag !== 74) {- break;- }-- message.schemaPathTemplate = reader.string();- continue;case 11:if (tag !== 90) {break;@@ -1248,8 +1213,6 @@ export const ProjectGitOpsInfo = {webUrl: isSet(object.webUrl) ? globalThis.String(object.webUrl) : "",branchFilter: isSet(object.branchFilter) ? globalThis.String(object.branchFilter) : "",baseDirectory: isSet(object.baseDirectory) ? globalThis.String(object.baseDirectory) : "",- filePathTemplate: isSet(object.filePathTemplate) ? globalThis.String(object.filePathTemplate) : "",- schemaPathTemplate: isSet(object.schemaPathTemplate) ? globalThis.String(object.schemaPathTemplate) : "",externalId: isSet(object.externalId) ? globalThis.String(object.externalId) : "",webhookEndpointId: isSet(object.webhookEndpointId) ? globalThis.String(object.webhookEndpointId) : "",};@@ -1278,12 +1241,6 @@ export const ProjectGitOpsInfo = {if (message.baseDirectory !== "") {obj.baseDirectory = message.baseDirectory;}- if (message.filePathTemplate !== "") {- obj.filePathTemplate = message.filePathTemplate;- }- if (message.schemaPathTemplate !== "") {- obj.schemaPathTemplate = message.schemaPathTemplate;- }if (message.externalId !== "") {obj.externalId = message.externalId;}@@ -1305,8 +1262,6 @@ export const ProjectGitOpsInfo = {message.webUrl = object.webUrl ?? "";message.branchFilter = object.branchFilter ?? "";message.baseDirectory = object.baseDirectory ?? "";- message.filePathTemplate = object.filePathTemplate ?? "";- message.schemaPathTemplate = object.schemaPathTemplate ?? "";message.externalId = object.externalId ?? "";message.webhookEndpointId = object.webhookEndpointId ?? "";return message;diff --git a/frontend/src/types/repository.ts b/frontend/src/types/repository.tsindex 1f4ead555d..f6283c5a79 100644--- a/frontend/src/types/repository.ts+++ b/frontend/src/types/repository.ts@@ -1,8 +1,6 @@export type RepositoryConfig = {baseDirectory: string;branchFilter: string;- filePathTemplate: string;- schemaPathTemplate: string;};export type ExternalRepositoryInfo = {diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex 031340a25c..0654c59303 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -5731,8 +5731,6 @@ This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. || web_url | [string](#string) | | The web url of the repository. For axample: https://gitlab.bytebase.com/bytebase/sample. || branch_filter | [string](#string) | | The branch Bytebase listens to for changes. For example: main. || base_directory | [string](#string) | | The root directory where Bytebase observes the file change. If empty, then it observes the entire repository. |-| file_path_template | [string](#string) | | Bytebase only observes the file path name matching the template pattern **relative** to the base directory. Required Placeholder: {{DB_NAME}}, {{VERSION}}, {{TYPE]}. Optional Placeholder: {{ENV_ID}}, {{DESCRIPTION}}. Optional Directory Wildcard: '*', '**'. |-| schema_path_template | [string](#string) | | The file path template for storing the latest schema auto-generated by Bytebase after migration. If empty, then Bytebase won't auto generate it. If specified, required placeholder: {{DB_NAME}}, optional placeholder: {{ENV_ID}}. || external_id | [string](#string) | | The reposition external id in target VCS. || webhook_endpoint_id | [string](#string) | | The webhook endpoint ID of the repository. |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex ea680b86c1..21e8021029 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -16408,25 +16408,6 @@ Format: projects/{project}/gitOpsInfo </p></td><td><p>The root directory where Bytebase observes the file change. If empty, then it observes the entire repository. </p></td></tr>- <tr>- <td>file_path_template</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>Bytebase only observes the file path name matching the template pattern **relative** to the base directory.-Required Placeholder: {{DB_NAME}}, {{VERSION}}, {{TYPE]}.-Optional Placeholder: {{ENV_ID}}, {{DESCRIPTION}}.-Optional Directory Wildcard: '*', '**'. </p></td>- </tr>-- <tr>- <td>schema_path_template</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The file path template for storing the latest schema auto-generated by Bytebase after migration.-If empty, then Bytebase won't auto generate it.-If specified, required placeholder: {{DB_NAME}}, optional placeholder: {{ENV_ID}}. </p></td>- </tr>-<tr><td>external_id</td><td><a href="#string">string</a></td>diff --git a/proto/generated-go/v1/vcs_provider_service.pb.go b/proto/generated-go/v1/vcs_provider_service.pb.goindex 6e813fef37..1aee0545ac 100644--- a/proto/generated-go/v1/vcs_provider_service.pb.go+++ b/proto/generated-go/v1/vcs_provider_service.pb.go@@ -713,15 +713,6 @@ type ProjectGitOpsInfo struct {BranchFilter string `protobuf:"bytes,6,opt,name=branch_filter,json=branchFilter,proto3" json:"branch_filter,omitempty"`// The root directory where Bytebase observes the file change. If empty, then it observes the entire repository.BaseDirectory string `protobuf:"bytes,7,opt,name=base_directory,json=baseDirectory,proto3" json:"base_directory,omitempty"`- // Bytebase only observes the file path name matching the template pattern **relative** to the base directory.- // Required Placeholder: {{DB_NAME}}, {{VERSION}}, {{TYPE]}.- // Optional Placeholder: {{ENV_ID}}, {{DESCRIPTION}}.- // Optional Directory Wildcard: '*', '**'.- FilePathTemplate string `protobuf:"bytes,8,opt,name=file_path_template,json=filePathTemplate,proto3" json:"file_path_template,omitempty"`- // The file path template for storing the latest schema auto-generated by Bytebase after migration.- // If empty, then Bytebase won't auto generate it.- // If specified, required placeholder: {{DB_NAME}}, optional placeholder: {{ENV_ID}}.- SchemaPathTemplate string `protobuf:"bytes,9,opt,name=schema_path_template,json=schemaPathTemplate,proto3" json:"schema_path_template,omitempty"`// The reposition external id in target VCS.ExternalId string `protobuf:"bytes,11,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`// The webhook endpoint ID of the repository.@@ -809,20 +800,6 @@ func (x *ProjectGitOpsInfo) GetBaseDirectory() string {return ""}-func (x *ProjectGitOpsInfo) GetFilePathTemplate() string {- if x != nil {- return x.FilePathTemplate- }- return ""-}--func (x *ProjectGitOpsInfo) GetSchemaPathTemplate() string {- if x != nil {- return x.SchemaPathTemplate- }- return ""-}-func (x *ProjectGitOpsInfo) GetExternalId() string {if x != nil {return x.ExternalId@@ -1011,7 +988,7 @@ var file_v1_vcs_provider_service_proto_rawDesc = []byte{0x06, 0x47, 0x49, 0x54, 0x48, 0x55, 0x42, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x47, 0x49, 0x54,0x4c, 0x41, 0x42, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x49, 0x54, 0x42, 0x55, 0x43, 0x4b,0x45, 0x54, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x5a, 0x55, 0x52, 0x45, 0x5f, 0x44, 0x45,- 0x56, 0x4f, 0x50, 0x53, 0x10, 0x04, 0x22, 0x91, 0x03, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x6a, 0x65,+ 0x56, 0x4f, 0x50, 0x53, 0x10, 0x04, 0x22, 0xac, 0x02, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x6a, 0x65,0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x04,0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01,@@ -1025,84 +1002,78 @@ var file_v1_vcs_provider_service_proto_rawDesc = []byte{0x63, 0x68, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x61, 0x73, 0x65,0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,0x52, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12,- 0x31, 0x0a, 0x12, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x74, 0x65, 0x6d,- 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,- 0x52, 0x10, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61,- 0x74, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x61, 0x74,- 0x68, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x12, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x50, 0x61, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70,- 0x6c, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,- 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72,- 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x13, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,- 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01,- 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,- 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x32, 0x83, 0x08, 0x0a, 0x12, 0x56,- 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,- 0x65, 0x12, 0x78, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69,- 0x64, 0x65, 0x72, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,- 0x72, 0x22, 0x28, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b,- 0x12, 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x76, 0x63, 0x73, 0x50,- 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x7c, 0x0a, 0x10, 0x4c,- 0x69, 0x73, 0x74, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12,- 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,- 0x73, 0x74, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69,- 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0xda, 0x41,- 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x63, 0x73,- 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x7f, 0x0a, 0x11, 0x43, 0x72, 0x65,- 0x61, 0x74, 0x65, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x25,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65,- 0x61, 0x74, 0x65, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22,- 0x29, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x3a, 0x0c, 0x76, 0x63, 0x73, 0x5f,- 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x10, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x63,- 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0xad, 0x01, 0x0a, 0x11, 0x55,- 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,- 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55,- 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,- 0x72, 0x22, 0x57, 0xda, 0x41, 0x18, 0x76, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64,- 0x65, 0x72, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3,- 0xe4, 0x93, 0x02, 0x36, 0x3a, 0x0c, 0x76, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64,- 0x65, 0x72, 0x32, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x76, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f,- 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x76, 0x63, 0x73, 0x50, 0x72,- 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x75, 0x0a, 0x11, 0x44, 0x65,- 0x6c, 0x65, 0x74, 0x65, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12,- 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65,- 0x6c, 0x65, 0x74, 0x65, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52,- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x21,- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x2a, 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,- 0x65, 0x3d, 0x76, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a,- 0x7d, 0x12, 0xaf, 0x01, 0x0a, 0x19, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x56, 0x43, 0x53, 0x50,- 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12,- 0x2d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65,- 0x61, 0x72, 0x63, 0x68, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x50,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61,- 0x72, 0x63, 0x68, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x50, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33,- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x3a, 0x01, 0x2a, 0x22, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b,- 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x76, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,- 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x73, 0x12, 0x9a, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a,- 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x29, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,- 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66,- 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0b,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64,+ 0x12, 0x33, 0x0a, 0x13, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x65, 0x6e, 0x64, 0x70,+ 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,+ 0x41, 0x03, 0x52, 0x11, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x45, 0x6e, 0x64, 0x70, 0x6f,+ 0x69, 0x6e, 0x74, 0x49, 0x64, 0x32, 0x83, 0x08, 0x0a, 0x12, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f,+ 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x78, 0x0a, 0x0e,+ 0x47, 0x65, 0x74, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x22,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,+ 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x28, 0xda, 0x41,+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x76, 0x31,+ 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x76, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,+ 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x7c, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x43,+ 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x43, 0x53,+ 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,+ 0x1a, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,+ 0x69, 0x73, 0x74, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52,+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93,+ 0x02, 0x12, 0x12, 0x10, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69,+ 0x64, 0x65, 0x72, 0x73, 0x12, 0x7f, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x43,+ 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x43,+ 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,+ 0x1a, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56,+ 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x29, 0xda, 0x41, 0x00, 0x82,+ 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x3a, 0x0c, 0x76, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69,+ 0x64, 0x65, 0x72, 0x22, 0x10, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76,+ 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0xad, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,+ 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x25, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,+ 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x57, 0xda, 0x41,+ 0x18, 0x76, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2c, 0x75, 0x70,+ 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x3a,+ 0x0c, 0x76, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x32, 0x26, 0x2f,+ 0x76, 0x31, 0x2f, 0x7b, 0x76, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,+ 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x76, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,+ 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x75, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56,+ 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56,+ 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,+ 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02,+ 0x1b, 0x2a, 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x76, 0x63, 0x73,+ 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xaf, 0x01, 0x0a,+ 0x19, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,+ 0x65, 0x72, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x2d, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x56,+ 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x56, 0x43,+ 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02,+ 0x2d, 0x3a, 0x01, 0x2a, 0x22, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,+ 0x76, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,+ 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x9a,+ 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69,+ 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70,- 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76,- 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x76, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69,- 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,- 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f,- 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,+ 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75,+ 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74,+ 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,+ 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61,+ 0x6d, 0x65, 0x3d, 0x76, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f,+ 0x2a, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x42, 0x11, 0x5a, 0x0f, 0x67,+ 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06,+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,}var (diff --git a/proto/v1/vcs_provider_service.proto b/proto/v1/vcs_provider_service.protoindex 9d47326daa..a2ecfa68cb 100644--- a/proto/v1/vcs_provider_service.proto+++ b/proto/v1/vcs_provider_service.proto@@ -188,17 +188,6 @@ message ProjectGitOpsInfo {// The root directory where Bytebase observes the file change. If empty, then it observes the entire repository.string base_directory = 7;- // Bytebase only observes the file path name matching the template pattern **relative** to the base directory.- // Required Placeholder: {{DB_NAME}}, {{VERSION}}, {{TYPE]}.- // Optional Placeholder: {{ENV_ID}}, {{DESCRIPTION}}.- // Optional Directory Wildcard: '*', '**'.- string file_path_template = 8 [(google.api.field_behavior) = REQUIRED];-- // The file path template for storing the latest schema auto-generated by Bytebase after migration.- // If empty, then Bytebase won't auto generate it.- // If specified, required placeholder: {{DB_NAME}}, optional placeholder: {{ENV_ID}}.- string schema_path_template = 9;-// The reposition external id in target VCS.string external_id = 11;