Skip to content

Commit db3744f

Browse files
author
Perki
committed
open source
1 parent d4219c9 commit db3744f

File tree

19 files changed

+125
-53
lines changed

19 files changed

+125
-53
lines changed

.licenser.yml

Lines changed: 44 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
files:
2+
"**/.mocharc.js":
3+
header:
4+
startBlock: |
5+
/**
6+
* @license
7+
linePrefix: " * "
8+
endBlock: " */"
9+
210
"**/*.js":
311
header:
412
startBlock: |
@@ -20,6 +28,37 @@ files:
2028

2129
siblingLicenseFile:
2230
name: "LICENSE"
31+
license: |
32+
Copyright (C) {YEARS} {AUTHOR_NAME} {AUTHOR_WEB}
33+
34+
This file is part of Open-Pryv.io and released under BSD-Clause-3 License
35+
36+
Redistribution and use in source and binary forms, with or without
37+
modification, are permitted provided that the following conditions are met:
38+
39+
1. Redistributions of source code must retain the above copyright notice,
40+
this list of conditions and the following disclaimer.
41+
42+
2. Redistributions in binary form must reproduce the above copyright notice,
43+
this list of conditions and the following disclaimer in the documentation
44+
and/or other materials provided with the distribution.
45+
46+
3. Neither the name of the copyright holder nor the names of its contributors
47+
may be used to endorse or promote products derived from this software
48+
without specific prior written permission.
49+
50+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
51+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
52+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
53+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
54+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
55+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
56+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
57+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
58+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
59+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
60+
61+
SPDX-License-Identifier: BSD-3-Clause
2362
2463
"**/README.md":
2564
footer:
@@ -35,17 +74,17 @@ ignore:
3574
- node_modules
3675

3776
license: |
38-
Copyright (C) {YEARS} {AUTHOR_NAME} {AUTHOR_WEB} - All Rights Reserved
39-
Unauthorized copying of this file, via any medium is strictly prohibited
40-
Proprietary and confidential
77+
Copyright (C) {AUTHOR_NAME} {AUTHOR_WEB}
78+
This file is part of Pryv.io and released under BSD-Clause-3 License
79+
Refer to LICENSE file
4180
4281
substitutions:
4382
YEARS:
4483
start: 2019
4584
end: CURRENT_YEAR
46-
AUTHOR_NAME: "Pryv S.A."
85+
AUTHOR_NAME: "Pryv"
4786
AUTHOR_EMAIL: info@pryv.com
4887
AUTHOR_WEB: https://pryv.com
4988
DESCRIPTION: "This package is part of Pryv.io, a Pryv S.A. software"
5089
HOMEPAGE: https://pryv.com
51-
SPDX: UNLICENSED
90+
SPDX: BSD-3-Clause

.mocharc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* @license
3+
* Copyright (C) Pryv https://pryv.com
4+
* This file is part of Pryv.io and released under BSD-Clause-3 License
5+
* Refer to LICENSE file
6+
*/
17
module.exports = {
28
exit: true,
39
slow: 75,

LICENSE

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1-
Copyright (C) 2019–2024 Pryv S.A. https://pryv.com - All Rights Reserved
2-
Unauthorized copying of this file, via any medium is strictly prohibited
3-
Proprietary and confidential
1+
Copyright (C) 2019–2025 Pryv https://pryv.com
2+
3+
This file is part of Open-Pryv.io and released under BSD-Clause-3 License
4+
5+
Redistribution and use in source and binary forms, with or without
6+
modification, are permitted provided that the following conditions are met:
7+
8+
1. Redistributions of source code must retain the above copyright notice,
9+
this list of conditions and the following disclaimer.
10+
11+
2. Redistributions in binary form must reproduce the above copyright notice,
12+
this list of conditions and the following disclaimer in the documentation
13+
and/or other materials provided with the distribution.
14+
15+
3. Neither the name of the copyright holder nor the names of its contributors
16+
may be used to endorse or promote products derived from this software
17+
without specific prior written permission.
18+
19+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
30+
SPDX-License-Identifier: BSD-3-Clause

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ just test [...params]
2525

2626
## License
2727

28-
[UNLICENSED](LICENSE)
28+
[BSD-3-Clause](LICENSE)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"private": true,
55
"description": "A micro-service who will fetch configurations from service-config-leader (on register), put them as file in the corresponding service folder and restart the service.",
66
"homepage": "https://pryv.com",
7-
"license": "UNLICENSED",
8-
"author": "Pryv S.A. <info@pryv.com> (https://pryv.com)",
7+
"license": "BSD-3-Clause",
8+
"author": "Pryv <info@pryv.com> (https://pryv.com)",
99
"main": "index.js",
1010
"scripts": {
1111
"test": "echo 'This project doesn’t use npm scripts – enter `just` for the available development commands\n' && exit 1"

src/app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* @license
3-
* Copyright (C) 2019–2024 Pryv S.A. https://pryv.com - All Rights Reserved
4-
* Unauthorized copying of this file, via any medium is strictly prohibited
5-
* Proprietary and confidential
3+
* Copyright (C) Pryv https://pryv.com
4+
* This file is part of Pryv.io and released under BSD-Clause-3 License
5+
* Refer to LICENSE file
66
*/
77
const nconfSettings = require('./settings');
88
const request = require('superagent');

src/middlewares/authorization.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* @license
3-
* Copyright (C) 2019–2024 Pryv S.A. https://pryv.com - All Rights Reserved
4-
* Unauthorized copying of this file, via any medium is strictly prohibited
5-
* Proprietary and confidential
3+
* Copyright (C) Pryv https://pryv.com
4+
* This file is part of Pryv.io and released under BSD-Clause-3 License
5+
* Refer to LICENSE file
66
*/
77
const errorsFactory = require('../utils/errorsHandling').factory;
88

src/middlewares/errors.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* @license
3-
* Copyright (C) 2019–2024 Pryv S.A. https://pryv.com - All Rights Reserved
4-
* Unauthorized copying of this file, via any medium is strictly prohibited
5-
* Proprietary and confidential
3+
* Copyright (C) Pryv https://pryv.com
4+
* This file is part of Pryv.io and released under BSD-Clause-3 License
5+
* Refer to LICENSE file
66
*/
77
const errorsHandling = require('../utils/errorsHandling');
88
const errorsFactory = errorsHandling.factory;

src/middlewares/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* @license
3-
* Copyright (C) 2019–2024 Pryv S.A. https://pryv.com - All Rights Reserved
4-
* Unauthorized copying of this file, via any medium is strictly prohibited
5-
* Proprietary and confidential
3+
* Copyright (C) Pryv https://pryv.com
4+
* This file is part of Pryv.io and released under BSD-Clause-3 License
5+
* Refer to LICENSE file
66
*/
77
const errors = require('./errors');
88
const authorization = require('./authorization');

src/routes/containersLifecycleHelper.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* @license
3-
* Copyright (C) 2019–2024 Pryv S.A. https://pryv.com - All Rights Reserved
4-
* Unauthorized copying of this file, via any medium is strictly prohibited
5-
* Proprietary and confidential
3+
* Copyright (C) Pryv https://pryv.com
4+
* This file is part of Pryv.io and released under BSD-Clause-3 License
5+
* Refer to LICENSE file
66
*/
77
const childProcess = require('child_process');
88
const fs = require('fs');

0 commit comments

Comments
 (0)