-
-
Notifications
You must be signed in to change notification settings - Fork 1
Develop #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Develop #80
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
97d2be4
build(deps): bump go.opentelemetry.io/otel from 1.37.0 to 1.39.0
dependabot[bot] 56d1835
chore: update lib-commons to v2.7.0-beta.3 for multi-tenant support
jeffersonrodrigues92 d624057
docs: update license to Elastic License 2.0 (ELv2)
qnen d5ce9b9
chore: update Go version to fix vulnerabilities
qnen 2607a54
build(deps): bump github.com/golang-jwt/jwt/v5 from 5.3.0 to 5.3.1
dependabot[bot] e6789dc
Merge pull request #67 from LerianStudio/feat/update-code-license-to-…
qnen ad12708
chore(release): 2.4.1-beta.1
lerian-studio 64c87ff
chore(makefile): add build, test, coverage and git hooks commands
marcelo-lerian 8b166d7
chore(makefile): standardize build system following lib-commons patte…
marcelo-lerian da45b1a
fix(tests): use safe find -exec instead of xargs pipeline :bug:
marcelo-lerian 667eea3
chore(makefile): remove legacy coverage commands :wrench:
marcelo-lerian e32ec96
Merge pull request #70 from LerianStudio/fix/makefile
marcelo-lerian 5befee4
chore(release): 2.5.0-beta.1
lerian-studio a622a53
chore: upgrade lib-commons to v3.0.0-beta.2
jeffersonrodrigues92 15dc794
Merge pull request #69 from LerianStudio/dependabot/go_modules/develo…
jeffersonrodrigues92 9690684
chore(release): 2.5.0-beta.2
lerian-studio f3395ba
build(deps): bump github.com/gofiber/fiber/v2 from 2.52.9 to 2.52.11
dependabot[bot] c878df8
Merge pull request #68 from LerianStudio/dependabot/go_modules/develo…
jeffersonrodrigues92 fb4e6da
chore(release): 2.5.0-beta.3
lerian-studio 1c6803d
Merge branch 'develop' into dependabot/go_modules/develop/go.opentele…
jeffersonrodrigues92 af80836
Merge pull request #61 from LerianStudio/dependabot/go_modules/develo…
jeffersonrodrigues92 7e61323
chore(release): 2.5.0-beta.4
lerian-studio b7f7cea
Merge branch 'develop' into feature/multi-tenant
jeffersonrodrigues92 7dc78fe
Merge pull request #71 from LerianStudio/feature/multi-tenant
jeffersonrodrigues92 0a19c60
chore(release): 2.5.0-beta.5
lerian-studio 17d4262
test: add first-ever middleware tests for gRPC and HTTP
qnen f4dae96
feat: make gRPC interceptor tenant-aware with streaming support
qnen 805aadb
fix: replace deprecated commons API calls
qnen 37145a5
Merge branch 'develop' into feat/multi-tenant
qnen 4b6b5c5
chore: fix lint issues
qnen 78150e9
chore: fix lint issues with govet
qnen 44e4e6e
Merge pull request #73 from LerianStudio/feat/multi-tenant
qnen 5b60e5f
chore(release): 2.5.0-beta.6
lerian-studio a7c724a
chore(deps): upgrade lib-commons from v3 to v4
fredcamaral 2e12d9b
feat(middleware): migrate to lib-commons v4 API
fredcamaral 6ba51e5
fix(auth/middleware): prevent panic on logger initialization failure
fredcamaral edb0fec
Merge pull request #78 from LerianStudio/feat/migrate-libcommons-v4
fredcamaral 7175a5b
chore(release): 2.5.0-beta.7
lerian-studio 4f51877
fix(auth/middleware): return 401 instead of 500 for malformed tokens
qnen cd1e64e
Merge pull request #79 from LerianStudio/fix/invalid-token-500-to-401
qnen 72bfae4
chore(release): 2.5.0-beta.8
lerian-studio 165db5f
fix(auth/middleware): handle numeric code field in auth error response
qnen 3b30577
Merge pull request #81 from LerianStudio/fix/unmarshal-numeric-error-…
qnen a22c8aa
chore(release): 2.5.0-beta.9
lerian-studio 5a83709
chore(deps): bump lib-commons to v4.2.0-beta.9
jeffersonrodrigues92 bd384b6
chore(deps): bump lib-commons to v4.2.0
jeffersonrodrigues92 2480366
Merge pull request #82 from LerianStudio/chore/bump-lib-commons-v4.2.…
jeffersonrodrigues92 8636317
chore(release): 2.5.0-beta.10
lerian-studio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # Coverage exclusion patterns for unit tests | ||
| # Lines starting with # are comments | ||
| # Use * as wildcard for path matching | ||
|
|
||
| # Auto-generated mocks | ||
| *_mock.go |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,93 @@ | ||
| Elastic License 2.0 | ||
|
|
||
| URL: https://www.elastic.co/licensing/elastic-license | ||
|
|
||
| ## Acceptance | ||
|
|
||
| By using the software, you agree to all of the terms and conditions below. | ||
|
|
||
| ## Copyright License | ||
|
|
||
| The licensor grants you a non-exclusive, royalty-free, worldwide, | ||
| non-sublicensable, non-transferable license to use, copy, distribute, make | ||
| available, and prepare derivative works of the software, in each case subject to | ||
| the limitations and conditions below. | ||
|
|
||
| ## Limitations | ||
|
|
||
| You may not provide the software to third parties as a hosted or managed | ||
| service, where the service provides users with access to any substantial set of | ||
| the features or functionality of the software. | ||
|
|
||
| You may not move, change, disable, or circumvent the license key functionality | ||
| in the software, and you may not remove or obscure any functionality in the | ||
| software that is protected by the license key. | ||
|
|
||
| You may not alter, remove, or obscure any licensing, copyright, or other notices | ||
| of the licensor in the software. Any use of the licensor's trademarks is subject | ||
| to applicable law. | ||
|
|
||
| ## Patents | ||
|
|
||
| The licensor grants you a license, under any patent claims the licensor can | ||
| license, or becomes able to license, to make, have made, use, sell, offer for | ||
| sale, import and have imported the software, in each case subject to the | ||
| limitations and conditions in this license. This license does not cover any | ||
| patent claims that you cause to be infringed by modifications or additions to | ||
| the software. If you or your company make any written claim that the software | ||
| infringes or contributes to infringement of any patent, your patent license for | ||
| the software granted under these terms ends immediately. If your company makes | ||
| such a claim, your patent license ends immediately for work on behalf of your | ||
| company. | ||
|
|
||
| ## Notices | ||
|
|
||
| You must ensure that anyone who gets a copy of any part of the software from you | ||
| also gets a copy of these terms. | ||
|
|
||
| If you modify the software, you must include in any modified copies of the | ||
| software prominent notices stating that you have modified the software. | ||
|
|
||
| ## No Other Rights | ||
|
|
||
| These terms do not imply any licenses other than those expressly granted in | ||
| these terms. | ||
|
|
||
| ## Termination | ||
|
|
||
| If you use the software in violation of these terms, such use is not licensed, | ||
| and your licenses will automatically terminate. If the licensor provides you | ||
| with a notice of your violation, and you cease all violation of this license no | ||
| later than 30 days after you receive that notice, your licenses will be | ||
| reinstated retroactively. However, if you violate these terms after such | ||
| reinstatement, any additional violation of these terms will cause your licenses | ||
| to terminate automatically and permanently. | ||
|
|
||
| ## No Liability | ||
|
|
||
| *As far as the law allows, the software comes as is, without any warranty or | ||
| condition, and the licensor will not be liable to you for any damages arising | ||
| out of these terms or the use or nature of the software, under any kind of | ||
| legal claim.* | ||
|
|
||
| ## Definitions | ||
|
|
||
| The **licensor** is the entity offering these terms, and the **software** is the | ||
| software the licensor makes available under these terms, including any portion | ||
| of it. | ||
|
|
||
| **you** refers to the individual or entity agreeing to these terms. | ||
|
|
||
| **your company** is any legal entity, sole proprietorship, or other kind of | ||
| organization that you work for, plus all organizations that have control over, | ||
| are under the control of, or are under common control with that | ||
| organization. **control** means ownership of substantially all the assets of an | ||
| entity, or the power to direct its management and policies by vote, contract, or | ||
| otherwise. Control can be direct or indirect. | ||
|
|
||
| **your licenses** are all the licenses granted to you for the software under | ||
| these terms. | ||
|
|
||
| **use** means anything you do with the software requiring one of your licenses. | ||
|
|
||
| **trademark** means trademarks, service marks, and similar rights. | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: LerianStudio/lib-auth
Length of output: 3615
🏁 Script executed:
Repository: LerianStudio/lib-auth
Length of output: 5048
🏁 Script executed:
Repository: LerianStudio/lib-auth
Length of output: 74
Update README and source files to document Elastic License 2.0 adoption.
The Elastic License 2.0 file was added, but the license change is not documented elsewhere. README.md contains no license statement, source files have no SPDX headers, and go.mod includes no license metadata. This creates a compliance gap where downstream users and integrators remain unaware of the licensing restrictions (notably the hosted/managed service limitation). Add an explicit license section to README.md, include SPDX-License-Identifier headers in source files, and consider adding license metadata to go.mod for visibility.
🤖 Prompt for AI Agents