/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
CREATE SCHEMA nacos AUTHORIZATION nacos;
CREATE TABLE config_info (
id bigint NOT NULL generated by default as identity,
data_id varchar(255) NOT NULL,
group_id varchar(128) NOT NULL,
tenant_id varchar(128) default '',
app_name varchar(128),
content CLOB,
md5 varchar(32) DEFAULT NULL,
gmt_create timestamp NOT NULL DEFAULT '2010-05-05 00:00:00',
gmt_modified timestamp NOT NULL DEFAULT '2010-05-05 00:00:00',
src_user varchar(128) DEFAULT NULL,
src_ip varchar(20) DEFAULT NULL,
c_desc varchar(256) DEFAULT NULL,
c_use varchar(64) DEFAULT NULL,
effect varchar(64) DEFAULT NULL,
type varchar(64) DEFAULT NULL,
c_schema LONG VARCHAR DEFAULT NULL,
encrypted_data_key LONG VARCHAR DEFAULT NULL,
constraint configinfo_id_key PRIMARY KEY (id),
constraint uk_configinfo_datagrouptenant UNIQUE (data_id,group_id,tenant_id));
CREATE INDEX configinfo_dataid_key_idx ON config_info(data_id);
CREATE INDEX configinfo_groupid_key_idx ON config_info(group_id);
CREATE INDEX configinfo_dataid_group_key_idx ON config_info(data_id, group_id);
CREATE TABLE his_config_info (
id bigint NOT NULL,
nid bigint NOT NULL generated by default as identity,
data_id varchar(255) NOT NULL,
group_id varchar(128) NOT NULL,
tenant_id varchar(128) default '',
app_name varchar(128),
content CLOB,
md5 varchar(32) DEFAULT NULL,
gmt_create timestamp NOT NULL DEFAULT '2010-05-05 00:00:00.000',
gmt_modified timestamp NOT NULL DEFAULT '2010-05-05 00:00:00.000',
src_user varchar(128),
src_ip varchar(20) DEFAULT NULL,
op_type char(10) DEFAULT NULL,
encrypted_data_key LONG VARCHAR DEFAULT NULL,
constraint hisconfiginfo_nid_key PRIMARY KEY (nid));
CREATE INDEX hisconfiginfo_dataid_key_idx ON his_config_info(data_id);
CREATE INDEX hisconfiginfo_gmt_create_idx ON his_config_info(gmt_create);
CREATE INDEX hisconfiginfo_gmt_modified_idx ON his_config_info(gmt_modified);
CREATE TABLE config_info_beta (
id bigint NOT NULL generated by default as identity,
data_id varchar(255) NOT NULL,
group_id varchar(128) NOT NULL,
tenant_id varchar(128) default '',
app_name varchar(128),
content CLOB,
beta_ips varchar(1024),
md5 varchar(32) DEFAULT NULL,
gmt_create timestamp NOT NULL DEFAULT '2010-05-05 00:00:00',
gmt_modified timestamp NOT NULL DEFAULT '2010-05-05 00:00:00',
src_user varchar(128),
src_ip varchar(20) DEFAULT NULL,
encrypted_data_key LONG VARCHAR DEFAULT NULL,
constraint configinfobeta_id_key PRIMARY KEY (id),
constraint uk_configinfobeta_datagrouptenant UNIQUE (data_id,group_id,tenant_id));
CREATE TABLE config_info_tag (
id bigint NOT NULL generated by default as identity,
data_id varchar(255) NOT NULL,
group_id varchar(128) NOT NULL,
tenant_id varchar(128) default '',
tag_id varchar(128) NOT NULL,
app_name varchar(128),
content CLOB,
md5 varchar(32) DEFAULT NULL,
gmt_create timestamp NOT NULL DEFAULT '2010-05-05 00:00:00',
gmt_modified timestamp NOT NULL DEFAULT '2010-05-05 00:00:00',
src_user varchar(128),
src_ip varchar(20) DEFAULT NULL,
constraint configinfotag_id_key PRIMARY KEY (id),
constraint uk_configinfotag_datagrouptenanttag UNIQUE (data_id,group_id,tenant_id,tag_id));
CREATE TABLE config_info_aggr (
id bigint NOT NULL generated by default as identity,
data_id varchar(255) NOT NULL,
group_id varchar(128) NOT NULL,
tenant_id varchar(128) default '',
datum_id varchar(255) NOT NULL,
app_name varchar(128),
content CLOB,
gmt_modified timestamp NOT NULL DEFAULT '2010-05-05 00:00:00',
constraint configinfoaggr_id_key PRIMARY KEY (id),
constraint uk_configinfoaggr_datagrouptenantdatum UNIQUE (data_id,group_id,tenant_id,datum_id));
CREATE TABLE app_list (
id bigint NOT NULL generated by default as identity,
app_name varchar(128) NOT NULL,
is_dynamic_collect_disabled smallint DEFAULT 0,
last_sub_info_collected_time timestamp DEFAULT '1970-01-01 08:00:00.0',
sub_info_lock_owner varchar(128),
sub_info_lock_time timestamp DEFAULT '1970-01-01 08:00:00.0',
constraint applist_id_key PRIMARY KEY (id),
constraint uk_appname UNIQUE (app_name));
CREATE TABLE app_configdata_relation_subs (
id bigint NOT NULL generated by default as identity,
app_name varchar(128) NOT NULL,
data_id varchar(255) NOT NULL,
group_id varchar(128) NOT NULL,
gmt_modified timestamp DEFAULT '2010-05-05 00:00:00',
constraint configdatarelationsubs_id_key PRIMARY KEY (id),
constraint uk_app_sub_config_datagroup UNIQUE (app_name, data_id, group_id));
CREATE TABLE app_configdata_relation_pubs (
id bigint NOT NULL generated by default as identity,
app_name varchar(128) NOT NULL,
data_id varchar(255) NOT NULL,
group_id varchar(128) NOT NULL,
gmt_modified timestamp DEFAULT '2010-05-05 00:00:00',
constraint configdatarelationpubs_id_key PRIMARY KEY (id),
constraint uk_app_pub_config_datagroup UNIQUE (app_name, data_id, group_id));
CREATE TABLE config_tags_relation (
id bigint NOT NULL,
tag_name varchar(128) NOT NULL,
tag_type varchar(64) DEFAULT NULL,
data_id varchar(255) NOT NULL,
group_id varchar(128) NOT NULL,
tenant_id varchar(128) DEFAULT '',
nid bigint NOT NULL generated by default as identity,
constraint config_tags_id_key PRIMARY KEY (nid),
constraint uk_configtagrelation_configidtag UNIQUE (id, tag_name, tag_type));
CREATE INDEX config_tags_tenant_id_idx ON config_tags_relation(tenant_id);
CREATE TABLE group_capacity (
id bigint NOT NULL generated by default as identity,
group_id varchar(128) DEFAULT '',
quota int DEFAULT 0,
usage int DEFAULT 0,
max_size int DEFAULT 0,
max_aggr_count int DEFAULT 0,
max_aggr_size int DEFAULT 0,
max_history_count int DEFAULT 0,
gmt_create timestamp DEFAULT '2010-05-05 00:00:00',
gmt_modified timestamp DEFAULT '2010-05-05 00:00:00',
constraint group_capacity_id_key PRIMARY KEY (id),
constraint uk_group_id UNIQUE (group_id));
CREATE TABLE tenant_capacity (
id bigint NOT NULL generated by default as identity,
tenant_id varchar(128) DEFAULT '',
quota int DEFAULT 0,
usage int DEFAULT 0,
max_size int DEFAULT 0,
max_aggr_count int DEFAULT 0,
max_aggr_size int DEFAULT 0,
max_history_count int DEFAULT 0,
gmt_create timestamp DEFAULT '2010-05-05 00:00:00',
gmt_modified timestamp DEFAULT '2010-05-05 00:00:00',
constraint tenant_capacity_id_key PRIMARY KEY (id),
constraint uk_tenant_id UNIQUE (tenant_id));
CREATE TABLE tenant_info (
id bigint NOT NULL generated by default as identity,
kp varchar(128) NOT NULL,
tenant_id varchar(128) DEFAULT '',
tenant_name varchar(128) DEFAULT '',
tenant_desc varchar(256) DEFAULT NULL,
create_source varchar(32) DEFAULT NULL,
gmt_create bigint NOT NULL,
gmt_modified bigint NOT NULL,
constraint tenant_info_id_key PRIMARY KEY (id),
constraint uk_tenant_info_kptenantid UNIQUE (kp,tenant_id));
CREATE INDEX tenant_info_tenant_id_idx ON tenant_info(tenant_id);
CREATE TABLE users (
username varchar(50) NOT NULL PRIMARY KEY,
password varchar(500) NOT NULL,
enabled boolean NOT NULL DEFAULT true
);
CREATE TABLE roles (
username varchar(50) NOT NULL,
role varchar(50) NOT NULL,
constraint uk_username_role UNIQUE (username,role)
);
CREATE TABLE permissions (
role varchar(50) NOT NULL,
resource varchar(512) NOT NULL,
action varchar(8) NOT NULL,
constraint uk_role_permission UNIQUE (role,resource,
没有合适的资源?快使用搜索试试~ 我知道了~
Alibaba Nacos-Server-2.2.0
共340个文件
jar:122个
class:82个
js:71个
需积分: 5 1 下载量 91 浏览量
2023-04-23
08:49:23
上传
评论
收藏 107.78MB 7Z 举报
温馨提示
阿里巴巴 Nacos-Server-2.2.0 注册中心
资源推荐
资源详情
资源评论
收起资源包目录
Alibaba Nacos-Server-2.2.0 (340个子文件)
PropertiesLauncher.class 18KB
JarFileEntries.class 17KB
JarFile.class 16KB
Handler.class 13KB
LaunchedURLClassLoader.class 11KB
JarFileArchive.class 10KB
JarURLConnection.class 9KB
PropertiesLauncher$ClassPathArchives.class 8KB
NacosApiExceptionHandler.class 8KB
CentralDirectoryFileHeader.class 7KB
ExecutableArchiveLauncher.class 7KB
ExplodedArchive$AbstractIterator.class 6KB
Launcher.class 6KB
ClassPathIndexFile.class 6KB
NamespaceOperationService.class 6KB
ExplodedArchive.class 5KB
SystemPropertyUtils.class 5KB
CentralDirectoryEndRecord.class 5KB
NamespaceControllerV2.class 5KB
AsciiBytes.class 5KB
Archive.class 5KB
CentralDirectoryParser.class 5KB
JarURLConnection$JarEntryName.class 4KB
NamespaceController.class 4KB
RandomAccessDataFile.class 4KB
JarLauncher.class 4KB
JarEntry.class 4KB
ConsoleConfig.class 4KB
HealthController.class 4KB
StringSequence.class 3KB
JarFileWrapper.class 3KB
ConsoleExceptionHandler.class 3KB
CentralDirectoryEndRecord$Zip64End.class 3KB
RandomAccessDataFile$FileAccess.class 3KB
NamespaceForm.class 3KB
JarFileArchive$AbstractIterator.class 3KB
RandomAccessDataFile$DataInputStream.class 3KB
JarFileArchive$NestedArchiveIterator.class 2KB
ExplodedArchive$SimpleJarFileArchive.class 2KB
JarFile$1.class 2KB
JarFileEntries$EntryIterator.class 2KB
JarModeLauncher.class 2KB
Namespace.class 2KB
ExplodedArchive$ArchiveIterator.class 2KB
CentralDirectoryEndRecord$Zip64Locator.class 2KB
JarFileArchive$EntryIterator.class 2KB
PropertiesLauncher$PrefixMatchingArchiveFilter.class 2KB
ServerStateController.class 2KB
ExplodedArchive$EntryIterator.class 2KB
ZipInflaterInputStream.class 2KB
WarLauncher.class 2KB
NamespaceTypeEnum.class 2KB
MainMethodRunner.class 2KB
LaunchedURLClassLoader$UseFastConnectionExceptionsEnumeration.class 1KB
PropertiesLauncher$ArchiveEntryFilter.class 1KB
LaunchedURLClassLoader$DefinePackageCallType.class 1KB
JarEntryCertification.class 1KB
AbstractJarFile$JarFileType.class 1KB
JarFileEntries$1.class 1KB
JarFileEntries$Zip64Offsets.class 1KB
JarFileEntries$ZipOffsets.class 1KB
JarFile$JarEntryEnumeration.class 1KB
TestJarMode.class 1KB
JarFileEntries$Offsets.class 1KB
ExplodedArchive$FileEntry.class 1KB
XssFilter.class 1KB
JarFileArchive$JarFileEntry.class 1KB
AbstractJarFile.class 878B
Nacos.class 855B
JarURLConnection$1.class 702B
NamespaceAllInfo.class 657B
Bytes.class 616B
CentralDirectoryVisitor.class 540B
Archive$EntryFilter.class 511B
RandomAccessData.class 485B
FileHeader.class 345B
Archive$Entry.class 302B
JarEntryFilter.class 299B
CentralDirectoryEndRecord$1.class 295B
JarMode.class 293B
RandomAccessDataFile$1.class 282B
PropertiesLauncher$1.class 266B
main.css 1.17MB
editor.main.css 168KB
console1412.css 153KB
bootstrap.css 120KB
font-awesome.css 33KB
codemirror.css 9KB
icon.css 5KB
merge.css 4KB
aliyun-console-font.eot 166KB
roboto-bold.eot 23KB
roboto-regular.eot 22KB
roboto-medium.eot 22KB
roboto-light.eot 22KB
roboto-thin.eot 21KB
icon-font.eot 10KB
index.html 3KB
login.html 1KB
favicon.ico 4KB
共 340 条
- 1
- 2
- 3
- 4
资源评论
你才是臭弟弟
- 粉丝: 2w+
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功