Skip to content

Commit 81bc01a

Browse files
Merge pull request #47 from aptlogica/license-update
license update
2 parents 062c867 + a355fac commit 81bc01a

30 files changed

Lines changed: 191 additions & 101 deletions

LICENSE

Lines changed: 109 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,109 @@
1-
MIT License
2-
3-
Copyright (c) 2026 Aptlogica Technologies Private Limited
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
1+
Copyright 2026 Aptlogica Technologies Private Limited
2+
3+
Apache License
4+
Version 2.0, January 2004
5+
http://www.apache.org/licenses/
6+
7+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8+
9+
1. Definitions.
10+
11+
"License" shall mean the terms and conditions for use, reproduction, and
12+
distribution as defined by Sections 1 through 9 of this document.
13+
14+
"Licensor" shall mean the copyright owner or entity authorized by the
15+
copyright owner that is granting the License.
16+
17+
"Legal Entity" shall mean the union of the acting entity and all other
18+
entities that control, are controlled by, or are under common control with
19+
that entity. For the purposes of this definition, "control" means (i) the
20+
power, direct or indirect, to cause the direction or management of such
21+
entity, whether by contract or otherwise, or (ii) ownership of fifty
22+
percent (50%) or more of the outstanding shares, or (iii) beneficial
23+
ownership of such entity.
24+
25+
"You" (or "Your") shall mean an individual or Legal Entity exercising
26+
permissions granted by this License.
27+
28+
"Source" form shall mean the preferred form for making modifications,
29+
including but not limited to software source code, documentation source,
30+
and configuration files.
31+
32+
"Object" form shall mean any form resulting from mechanical transformation
33+
or translation of a Source form, including but not limited to compiled
34+
object code, generated documentation, and conversions to other media types.
35+
36+
"Work" shall mean the work of authorship, whether in Source or Object
37+
form, made available under the License, as indicated by a copyright notice
38+
that is included in or attached to the work (an example is provided in the
39+
Appendix below).
40+
41+
"Derivative Works" shall mean any work, whether in Source or Object form,
42+
that is based on (or derived from) the Work and for which the editorial
43+
revisions, annotations, elaborations, or other modifications represent,
44+
as a whole, an original work of authorship. For the purposes of this
45+
License, Derivative Works shall not include works that remain separable
46+
from, or merely link (or bind by name) to the interfaces of, the Work and
47+
Derivative Works thereof.
48+
49+
"Contribution" shall mean any work of authorship, including the original
50+
version of the Work and any modifications or additions to that Work or
51+
Derivative Works thereof, that is intentionally submitted to Licensor for
52+
inclusion in the Work by the copyright owner or by an individual or Legal
53+
Entity authorized to submit on behalf of the copyright owner.
54+
55+
2. Grant of Copyright License. Subject to the terms and conditions of this
56+
License, each Contributor hereby grants to You a perpetual, worldwide,
57+
non-exclusive, no-charge, royalty-free, irrevocable copyright license to
58+
reproduce, prepare Derivative Works of, publicly display, publicly perform,
59+
sublicense, and distribute the Work and such Derivative Works in Source or
60+
Object form.
61+
62+
3. Grant of Patent License. Subject to the terms and conditions of this
63+
License, each Contributor hereby grants to You a perpetual, worldwide,
64+
non-exclusive, no-charge, royalty-free, irrevocable (except as stated in
65+
this section) patent license to make, have made, use, offer to sell, sell,
66+
import, and otherwise transfer the Work, where such license applies only to
67+
those patent claims licensable by such Contributor that are necessarily
68+
infringed by their Contribution(s) alone or by combination of their
69+
Contribution(s) with the Work to which such Contribution(s) was submitted.
70+
71+
4. Redistribution. You may reproduce and distribute copies of the Work or
72+
Derivative Works thereof in any medium, with or without modifications, and
73+
in Source or Object form, provided that You meet the following conditions:
74+
75+
(a) You must give any other recipients of the Work or Derivative Works a
76+
copy of this License; and
77+
78+
(b) You must cause any modified files to carry prominent notices stating
79+
that You changed the files; and
80+
81+
(c) You must retain, in the Source form of any Derivative Works that You
82+
distribute, all copyright, patent, trademark, and attribution notices
83+
from the Source form of the Work, excluding those notices that do not
84+
pertain to any part of the Derivative Works; and
85+
86+
(d) If the Work includes a "NOTICE" text file as part of its distribution,
87+
then any Derivative Works that You distribute must include a readable
88+
copy of the attribution notices contained within such NOTICE file, in at
89+
least one of the following places: within a NOTICE text file distributed
90+
as part of the Derivative Works; within the Source form or documentation;
91+
or within a display generated by the Derivative Works.
92+
93+
5. Submission of Contributions. Unless You explicitly state otherwise, any
94+
Contribution intentionally submitted for inclusion in the Work shall be
95+
under the terms and conditions of this License.
96+
97+
6. Trademarks. This License does not grant permission to use the trade
98+
names, trademarks, service marks, or product names of the Licensor.
99+
100+
7. Disclaimer of Warranty. The Work is provided "AS IS", WITHOUT WARRANTIES
101+
OR CONDITIONS OF ANY KIND.
102+
103+
8. Limitation of Liability. In no event shall any Contributor be liable
104+
for damages arising from the use of the Work.
105+
106+
9. Accepting Warranty or Additional Liability. You may offer support or
107+
warranty, but only on your own behalf.
108+
109+
END OF TERMS AND CONDITIONS

NOTICE

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
Copyright (c) 2026 aptlogica
1+
Aptlogica Technologies Private Limited
22

3-
All rights reserved.
3+
This product includes software developed by Aptlogica Technologies Private Limited.
44

5-
This software is licensed under the terms described in the LICENSE file.
5+
Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
6+
7+
© 2026 Aptlogica Technologies Private Limited. All rights reserved.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</p>
2121

2222
<p align="center">
23-
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-green.svg" alt="License"></a>
23+
<a href="LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" alt="License"></a>
2424
</p>
2525
## API Endpoints
2626

@@ -187,4 +187,4 @@ S3_ENDPOINT=http://localhost:9000
187187
See [SECURITY.md](SECURITY.md) for reporting vulnerabilities.
188188

189189
## License
190-
MIT License. Copyright (c) 2026 Aptlogica Technologies.
190+
Apache License 2.0. Copyright (c) 2026 Aptlogica Technologies.

cmd/server/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
Copyright (c) 2026 Aptlogica Technologies Private Limited
2+
Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
33
This file is part of software developed by Aptlogica Technologies Private Limited.
4-
Licensed under the MIT License. See the LICENSE file in the project root
4+
Licensed under the Apache License 2.0. See the LICENSE file in the project root
55
for full license information.
66
Websites:
77
https://www.aptlogica.com
@@ -38,7 +38,7 @@ import (
3838
// @contact.email support@swagger.io
3939

4040
// @license.name Apache 2.0
41-
// @license.url http://www.apache.org/licenses/LICENSE-0.0.html
41+
// @license.url https://www.apache.org/licenses/LICENSE-2.0.html
4242

4343
// @host localhost:8083
4444
// @BasePath /api/v1

coverage.html

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@
9898
</div>
9999
<div id="content">
100100

101-
<pre class="file" id="file0" style="display: none">// Copyright (c) 2026 Aptlogica Technologies Private Limited
102-
// SPDX-License-Identifier: MIT
101+
<pre class="file" id="file0" style="display: none">// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
102+
// Licensed under the Apache License, Version 2.0
103103
// Websites: https://www.aptlogica.com | https://www.serenibase.com
104104
// Support: support@aptlogica.com | support@serenibase.com
105105
package handlers
@@ -143,8 +143,8 @@
143143
}
144144
</pre>
145145

146-
<pre class="file" id="file1" style="display: none">// Copyright (c) 2026 Aptlogica Technologies Private Limited
147-
// SPDX-License-Identifier: MIT
146+
<pre class="file" id="file1" style="display: none">// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
147+
// Licensed under the Apache License, Version 2.0
148148
// Websites: https://www.aptlogica.com | https://www.serenibase.com
149149
// Support: support@aptlogica.com | support@serenibase.com
150150
package handlers
@@ -438,8 +438,8 @@
438438
}
439439
</pre>
440440

441-
<pre class="file" id="file2" style="display: none">// Copyright (c) 2026 Aptlogica Technologies Private Limited
442-
// SPDX-License-Identifier: MIT
441+
<pre class="file" id="file2" style="display: none">// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
442+
// Licensed under the Apache License, Version 2.0
443443
// Websites: https://www.aptlogica.com | https://www.serenibase.com
444444
// Support: support@aptlogica.com | support@serenibase.com
445445
package middleware
@@ -541,8 +541,8 @@
541541
}
542542
</pre>
543543

544-
<pre class="file" id="file3" style="display: none">// Copyright (c) 2026 Aptlogica Technologies Private Limited
545-
// SPDX-License-Identifier: MIT
544+
<pre class="file" id="file3" style="display: none">// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
545+
// Licensed under the Apache License, Version 2.0
546546
// Websites: https://www.aptlogica.com | https://www.serenibase.com
547547
// Support: support@aptlogica.com | support@serenibase.com
548548
package routes
@@ -579,8 +579,8 @@
579579
}
580580
</pre>
581581

582-
<pre class="file" id="file4" style="display: none">// Copyright (c) 2026 Aptlogica Technologies Private Limited
583-
// SPDX-License-Identifier: MIT
582+
<pre class="file" id="file4" style="display: none">// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
583+
// Licensed under the Apache License, Version 2.0
584584
// Websites: https://www.aptlogica.com | https://www.serenibase.com
585585
// Support: support@aptlogica.com | support@serenibase.com
586586
package config
@@ -695,8 +695,8 @@
695695
}
696696
</pre>
697697

698-
<pre class="file" id="file5" style="display: none">// Copyright (c) 2026 Aptlogica Technologies Private Limited
699-
// SPDX-License-Identifier: MIT
698+
<pre class="file" id="file5" style="display: none">// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
699+
// Licensed under the Apache License, Version 2.0
700700
// Websites: https://www.aptlogica.com | https://www.serenibase.com
701701
// Support: support@aptlogica.com | support@serenibase.com
702702
package storage
@@ -729,8 +729,8 @@
729729
}
730730
</pre>
731731

732-
<pre class="file" id="file6" style="display: none">// Copyright (c) 2026 Aptlogica Technologies Private Limited
733-
// SPDX-License-Identifier: MIT
732+
<pre class="file" id="file6" style="display: none">// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
733+
// Licensed under the Apache License, Version 2.0
734734
// Websites: https://www.aptlogica.com | https://www.serenibase.com
735735
// Support: support@aptlogica.com | support@serenibase.com
736736
package local
@@ -945,8 +945,8 @@
945945
}
946946
</pre>
947947

948-
<pre class="file" id="file7" style="display: none">// Copyright (c) 2026 Aptlogica Technologies Private Limited
949-
// SPDX-License-Identifier: MIT
948+
<pre class="file" id="file7" style="display: none">// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
949+
// Licensed under the Apache License, Version 2.0
950950
// Websites: https://www.aptlogica.com | https://www.serenibase.com
951951
// Support: support@aptlogica.com | support@serenibase.com
952952
package minio
@@ -1118,8 +1118,8 @@
11181118
}
11191119
</pre>
11201120

1121-
<pre class="file" id="file8" style="display: none">// Copyright (c) 2026 Aptlogica Technologies Private Limited
1122-
// SPDX-License-Identifier: MIT
1121+
<pre class="file" id="file8" style="display: none">// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
1122+
// Licensed under the Apache License, Version 2.0
11231123
// Websites: https://www.aptlogica.com | https://www.serenibase.com
11241124
// Support: support@aptlogica.com | support@serenibase.com
11251125
package s3
@@ -1314,8 +1314,8 @@
13141314
}
13151315
</pre>
13161316

1317-
<pre class="file" id="file9" style="display: none">// Copyright (c) 2026 Aptlogica Technologies Private Limited
1318-
// SPDX-License-Identifier: MIT
1317+
<pre class="file" id="file9" style="display: none">// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
1318+
// Licensed under the Apache License, Version 2.0
13191319
// Websites: https://www.aptlogica.com | https://www.serenibase.com
13201320
// Support: support@aptlogica.com | support@serenibase.com
13211321
package services
@@ -1446,8 +1446,8 @@
14461446
}
14471447
</pre>
14481448

1449-
<pre class="file" id="file10" style="display: none">// Copyright (c) 2026 Aptlogica Technologies Private Limited
1450-
// SPDX-License-Identifier: MIT
1449+
<pre class="file" id="file10" style="display: none">// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
1450+
// Licensed under the Apache License, Version 2.0
14511451
// Websites: https://www.aptlogica.com | https://www.serenibase.com
14521452
// Support: support@aptlogica.com | support@serenibase.com
14531453
package file

docs/docs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2026 Aptlogica Technologies Private Limited
2-
// SPDX-License-Identifier: MIT
1+
// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
2+
// Licensed under the Apache License, Version 2.0
33
// Websites: https://www.aptlogica.com | https://www.serenibase.com
44
// Support: support@aptlogica.com | support@serenibase.com
55
// Package docs Code generated by swaggo/swag. DO NOT EDIT

internal/api/handlers/health_handler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2026 Aptlogica Technologies Private Limited
2-
// SPDX-License-Identifier: MIT
1+
// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
2+
// Licensed under the Apache License, Version 2.0
33
// Websites: https://www.aptlogica.com | https://www.serenibase.com
44
// Support: support@aptlogica.com | support@serenibase.com
55
package handlers

internal/api/handlers/storage_handler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2026 Aptlogica Technologies Private Limited
2-
// SPDX-License-Identifier: MIT
1+
// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
2+
// Licensed under the Apache License, Version 2.0
33
// Websites: https://www.aptlogica.com | https://www.serenibase.com
44
// Support: support@aptlogica.com | support@serenibase.com
55
package handlers

internal/api/middleware/middleware.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2026 Aptlogica Technologies Private Limited
2-
// SPDX-License-Identifier: MIT
1+
// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
2+
// Licensed under the Apache License, Version 2.0
33
// Websites: https://www.aptlogica.com | https://www.serenibase.com
44
// Support: support@aptlogica.com | support@serenibase.com
55
package middleware

internal/api/routes/routes.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2026 Aptlogica Technologies Private Limited
2-
// SPDX-License-Identifier: MIT
1+
// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
2+
// Licensed under the Apache License, Version 2.0
33
// Websites: https://www.aptlogica.com | https://www.serenibase.com
44
// Support: support@aptlogica.com | support@serenibase.com
55
package routes

0 commit comments

Comments
 (0)