Skip to content

Commit b34e8dc

Browse files
authored
update licence template (#93)
1 parent 591d851 commit b34e8dc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+208
-169
lines changed

.licenserc.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"**/*.go" :[
33
"/*",
4-
"* Copyright (c) 2022, AcmeStack",
5-
"* All rights reserved.",
6-
"*",
4+
"* Licensed to the AcmeStack under one or more contributor license",
5+
"* agreements. See the NOTICE file distributed with this work for",
6+
"* additional information regarding copyright ownership.",
77
"* Licensed under the Apache License, Version 2.0 (the \"License\");",
88
"* you may not use this file except in compliance with the License.",
99
"* You may obtain a copy of the License at",

NOTICE

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Copyright (c) 2013 - 2022, AcmeStack
2+
All rights reserved.
3+
4+
This product includes software developed at
5+
The AcmeStack (https://www.acmestack.org/).

cmd/envcd/main.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

db/envcd.sql

+17
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,23 @@ CREATE TABLE `permission` (
7878
PRIMARY KEY (`id`)
7979
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
8080

81+
/*
82+
* Licensed to the AcmeStack under one or more contributor license
83+
* agreements. See the NOTICE file distributed with this work for
84+
* additional information regarding copyright ownership.
85+
* Licensed under the Apache License, Version 2.0 (the "License");
86+
* you may not use this file except in compliance with the License.
87+
* You may obtain a copy of the License at
88+
*
89+
* http://www.apache.org/licenses/LICENSE-2.0
90+
*
91+
* Unless required by applicable law or agreed to in writing, software
92+
* distributed under the License is distributed on an "AS IS" BASIS,
93+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
94+
* See the License for the specific language governing permissions and
95+
* limitations under the License.
96+
*/
97+
8198
-- ----------------------------
8299
-- Table structure for user
83100
-- ----------------------------

envcd.svg

+17
Loading

internal/core/configuration/configuration.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/exchanger/etcd/etcd.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/exchanger/etcd/etcd_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/exchanger/exchange.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/exchanger/exchange_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/openapi/application.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/openapi/context.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/openapi/dictionary.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/openapi/openapi.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/openapi/password.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/openapi/password_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/openapi/user.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/plugin/chain.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/plugin/chain_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/plugin/logging/logging.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/plugin/logging/logging_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/plugin/permission/permission.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/storage/dao/application.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/storage/dao/dao.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/storage/dao/dictionary.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/storage/dao/logging.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/storage/dao/permission.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/storage/dao/user.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/storage/storage.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2022, AcmeStack
3-
* All rights reserved.
4-
*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
77
* You may obtain a copy of the License at

internal/core/storage/xml/application_mapper.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
~ Copyright (c) 2022, AcmeStack
4-
~ All rights reserved.
5-
~
3+
~ Licensed to the AcmeStack under one or more contributor license
4+
~ agreements. See the NOTICE file distributed with this work for
5+
~ additional information regarding copyright ownership.
66
~ Licensed under the Apache License, Version 2.0 (the "License");
77
~ you may not use this file except in compliance with the License.
88
~ You may obtain a copy of the License at
99
~
10-
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~ http://www.apache.org/licenses/LICENSE-2.0
1111
~
1212
~ Unless required by applicable law or agreed to in writing, software
1313
~ distributed under the License is distributed on an "AS IS" BASIS,
1414
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
17-
-->
17+
-->
1818

1919
<mapper namespace="dao">
2020
<sql id="columns_id">id,name,note,state,created_at,updated_at</sql>

internal/core/storage/xml/dictionary_mapper.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
~ Copyright (c) 2022, AcmeStack
4-
~ All rights reserved.
5-
~
3+
~ Licensed to the AcmeStack under one or more contributor license
4+
~ agreements. See the NOTICE file distributed with this work for
5+
~ additional information regarding copyright ownership.
66
~ Licensed under the Apache License, Version 2.0 (the "License");
77
~ you may not use this file except in compliance with the License.
88
~ You may obtain a copy of the License at
99
~
10-
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~ http://www.apache.org/licenses/LICENSE-2.0
1111
~
1212
~ Unless required by applicable law or agreed to in writing, software
1313
~ distributed under the License is distributed on an "AS IS" BASIS,
1414
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
17-
-->
17+
-->
1818

1919
<mapper namespace="dao">
2020
<sql id="columns_id">id,user_id,application_id,dict_key,dict_value,state,created_at,updated_at</sql>

internal/core/storage/xml/logging_mapper.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
~ Copyright (c) 2022, AcmeStack
4-
~ All rights reserved.
5-
~
3+
~ Licensed to the AcmeStack under one or more contributor license
4+
~ agreements. See the NOTICE file distributed with this work for
5+
~ additional information regarding copyright ownership.
66
~ Licensed under the Apache License, Version 2.0 (the "License");
77
~ you may not use this file except in compliance with the License.
88
~ You may obtain a copy of the License at
99
~
10-
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~ http://www.apache.org/licenses/LICENSE-2.0
1111
~
1212
~ Unless required by applicable law or agreed to in writing, software
1313
~ distributed under the License is distributed on an "AS IS" BASIS,
1414
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
17-
-->
17+
-->
1818

1919
<mapper namespace="dao">
2020
<sql id="columns_id">id,user_id,logging,created_at</sql>

0 commit comments

Comments
 (0)