Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

docs: update webhook doc link (#6449)

Tianzhou (天舟)3477fbb5f2f8
diff --git a/README.md b/README.md
index 6a956c56c2..a72805967e 100644
--- a/README.md
+++ b/README.md
@@ -70,8 +70,8 @@
Want to formalize the database change process but don't know how?
</p>
-| | |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
+| | |
+| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| <b>Standard Operating Procedure (SOP) </b><br />Standardize the database schema and data change process across different database systems, small or [large tables](https://www.bytebase.com/docs/change-database/online-schema-migration-for-mysql) and [different tenants](https://www.bytebase.com/docs/change-database/batch-change/#change-databases-from-multiple-tenants).<br /><br/><b>SQL Review</b><br />[100+ lint rules](https://www.bytebase.com/docs/sql-review/review-rules) to detect SQL anti-patterns and enforce consistent SQL style in the organization.<br /><br /><b>GitOps</b><br />[Point-and-click GitHub and GitLab integration](https://www.bytebase.com/docs/vcs-integration/overview) to enable GitOps workflow for changing database. | <img src="https://raw.githubusercontent.com/bytebase/bytebase/main/docs/assets/issue-detail.webp" /> |
<br />
@@ -189,11 +189,11 @@ our product experts.
# 💎 Design Principles
-| | | |
-| --- | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| 🪶 | Dependency Free | Start with a single command `./bytebase` without any external dependency. External PostgreSQL data store and others are optional. |
-| 🔗 | Integration First | Solely focus on database management and leave the rest to others. We have native VCS integration with [GitHub/GitLab](https://www.bytebase.com/docs/vcs-integration/overview), [Terraform Provider](https://registry.terraform.io/providers/bytebase/bytebase/latest/docs), [webhook](https://www.bytebase.com/docs/administration/webhook-integration/overview), and etc. |
-| 💂‍♀️ | Engineering Disciplined | Disciplined [bi-weekly release](https://www.bytebase.com/changelog) and [engineering practice](https://github.com/bytebase/bytebase/blob/main/docs/life-of-a-feature.md). |
+| | | |
+| --- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| 🪶 | Dependency Free | Start with a single command `./bytebase` without any external dependency. External PostgreSQL data store and others are optional. |
+| 🔗 | Integration First | Solely focus on database management and leave the rest to others. We have native VCS integration with [GitHub/GitLab](https://www.bytebase.com/docs/vcs-integration/overview), [Terraform Provider](https://registry.terraform.io/providers/bytebase/bytebase/latest/docs), [webhook](https://www.bytebase.com/docs/change-database/webhook), and etc. |
+| 💂‍♀️ | Engineering Disciplined | Disciplined [bi-weekly release](https://www.bytebase.com/changelog) and [engineering practice](https://github.com/bytebase/bytebase/blob/main/docs/life-of-a-feature.md). |
<br />
diff --git a/frontend/src/components/DatabaseBackupPanel.vue b/frontend/src/components/DatabaseBackupPanel.vue
index e608154142..339de6a823 100644
--- a/frontend/src/components/DatabaseBackupPanel.vue
+++ b/frontend/src/components/DatabaseBackupPanel.vue
@@ -54,7 +54,7 @@
)
}}
<a
- href="https://bytebase.com/docs/administration/webhook-integration/database-webhook?source=console"
+ href="https://bytebase.com/docs/backup/#post-backup-webhook?source=console"
class="normal-link inline-flex flex-row items-center"
>
{{ $t("common.learn-more") }}
diff --git a/frontend/src/components/ProjectWebhookForm.vue b/frontend/src/components/ProjectWebhookForm.vue
index 2b24d6f114..6c25763b96 100644
--- a/frontend/src/components/ProjectWebhookForm.vue
+++ b/frontend/src/components/ProjectWebhookForm.vue
@@ -187,7 +187,7 @@
})
}}
<a
- href="https://www.bytebase.com/docs/administration/webhook-integration/project-webhook#custom?source=console"
+ href="https://www.bytebase.com/docs/change-database/webhook#custom?source=console"
target="__blank"
class="normal-link"
>{{
diff --git a/frontend/src/types/proto/v1/database_service.ts b/frontend/src/types/proto/v1/database_service.ts
index 55ca3f6c1a..a5ae6f3c8f 100644
--- a/frontend/src/types/proto/v1/database_service.ts
+++ b/frontend/src/types/proto/v1/database_service.ts
@@ -473,7 +473,7 @@ export interface BackupSetting {
* Default (empty): Disable automatic backup.
*/
cronSchedule: string;
- /** hook_url(https://www.bytebase.com/docs/administration/webhook-integration/database-webhook) is the URL to send a notification when a backup is created. */
+ /** hook_url(https://www.bytebase.com/docs/disaster-recovery/backup/#post-backup-webhook) is the URL to send a notification when a backup is created. */
hookUrl: string;
}
diff --git a/frontend/src/types/v1/projectWebhook.ts b/frontend/src/types/v1/projectWebhook.ts
index 5ae0632d83..f2f278c710 100644
--- a/frontend/src/types/v1/projectWebhook.ts
+++ b/frontend/src/types/v1/projectWebhook.ts
@@ -58,7 +58,7 @@ export const projectWebhookV1TypeItemList = (): ProjectWebhookV1TypeItem[] => {
type: Webhook_Type.TYPE_CUSTOM,
name: t("common.custom"),
urlPrefix:
- "https://bytebase.com/docs/administration/webhook-integration/project-webhook#custom?source=console",
+ "https://bytebase.com/docs/change-database/webhook#custom?source=console",
},
];
};
diff --git a/frontend/src/views/SettingWorkspaceIMIntegration.vue b/frontend/src/views/SettingWorkspaceIMIntegration.vue
index 8d4cc62e60..a5ef85f2d1 100644
--- a/frontend/src/views/SettingWorkspaceIMIntegration.vue
+++ b/frontend/src/views/SettingWorkspaceIMIntegration.vue
@@ -4,7 +4,7 @@
{{ $t("settings.im-integration.description") }}
<a
class="normal-link inline-flex items-center"
- href="https://www.bytebase.com/docs/administration/webhook-integration/external-approval?source=console"
+ href="https://www.bytebase.com/docs/administration/external-approval?source=console"
target="__BLANK"
>
{{ $t("common.learn-more") }}
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index d01e9a7f64..1804c08525 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -1581,7 +1581,7 @@ BackupSetting is the setting for database backup.
| cron_schedule | [string](#string) | | Cron(https://wikipedia.com/wiki/cron) string that defines a repeating schedule for creating Backups. Support hour of day, day of week. (UTC time)
Default (empty): Disable automatic backup. |
-| hook_url | [string](#string) | | hook_url(https://www.bytebase.com/docs/administration/webhook-integration/database-webhook) is the URL to send a notification when a backup is created. |
+| hook_url | [string](#string) | | hook_url(https://www.bytebase.com/docs/disaster-recovery/backup/#post-backup-webhook) is the URL to send a notification when a backup is created. |
diff --git a/proto/generated-go/v1/database_service.pb.go b/proto/generated-go/v1/database_service.pb.go
index 2e7edea556..dfcc5248fe 100644
--- a/proto/generated-go/v1/database_service.pb.go
+++ b/proto/generated-go/v1/database_service.pb.go
@@ -2346,7 +2346,7 @@ type BackupSetting struct {
//
// Default (empty): Disable automatic backup.
CronSchedule string `protobuf:"bytes,3,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"`
- // hook_url(https://www.bytebase.com/docs/administration/webhook-integration/database-webhook) is the URL to send a notification when a backup is created.
+ // hook_url(https://www.bytebase.com/docs/disaster-recovery/backup/#post-backup-webhook) is the URL to send a notification when a backup is created.
HookUrl string `protobuf:"bytes,4,opt,name=hook_url,json=hookUrl,proto3" json:"hook_url,omitempty"`
}
diff --git a/proto/v1/database_service.proto b/proto/v1/database_service.proto
index b7f455f53c..2d43610603 100644
--- a/proto/v1/database_service.proto
+++ b/proto/v1/database_service.proto
@@ -534,7 +534,7 @@ message BackupSetting {
// Default (empty): Disable automatic backup.
string cron_schedule = 3;
- // hook_url(https://www.bytebase.com/docs/administration/webhook-integration/database-webhook) is the URL to send a notification when a backup is created.
+ // hook_url(https://www.bytebase.com/docs/disaster-recovery/backup/#post-backup-webhook) is the URL to send a notification when a backup is created.
string hook_url = 4;
}