From 4017ddf40e2bade5d35b48a36d71d023e3cb6ea0 Mon Sep 17 00:00:00 2001 From: All-The-Best-for Date: Tue, 29 Oct 2024 20:58:54 +0800 Subject: [PATCH] [feat] HertzBeat Official Template Marketplace [#1792] --- .../sql/auth_resource.sql | 18 ++++++++++++++++++ .../hertzbeat-template-hub/sql/auth_role.sql | 19 +++++++++++++++++++ .../sql/auth_role_resource_bind.sql | 19 +++++++++++++++++++ .../hertzbeat-template-hub/sql/auth_user.sql | 19 +++++++++++++++++++ .../sql/auth_user_role_bind.sql | 19 +++++++++++++++++++ .../hertzbeat-template-hub/sql/category.sql | 19 +++++++++++++++++++ .../hertzbeat-template-hub/sql/star.sql | 19 +++++++++++++++++++ .../hertzbeat-template-hub/sql/tag.sql | 19 +++++++++++++++++++ .../hertzbeat-template-hub/sql/template.sql | 19 +++++++++++++++++++ .../sql/template_tag.sql | 19 +++++++++++++++++++ .../hertzbeat-template-hub/sql/version.sql | 19 +++++++++++++++++++ 11 files changed, 208 insertions(+) diff --git a/template-marketplace/hertzbeat-template-hub/sql/auth_resource.sql b/template-marketplace/hertzbeat-template-hub/sql/auth_resource.sql index 98763454946..05b27503c04 100644 --- a/template-marketplace/hertzbeat-template-hub/sql/auth_resource.sql +++ b/template-marketplace/hertzbeat-template-hub/sql/auth_resource.sql @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 table auth_resource ( id bigint auto_increment diff --git a/template-marketplace/hertzbeat-template-hub/sql/auth_role.sql b/template-marketplace/hertzbeat-template-hub/sql/auth_role.sql index da99766e1a0..3e8319489dd 100644 --- a/template-marketplace/hertzbeat-template-hub/sql/auth_role.sql +++ b/template-marketplace/hertzbeat-template-hub/sql/auth_role.sql @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 table auth_role ( id bigint auto_increment diff --git a/template-marketplace/hertzbeat-template-hub/sql/auth_role_resource_bind.sql b/template-marketplace/hertzbeat-template-hub/sql/auth_role_resource_bind.sql index 0b5a9d75a84..9c6f7013abf 100644 --- a/template-marketplace/hertzbeat-template-hub/sql/auth_role_resource_bind.sql +++ b/template-marketplace/hertzbeat-template-hub/sql/auth_role_resource_bind.sql @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 table auth_role_resource_bind ( id bigint auto_increment diff --git a/template-marketplace/hertzbeat-template-hub/sql/auth_user.sql b/template-marketplace/hertzbeat-template-hub/sql/auth_user.sql index 0382f81d409..4a191ed0ddd 100644 --- a/template-marketplace/hertzbeat-template-hub/sql/auth_user.sql +++ b/template-marketplace/hertzbeat-template-hub/sql/auth_user.sql @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 table auth_user ( id bigint auto_increment diff --git a/template-marketplace/hertzbeat-template-hub/sql/auth_user_role_bind.sql b/template-marketplace/hertzbeat-template-hub/sql/auth_user_role_bind.sql index 54733b6c4aa..1fa12e96ac8 100644 --- a/template-marketplace/hertzbeat-template-hub/sql/auth_user_role_bind.sql +++ b/template-marketplace/hertzbeat-template-hub/sql/auth_user_role_bind.sql @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 table auth_user_role_bind ( id bigint auto_increment diff --git a/template-marketplace/hertzbeat-template-hub/sql/category.sql b/template-marketplace/hertzbeat-template-hub/sql/category.sql index 5b3b91db58d..e7b17700ddf 100644 --- a/template-marketplace/hertzbeat-template-hub/sql/category.sql +++ b/template-marketplace/hertzbeat-template-hub/sql/category.sql @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 table category ( id int auto_increment comment '类别id' diff --git a/template-marketplace/hertzbeat-template-hub/sql/star.sql b/template-marketplace/hertzbeat-template-hub/sql/star.sql index e3dd50403e5..6b9cab5c345 100644 --- a/template-marketplace/hertzbeat-template-hub/sql/star.sql +++ b/template-marketplace/hertzbeat-template-hub/sql/star.sql @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 table star ( id int auto_increment comment '收藏id' diff --git a/template-marketplace/hertzbeat-template-hub/sql/tag.sql b/template-marketplace/hertzbeat-template-hub/sql/tag.sql index 94728478af9..1b5cec572eb 100644 --- a/template-marketplace/hertzbeat-template-hub/sql/tag.sql +++ b/template-marketplace/hertzbeat-template-hub/sql/tag.sql @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 table tag ( id int not null comment 'tagid' diff --git a/template-marketplace/hertzbeat-template-hub/sql/template.sql b/template-marketplace/hertzbeat-template-hub/sql/template.sql index f9d4411c2f0..feac47eb617 100644 --- a/template-marketplace/hertzbeat-template-hub/sql/template.sql +++ b/template-marketplace/hertzbeat-template-hub/sql/template.sql @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 table template ( id int auto_increment diff --git a/template-marketplace/hertzbeat-template-hub/sql/template_tag.sql b/template-marketplace/hertzbeat-template-hub/sql/template_tag.sql index a7a2117a1b3..9fcdf1b4c58 100644 --- a/template-marketplace/hertzbeat-template-hub/sql/template_tag.sql +++ b/template-marketplace/hertzbeat-template-hub/sql/template_tag.sql @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 table template_tag ( id int not null comment 'template-tag id' diff --git a/template-marketplace/hertzbeat-template-hub/sql/version.sql b/template-marketplace/hertzbeat-template-hub/sql/version.sql index c2767686f3b..f664c312b4d 100644 --- a/template-marketplace/hertzbeat-template-hub/sql/version.sql +++ b/template-marketplace/hertzbeat-template-hub/sql/version.sql @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 table version ( id int auto_increment comment '版本id'