-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Arnab Dutta <[email protected]> Co-authored-by: Arunmozhi <[email protected]> Co-authored-by: Arvind Tomar <[email protected]> Co-authored-by: Chris B <[email protected]> Co-authored-by: Chris Eland <[email protected]> Co-authored-by: Christian <[email protected]> Co-authored-by: Christian Eland <[email protected]> Co-authored-by: Christian H <[email protected]> Co-authored-by: Dhaval D <[email protected]> Co-authored-by: Djeumen Rolain Bonaventure <[email protected]> Co-authored-by: Dmitry Ognyannikov <[email protected]> Co-authored-by: Dzouato Djeumen Rolain Bonaventure <[email protected]> Co-authored-by: Ganesh <[email protected]> Co-authored-by: Gasmyr <[email protected]> Co-authored-by: Guillaume Smaha <[email protected]> Co-authored-by: Harjinder Dhanjal <[email protected]> Co-authored-by: HemantKMehta <[email protected]> Co-authored-by: Javier Rojas <[email protected]> Co-authored-by: Javier Rojas Blum <[email protected]> Co-authored-by: Javier Rojas Blum <[email protected]> Co-authored-by: Jose <[email protected]> Co-authored-by: Jose G <[email protected]> Co-authored-by: Kalle Mustonen <[email protected]> Co-authored-by: Kunal Vaidya <[email protected]> Co-authored-by: Madhumita <[email protected]> Co-authored-by: Madhumita Subramaniam <[email protected]> Co-authored-by: Mike Schwartz <[email protected]> Co-authored-by: Milton BO <[email protected]> Co-authored-by: Milton Ch <[email protected]> Co-authored-by: Milton Ch <[email protected]> Co-authored-by: Milton Ch <[email protected]> Co-authored-by: Mobarak Hosen Shakil <[email protected]> Co-authored-by: Mohammad Abudayyeh <[email protected]> Co-authored-by: Nils Behlen <[email protected]> Co-authored-by: Oleksiy Tataryn <[email protected]> Co-authored-by: Patrick Ethier <[email protected]> Co-authored-by: Rajni Kant Sharma <[email protected]> Co-authored-by: Rostislav Kondratenko <[email protected]> Co-authored-by: SMan <[email protected]> Co-authored-by: Safin Wasi <[email protected]> Co-authored-by: Sam Morris <[email protected]> Co-authored-by: Stefan Andersson <[email protected]> Co-authored-by: Sync bot <[email protected]> Co-authored-by: Torstein Krause Johansen <[email protected]> Co-authored-by: Whispeak-io-VoiceBiometrics <[email protected]> Co-authored-by: William Lowe <[email protected]> Co-authored-by: Yuriy Movchan <[email protected]> Co-authored-by: Yuriy Zabrovarnyy <[email protected]> Co-authored-by: YuriyZ <[email protected]> Co-authored-by: al-com <[email protected]> Co-authored-by: aliaksander-samuseu <[email protected]> Co-authored-by: arvindsinghtomar <LS8@`sM> Co-authored-by: arvindsinghtomar <[email protected]> Co-authored-by: ayman abdelghany <[email protected]> Co-authored-by: christian-hawk <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: gasmyr <[email protected]> Co-authored-by: jschristie <[email protected]> Co-authored-by: livetocode <[email protected]> Co-authored-by: madumlao <[email protected]> Co-authored-by: maduvena <[email protected]> Co-authored-by: maduvena <[email protected]> Co-authored-by: michal kepkowski <[email protected]> Co-authored-by: miltonbo <[email protected]> Co-authored-by: mo-auto <[email protected]> Co-authored-by: musman2012 <[email protected]> Co-authored-by: mzico <[email protected]> Co-authored-by: naveenkumargopi <[email protected]> Co-authored-by: nynymike <[email protected]> Co-authored-by: ossdhaval <[email protected]> Co-authored-by: premeau <[email protected]> Co-authored-by: pujavs <[email protected]> Co-authored-by: qbert2k <[email protected]> Co-authored-by: rajnikant <[email protected]> Co-authored-by: rajnikant <[email protected]> Co-authored-by: rajnikantsh <[email protected]> Co-authored-by: sahiliamsso <[email protected]> Co-authored-by: shekhar16 <[email protected]> Co-authored-by: shekhar16 <[email protected]> Co-authored-by: shekhar16 <[email protected]> Co-authored-by: smogali <[email protected]> Co-authored-by: worm333 <[email protected]> Co-authored-by: yurem <[email protected]> Co-authored-by: yuriyz <yzabrovarniy> Co-authored-by: yuriyz <[email protected]> Signed-off-by: moabu <[email protected]>
- Loading branch information
Showing
1,607 changed files
with
338,405 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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,36 @@ | ||
# Please do not attempt to edit this file without the direct consent from the DevOps team. This file is managed centrally. | ||
# Contact @moabu | ||
|
||
# These owners will be the default owners for everything in this branch of | ||
# the repo. Unless a later match takes precedence | ||
/.github/ @moabu | ||
/community-edition-setup/ @devrimyatar @yuriyz @yurem @yuriyzz | ||
/oxAuth/ @yurem @yuriyz @yuriyzz | ||
|
||
/jans-keycloak-integration/ @uprightech | ||
/jans-keycloak-link/ @shekhar16 | ||
/docker-jans-*/ @moabu @iromli | ||
/automation/ @moabu @iromli | ||
/charts/ @moabu @iromli | ||
|
||
/jans-*/version.txt @moabu @mo-auto | ||
/jans-*/CHANGELOG.md @moabu @mo-auto | ||
/jans-pycloudlib/ @moabu | ||
/docker-jans-*/requirments.txt @iromli @mo-auto | ||
/jans-bom/ @yurem @yuriyz @yuriyzz | ||
/jans-core/ @yurem @yuriyz @yuriyzz | ||
/jans-orm/ @yurem @yuriyz | ||
/jans-auth-server/ @yurem @yuriyz @yuriyzz | ||
/jans-fido2/ @yurem @yackermann | ||
/jans-lock/ @yurem | ||
/jans-scim/ @jgomer2001 | ||
/jans-config-api/ @pujavs @yuriyz @yurem | ||
/jans-cli-tui/ @devrimyatar | ||
/jans-linux-setup/ @devrimyatar @yuriyz @yurem @yuriyzz | ||
/jans-linux-setup/jans_setup/setup_app/version.py @moabu @mo-auto | ||
/jans-linux-setup/static/scripts/admin_ui_plugin.py @devrimyatar @duttarnab | ||
/jans-cache-refresh/ @yurem @shekhar16 | ||
/jans-link/ @yurem @yuriyz | ||
/agama/ @jgomer2001 | ||
/jans-casa/ @jgomer2001 @maduvena | ||
/demos/jans-tarp/ @duttarnab |
This file contains 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,48 @@ | ||
--- | ||
name: Issue report | ||
about: Welcome at Gluu. Inc, please create an issue to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
!!!Note | ||
Unless you are Gluu staff, please first review and open an issue on https://support.gluu.org before opening an issue here. Thanks! | ||
|
||
|
||
## Describe the issue | ||
A clear and concise description of what the issue is. | ||
|
||
## Steps To Reproduce | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
## Expected behavior | ||
A clear and concise description of what you expected to happen. | ||
## Actual behavior | ||
A clear and concise description of what happen. | ||
|
||
## Screenshots | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
## Desktop (please complete the following information): | ||
- OS: [e.g. Ubuntu16.04LTS] | ||
- Gluu version(If applicable) | ||
- Casa version(If applicable) | ||
- SuperGluu version(If applicable) | ||
- Browser [e.g. chrome, safari] | ||
- Version [e.g. 22] | ||
|
||
## Smartphone (please complete the following information if applicable): | ||
If applicable | ||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Browser [e.g. stock browser, safari] | ||
- Version [e.g. 22] | ||
|
||
## Additional context | ||
Add any other context about the problem here. |
This file contains 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,164 @@ | ||
# Please do not attempt to edit this flow without the direct consent from the DevOps team. This file is managed centrally. | ||
# Contact @moabu | ||
name: Code quality check | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'community-edition-setup/**' | ||
- 'oxAuth/**' | ||
- '!**/CHANGELOG.md' | ||
- '!**.txt' | ||
|
||
pull_request: | ||
branches: | ||
- master | ||
- main | ||
- '!update-pycloud-in-**' | ||
types: | ||
- opened | ||
- synchronize | ||
paths: | ||
- 'community-edition-setup/**' | ||
- 'oxAuth/**' | ||
- '!**/CHANGELOG.md' | ||
- '!**.txt' | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
sonar-scan: | ||
name: sonar scan | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
module: [jans-keycloak-link, jans-keycloak-integration, jans-auth-server, agama, jans-config-api, jans-core, jans-linux-setup, jans-cli-tui, jans-fido2, jans-orm, jans-scim, jans-pycloudlib, jans-link, jans-casa, jans-lock] | ||
env: | ||
JVM_PROJECTS: | | ||
oxAuth | ||
jans-keycloak-link | ||
jans-link | ||
jans-auth-server | ||
jans-lock | ||
jans-orm | ||
jans-config-api | ||
jans-scim | ||
jans-core | ||
jans-fido2 | ||
jans-casa | ||
agama | ||
NON_JVM_PROJECTS: | | ||
community-edition-setup | ||
steps: | ||
- name: Harden Runner | ||
uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1 | ||
with: | ||
egress-policy: audit | ||
|
||
- name: check out code | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of sonarqube analysis | ||
|
||
- name: find changed directories | ||
run: | | ||
if [ $GITHUB_BASE_REF ]; then | ||
# Pull Request | ||
echo "Triggering event: pull request" | ||
echo Pull request base ref: $GITHUB_BASE_REF | ||
git fetch origin $GITHUB_BASE_REF --depth=1 | ||
if [ ${{ github.event.action }} = "opened" ]; then | ||
echo "Triggering action: opened" | ||
echo "CHANGED_DIR=$( git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | cut -d/ -f1 | sort -u | sed -z 's/\n/,/g;s/^/[/;s/,$/]/;s/$/\n/')" >> ${GITHUB_ENV} | ||
fi | ||
if [ ${{ github.event.action }} = "synchronize" ]; then | ||
echo "Triggering action: synchronize" | ||
echo "CHANGED_DIR=$( git diff --name-only ${{ github.event.before }} ${{ github.event.pull_request.head.sha }} | cut -d/ -f1 | sort -u | sed -z 's/\n/,/g;s/^/[/;s/,$/]/;s/$/\n/')" >>${GITHUB_ENV} | ||
fi | ||
else | ||
# Push | ||
echo "Triggerring event: push" | ||
git fetch origin ${{ github.event.before }} --depth=1 | ||
echo "CHANGED_DIR=$( git diff --name-only ${{ github.event.before }} $GITHUB_SHA | cut -d/ -f1 | sort -u | sed -z 's/\n/,/g;s/^/[/;s/,$/]/;s/$/\n/')" >> ${GITHUB_ENV} | ||
fi | ||
- name: check env | ||
run: | | ||
echo changed dir list: ${{ env.CHANGED_DIR }} | ||
echo Matrix module: ${{ matrix.module }} | ||
echo GH event action: ${{ github.event.action }} | ||
echo PR base sha: ${{ github.event.pull_request.base.sha }} | ||
echo PR head sha: ${{ github.event.pull_request.head.sha }} | ||
echo event before: ${{ github.event.before }} | ||
echo GH sha: $GITHUB_SHA | ||
- name: Set up JDK 17 | ||
if: contains(env.CHANGED_DIR, matrix.module) && contains(env.JVM_PROJECTS, matrix.module) | ||
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0 | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
|
||
- name: Cache SonarCloud packages for JVM based project | ||
if: contains(env.CHANGED_DIR, matrix.module) && contains(env.JVM_PROJECTS, matrix.module) | ||
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 | ||
with: | ||
path: ~/.sonar/cache | ||
key: ${{ runner.os }}-sonar | ||
restore-keys: ${{ runner.os }}-sonar | ||
|
||
- name: Build and analyze JVM based project | ||
if: contains(env.CHANGED_DIR, matrix.module) && contains(env.JVM_PROJECTS, matrix.module) | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
run: | | ||
cd ${{ matrix.module }} | ||
case ${{ matrix.module }} in | ||
"opendj4") | ||
echo "Build opendj-sdk first for gluu-opendj4" | ||
mvn -B -f opendj-sdk/pom.xml -DskipTests clean install | ||
;& | ||
"oxAuth") | ||
;& | ||
"oxTrust") | ||
;& | ||
"scim") | ||
;& | ||
"casa") | ||
;& | ||
"oxd") | ||
echo "Run Sonar analysis without test execution" | ||
mvn -B -DskipTests=true install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar | ||
;; | ||
*) | ||
echo "Run Sonar analysis with test execution" | ||
mvn -B install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar | ||
;; | ||
echo "Run Sonar analysis with test execution" | ||
mvn -B install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar | ||
;; | ||
esac | ||
- name: Convert repo org name to lowercase for non JVM projects | ||
if: contains(env.CHANGED_DIR, matrix.module) && contains(env.NON_JVM_PROJECTS, matrix.module) | ||
env: | ||
REPO_OWNER: ${{ github.repository_owner }} | ||
run: | | ||
echo "REPO_ORG=${REPO_OWNER,,}" >>${GITHUB_ENV} | ||
- name: SonarCloud Scan for non-JVM project | ||
if: contains(env.CHANGED_DIR, matrix.module) && contains(env.NON_JVM_PROJECTS, matrix.module) | ||
uses: SonarSource/sonarcloud-github-action@49e6cd3b187936a73b8280d59ffd9da69df63ec9 # master | ||
with: | ||
args: > | ||
-Dsonar.organization=${{ env.REPO_ORG }} | ||
-Dsonar.projectKey=${{ github.repository_owner }}_${{ matrix.module }} | ||
projectBaseDir: ${{ matrix.module }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |
This file contains 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,17 @@ | ||
# Eclipse project files | ||
.settings | ||
.project | ||
.classpath | ||
.pydevproject | ||
.tern-project | ||
.faces-config.xml.jsfdia | ||
|
||
# IntelliJ IDEA project files | ||
.idea | ||
*.iml | ||
|
||
# Maven | ||
target | ||
|
||
#Mac | ||
.DS_Store |
This file contains 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,46 @@ | ||
# Contributor Covenant Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. | ||
|
||
## Our Standards | ||
|
||
Examples of behavior that contributes to creating a positive environment include: | ||
|
||
* Using welcoming and inclusive language | ||
* Being respectful of differing viewpoints and experiences | ||
* Gracefully accepting constructive criticism | ||
* Focusing on what is best for the community | ||
* Showing empathy towards other community members | ||
|
||
Examples of unacceptable behavior by participants include: | ||
|
||
* The use of sexualized language or imagery and unwelcome sexual attention or advances | ||
* Trolling, insulting/derogatory comments, and personal or political attacks | ||
* Public or private harassment | ||
* Publishing others' private information, such as a physical or electronic address, without explicit permission | ||
* Other conduct which could reasonably be considered inappropriate in a professional setting | ||
|
||
## Our Responsibilities | ||
|
||
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. | ||
|
||
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. | ||
|
||
## Scope | ||
|
||
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. | ||
|
||
## Enforcement | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. | ||
|
||
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. | ||
|
||
## Attribution | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] | ||
|
||
[homepage]: http://contributor-covenant.org | ||
[version]: http://contributor-covenant.org/version/1/4/ |
This file contains 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,2 @@ | ||
/target/ | ||
test-output |
Oops, something went wrong.