仓库自包含化:CI/文档/规范入库,升级 echarts,填关于页链接
This commit is contained in:
+18
-18
@@ -104,9 +104,9 @@ export const mockProxies = [
|
||||
export const mockConfigs: OciConfig[] = [
|
||||
cfg({
|
||||
id: 1,
|
||||
alias: 'BCDE主号',
|
||||
alias: 'XXXX主号',
|
||||
group: '生产',
|
||||
tenancyName: 'bcdemain',
|
||||
tenancyName: 'XXXXmain',
|
||||
accountType: 'paid',
|
||||
paymentModel: 'PAYG',
|
||||
subscriptionTier: 'FREE_AND_PAID',
|
||||
@@ -367,7 +367,7 @@ export const mockTasks: Task[] = [
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
name: 'BCDE 每小时测活',
|
||||
name: 'XXXX 每小时测活',
|
||||
type: 'health_check',
|
||||
cronExpr: '7 * * * *',
|
||||
payload: '{"ociConfigIds":[1,2,3,4]}',
|
||||
@@ -620,7 +620,7 @@ export const mockUsers: IamUser[] = [
|
||||
id: 'ocid1.user..apiadmin',
|
||||
name: 'api-admin',
|
||||
description: '当前 API Key 签名用户',
|
||||
email: 'admin@bcde.io',
|
||||
email: 'admin@XXXX.io',
|
||||
emailVerified: true,
|
||||
mfaActivated: true,
|
||||
lifecycleState: 'ACTIVE',
|
||||
@@ -632,7 +632,7 @@ export const mockUsers: IamUser[] = [
|
||||
id: 'ocid1.user..consoleadmin',
|
||||
name: 'console-admin',
|
||||
description: '控制台管理员',
|
||||
email: 'console-admin@bcde.io',
|
||||
email: 'console-admin@XXXX.io',
|
||||
emailVerified: true,
|
||||
mfaActivated: true,
|
||||
lifecycleState: 'ACTIVE',
|
||||
@@ -644,7 +644,7 @@ export const mockUsers: IamUser[] = [
|
||||
id: 'ocid1.user..devzhang',
|
||||
name: 'dev-zhang',
|
||||
description: '开发',
|
||||
email: 'zhang@bcde.io',
|
||||
email: 'zhang@XXXX.io',
|
||||
emailVerified: false,
|
||||
mfaActivated: false,
|
||||
lifecycleState: 'ACTIVE',
|
||||
@@ -654,7 +654,7 @@ export const mockUsers: IamUser[] = [
|
||||
},
|
||||
{
|
||||
id: 'ocid1.user..fedwang',
|
||||
name: 'bcde_fed/wang.defa',
|
||||
name: 'XXXX_fed/wang.defa',
|
||||
description: '联邦用户 · Keycloak',
|
||||
email: '',
|
||||
emailVerified: false,
|
||||
@@ -700,7 +700,7 @@ const mockAuditEventsBase: Omit<AuditEvent, 'eventId'>[] = [
|
||||
eventName: 'TerminateInstance',
|
||||
source: 'ComputeApi',
|
||||
resourceName: 'web-1',
|
||||
compartmentName: 'bcde (root)',
|
||||
compartmentName: 'XXXX (root)',
|
||||
principalName: 'api-admin',
|
||||
ipAddress: '203.0.113.10',
|
||||
status: '204',
|
||||
@@ -712,7 +712,7 @@ const mockAuditEventsBase: Omit<AuditEvent, 'eventId'>[] = [
|
||||
eventName: 'LaunchInstance',
|
||||
source: 'ComputeApi',
|
||||
resourceName: 'arm-snatch-1',
|
||||
compartmentName: 'bcde (root)',
|
||||
compartmentName: 'XXXX (root)',
|
||||
principalName: 'api-admin',
|
||||
ipAddress: '203.0.113.10',
|
||||
status: '500',
|
||||
@@ -736,7 +736,7 @@ const mockAuditEventsBase: Omit<AuditEvent, 'eventId'>[] = [
|
||||
eventName: 'GetUser',
|
||||
source: 'IdentityControlPlane',
|
||||
resourceName: 'dev-zhang',
|
||||
compartmentName: 'bcde (root)',
|
||||
compartmentName: 'XXXX (root)',
|
||||
principalName: 'dev-zhang',
|
||||
ipAddress: '198.51.100.24',
|
||||
status: '404',
|
||||
@@ -760,7 +760,7 @@ const mockAuditEventsBase: Omit<AuditEvent, 'eventId'>[] = [
|
||||
eventName: 'ListEvents',
|
||||
source: 'Audit',
|
||||
resourceName: '',
|
||||
compartmentName: 'bcde (root)',
|
||||
compartmentName: 'XXXX (root)',
|
||||
principalName: 'console-admin',
|
||||
ipAddress: '198.51.100.7',
|
||||
status: '200',
|
||||
@@ -772,7 +772,7 @@ const mockAuditEventsBase: Omit<AuditEvent, 'eventId'>[] = [
|
||||
eventName: 'CreateSwiftPassword',
|
||||
source: 'IdentityControlPlane',
|
||||
resourceName: 'dev-zhang',
|
||||
compartmentName: 'bcde (root)',
|
||||
compartmentName: 'XXXX (root)',
|
||||
principalName: 'dev-zhang',
|
||||
ipAddress: '198.51.100.24',
|
||||
status: '401',
|
||||
@@ -785,7 +785,7 @@ const mockAuditEventsBase: Omit<AuditEvent, 'eventId'>[] = [
|
||||
source: 'VcnApi',
|
||||
resourceName: 'Default Security List',
|
||||
compartmentName: 'network',
|
||||
principalName: 'bcde_fed/wang.defa',
|
||||
principalName: 'XXXX_fed/wang.defa',
|
||||
ipAddress: '192.0.2.88',
|
||||
status: '200',
|
||||
requestAction: 'PUT',
|
||||
@@ -796,7 +796,7 @@ const mockAuditEventsBase: Omit<AuditEvent, 'eventId'>[] = [
|
||||
eventName: '',
|
||||
source: 'CloudGuardResponderEngine',
|
||||
resourceName: '',
|
||||
compartmentName: 'bcde (root)',
|
||||
compartmentName: 'XXXX (root)',
|
||||
principalName: '',
|
||||
ipAddress: '',
|
||||
status: '',
|
||||
@@ -813,7 +813,7 @@ export const mockAuditEvents: AuditEvent[] = mockAuditEventsBase.map((e, i) => (
|
||||
export const mockIdps: IdentityProvider[] = [
|
||||
{
|
||||
id: '54a0260f7a75',
|
||||
name: 'BCDE-keycloak',
|
||||
name: 'XXXX-keycloak',
|
||||
type: 'SAML',
|
||||
enabled: true,
|
||||
partnerProviderId: 'https://auth.example.test/realms/oci',
|
||||
@@ -881,7 +881,7 @@ export const mockPolicies: PasswordPolicy[] = [
|
||||
]
|
||||
|
||||
export const mockRecipients: NotificationRecipients = {
|
||||
recipients: ['admin@bcde.io', 'ops@bcde.io'],
|
||||
recipients: ['admin@XXXX.io', 'ops@XXXX.io'],
|
||||
testModeEnabled: true,
|
||||
}
|
||||
|
||||
@@ -1256,7 +1256,7 @@ export const mockCompartments: Record<number, Compartment[]> = {
|
||||
id: 'ocid1.compartment.oc1..dev',
|
||||
name: 'dev',
|
||||
description: '开发环境资源',
|
||||
parentId: 'ocid1.tenancy.oc1..BCDE主号xxxx',
|
||||
parentId: 'ocid1.tenancy.oc1..XXXX主号xxxx',
|
||||
lifecycleState: 'ACTIVE',
|
||||
timeCreated: '2026-05-20T00:00:00Z',
|
||||
},
|
||||
@@ -1264,7 +1264,7 @@ export const mockCompartments: Record<number, Compartment[]> = {
|
||||
id: 'ocid1.compartment.oc1..prodnet',
|
||||
name: 'prod-network',
|
||||
description: '生产网络资源',
|
||||
parentId: 'ocid1.tenancy.oc1..BCDE主号xxxx',
|
||||
parentId: 'ocid1.tenancy.oc1..XXXX主号xxxx',
|
||||
lifecycleState: 'ACTIVE',
|
||||
timeCreated: '2026-06-01T00:00:00Z',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user