Skip to content

Update configs.go #5108

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

Open
wants to merge 101 commits into
base: release-3.10.x
Choose a base branch
from
Open

Conversation

Elezabeth23
Copy link

Updated DBName as env variable with default name "auth"

Proposed changes

Summarize your changes here to communicate with the maintainers and make sure to put the link of that issue

Types of changes

What types of changes does your code introduce to Litmus? Put an x in the boxes that apply

  • New feature (non-breaking change which adds functionality)
  • Bugfix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices applies)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING doc
  • I have signed the commit for DCO to be passed.
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works (if appropriate)
  • I have added necessary documentation (if appropriate)

Dependency

  • Please add the links to the dependent PR need to be merged before this (if any).

Special notes for your reviewer:

ispeakc0de and others added 30 commits August 19, 2024 10:22
…os#4666)

* fix: Invalid version details in backend.

Signed-off-by: JanhaviAlekar <[email protected]>

* Checking CIVersion at start

Signed-off-by: JanhaviAlekar <[email protected]>

---------

Signed-off-by: JanhaviAlekar <[email protected]>
Co-authored-by: Vedant Shrotria <[email protected]>
Co-authored-by: Amit Kumar Das <[email protected]>
Co-authored-by: Namkyu Park <[email protected]>
Signed-off-by: andoriyaprashant <[email protected]>
Co-authored-by: Namkyu Park <[email protected]>
Bumps [github.com/99designs/gqlgen](https://github.com/99designs/gqlgen) from 0.17.47 to 0.17.49.
- [Release notes](https://github.com/99designs/gqlgen/releases)
- [Changelog](https://github.com/99designs/gqlgen/blob/master/CHANGELOG.md)
- [Commits](99designs/gqlgen@v0.17.47...v0.17.49)

---
updated-dependencies:
- dependency-name: github.com/99designs/gqlgen
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: JanhaviAlekar <[email protected]>
Co-authored-by: Namkyu Park <[email protected]>
Co-authored-by: Sahil <[email protected]>
…itmuschaos#4813)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.25.0 to 0.26.0.
- [Commits](golang/crypto@v0.25.0...v0.26.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.15.0 to 1.16.1.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](mongodb/mongo-go-driver@v1.15.0...v1.16.1)

---
updated-dependencies:
- dependency-name: go.mongodb.org/mongo-driver
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.15.1 to 1.16.1.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](mongodb/mongo-go-driver@v1.15.1...v1.16.1)

---
updated-dependencies:
- dependency-name: go.mongodb.org/mongo-driver
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Saranya Jena <[email protected]>
Signed-off-by: JanhaviAlekar <[email protected]>
Co-authored-by: Namkyu Park <[email protected]>
…os#4779)

* Adding environment filter in Infrastructure selection modal

Signed-off-by: JanhaviAlekar <[email protected]>

* setting initialAllInfrastructureLength as 0 initially

Signed-off-by: JanhaviAlekar <[email protected]>

* making InitialAllInfrastructureLength consistent

Signed-off-by: JanhaviAlekar <[email protected]>

* Scroll env list and Pagination(infra)

Signed-off-by: JanhaviAlekar <[email protected]>

* added preSelectedEnvironmentID

Signed-off-by: JanhaviAlekar <[email protected]>

* Minor changes in code

Signed-off-by: JanhaviAlekar <[email protected]>

* Refactored code

Signed-off-by: JanhaviAlekar <[email protected]>

* Changing height of infralist section

Signed-off-by: JanhaviAlekar <[email protected]>

* Minor improvements

Signed-off-by: JanhaviAlekar <[email protected]>

---------

Signed-off-by: JanhaviAlekar <[email protected]>
Co-authored-by: Sahil <[email protected]>
Co-authored-by: Saranya Jena <[email protected]>
Signed-off-by: 잉퓨 <[email protected]>
Co-authored-by: Namkyu Park <[email protected]>
Co-authored-by: Saranya Jena <[email protected]>
Co-authored-by: Vedant Shrotria <[email protected]>
Bumps [github.com/tidwall/gjson](https://github.com/tidwall/gjson) from 1.17.1 to 1.17.3.
- [Commits](tidwall/gjson@v1.17.1...v1.17.3)

---
updated-dependencies:
- dependency-name: github.com/tidwall/gjson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Saranya Jena <[email protected]>
* test: add fuzz test to GetChartsPath function in handler

Signed-off-by: Soyeon Park <[email protected]>

* test: add fuzz test to FuzzReadExperimentFile function in handler

* Removed the ./types.go example in unit test handler_test.go/TestReadExperimentFile because it returns a file does not exist error, not the file is not a yaml error that the test is intended to return.

Signed-off-by: Soyeon Park <[email protected]>

* * test: Add the FuzzReadExperimentYAMLFile test in the handler_fuzz_test.go file

Signed-off-by: Soyeon Park <[email protected]>

* test: add fuzz test to FuzzIsFileExisting function in handler

Signed-off-by: Soyeon Park <[email protected]>

* test: add fuzz test to FuzzGetExperimentData, FuzzUnzipRemoteHub function in handler

Signed-off-by: Soyeon Park <[email protected]>

* refactor: remove unused imported library

Signed-off-by: Soyeon Park <[email protected]>

* fix: check yaml: control characters are not allowed

Signed-off-by: Soyeon Park <[email protected]>

* refactor: save goimport order

Signed-off-by: Soyeon Park <[email protected]>

---------

Signed-off-by: Soyeon Park <[email protected]>
* add handler_fuzz_test file

Signed-off-by: weeeeestern <[email protected]>

* add service_fuzz_test file

Signed-off-by: weeeeestern <[email protected]>

* test: add fuzz test

Signed-off-by: weeeeestern <[email protected]>

* test: add fuzz_test

Signed-off-by: weeeeestern <[email protected]>

* test: modify fuzz-test

Signed-off-by: weeeeestern <[email protected]>

* test: modify fuzz-test

Signed-off-by: weeeeestern <[email protected]>

---------

Signed-off-by: weeeeestern <[email protected]>
Co-authored-by: Namkyu Park <[email protected]>
Co-authored-by: Saranya Jena <[email protected]>
…only a single namespace (litmuschaos#4680)

* Create a seperate function to get Namespace in subscriber

Signed-off-by: Calvin Audier <[email protected]>

* Update graphql server to include KubeNamespace call (model not generated)

Signed-off-by: Calvin Audier <[email protected]>

* Update graphqls to include KubeNamespace model
Update objectmodel and subscriber to incldue KubeNamespace

Signed-off-by: Calvin Audier <[email protected]>

* Fix issue in graphqls and adding KubeNamespace type.
Regenerating model with gqlgen.

Signed-off-by: Calvin Audier <[email protected]>

* Update model to includude missing field in KubeNamespaceData
Rename getKubeNamespace function that didn't match graphqls operation in Subscription
Add missing function for the graphql server to retrieve list of namespace

Signed-off-by: Calvin Audier <[email protected]>

* Add remaining function in k8s pkg and requests to return list of namespace

Signed-off-by: Calvin Audier <[email protected]>

* Update graphql/subscriber to transform KubeObject to not be a array since subscriber will only return one element.

Signed-off-by: Calvin Audier <[email protected]>

* Update web server to seperate call for KubeObject and KubeNamespace.

Signed-off-by: Calvin Audier <[email protected]>

* Fix import with goimports

Signed-off-by: Calvin Audier <[email protected]>

* Reverting upgrade of  webpack-dev-server so it's compatible with github workflow

Signed-off-by: Calvin Audier <[email protected]>

* Run gofmt with correct version.

Signed-off-by: Calvin Audier <[email protected]>

* Bumping ubi-minimal:8.8 to 8.10 to fix some HIGH CVE severity detected by trivy.

Signed-off-by: Calvin Audier <[email protected]>

* Updating chaos_infrastructure mock to include KubeNamespace.
Fix a comment

Signed-off-by: Calvin Audier <[email protected]>

* Fix issue from Codacy
Removing some unused code

Signed-off-by: Calvin Audier <[email protected]>

* Fix codacy issue:
- Add some trailing comma
- Trying transform subscription function to resolve "non-arrow functions are forbidden"
- Add null check

Signed-off-by: Calvin Audier <[email protected]>

* Continue fix Codacy issue
- Adding trailing comma
- Re-ordering by alphabetic order some parameters

Signed-off-by: Calvin Audier <[email protected]>

---------

Signed-off-by: Calvin Audier <[email protected]>
Signed-off-by: Calvinaud <[email protected]>
Co-authored-by: Namkyu Park <[email protected]>
Co-authored-by: Saranya Jena <[email protected]>
…on (litmuschaos#4852)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.65.0 to 1.66.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.65.0...v1.66.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raj Das <[email protected]>
…rontend (litmuschaos#4843)

* added dropdown in add chaoshub modal(AddHubModalWizard)

Signed-off-by: JanhaviAlekar <[email protected]>

* added svg for list chaoshub in chaoshub page(ChaosHubs.tsx)

Signed-off-by: JanhaviAlekar <[email protected]>

* added dropdown list in edit chaoshub modal(EditHubModalWizard.tsx)

Signed-off-by: JanhaviAlekar <[email protected]>

* made remoteHub as required field

Signed-off-by: JanhaviAlekar <[email protected]>

---------

Signed-off-by: JanhaviAlekar <[email protected]>
* initialise upgrade-agent

Signed-off-by: Kartikay <[email protected]>

* dockerfile revert

Signed-off-by: Kartikay <[email protected]>

* go.mod

Signed-off-by: Kartikay <[email protected]>

* litmus-portal to chaoscenter

Signed-off-by: Kartikay <[email protected]>

* dummy versions and log

Signed-off-by: Kartikay <[email protected]>

* CONTRIBUTING.md init

Signed-off-by: Kartikay <[email protected]>

* added checks while upgrading

Signed-off-by: Kartikay <[email protected]>

* transactions

Signed-off-by: Kartikay <[email protected]>

* transaction implemented in v3.4.0

Signed-off-by: Kartikay <[email protected]>

* added upgrades for version 3.9.0

Signed-off-by: Kartikay <[email protected]>

* nit: gofmt

Signed-off-by: Kartikay <[email protected]>

* Template for upgrades

Signed-off-by: Kartikay <[email protected]>

* refactoring and dumping dummy versions

Signed-off-by: Kartikay <[email protected]>

* gofmt

Signed-off-by: Kartikay <[email protected]>

* best practices

Signed-off-by: Kartikay <[email protected]>

* removed commented code

Signed-off-by: Kartikay <[email protected]>

* added flowchart

Signed-off-by: Kartikay <[email protected]>

* removed dummy version from map

Signed-off-by: Kartikay <[email protected]>

* refactor: better logs and comments

Signed-off-by: Kartikay <[email protected]>

---------

Signed-off-by: Kartikay <[email protected]>
Signed-off-by: Kartikay <[email protected]>
Signed-off-by: Kartikay <[email protected]>
Co-authored-by: Saranya Jena <[email protected]>
Co-authored-by: Kartikay <[email protected]>
Signed-off-by: Vedant Shrotria <[email protected]>
…on (litmuschaos#4877)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.66.0 to 1.66.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.66.0...v1.66.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…itmuschaos#4875)

Bumps [express](https://github.com/expressjs/express) from 4.18.3 to 4.20.0.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.18.3...4.20.0)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot bot and others added 29 commits December 20, 2024 11:56
…muschaos#4992)

Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](ai/nanoid@3.3.7...3.3.8)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…litmuschaos#4957)

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Björn Kylberg <[email protected]>
Co-authored-by: Saranya Jena <[email protected]>
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.23.0 to 0.31.0.
- [Commits](golang/crypto@v0.23.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#5002)

* updated go mod in auth and gql

Signed-off-by: Saranya-jena <[email protected]>

* updated go mod in auth and gql

Signed-off-by: Saranya-jena <[email protected]>

---------

Signed-off-by: Saranya-jena <[email protected]>
* refactor: update codes in backend server

Signed-off-by: Jemin <[email protected]>

* refactor: add space

Signed-off-by: Jemin <[email protected]>

* refactor: add space

Signed-off-by: Jemin <[email protected]>

---------

Signed-off-by: Jemin <[email protected]>
Co-authored-by: Namkyu Park <[email protected]>
Co-authored-by: Amit Kumar Das <[email protected]>
Co-authored-by: Saranya Jena <[email protected]>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.25.0 to 0.36.0.
- [Commits](golang/net@v0.25.0...v0.36.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sayan Mondal <[email protected]>
…os#5053)

Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/yahoo/serialize-javascript/releases)
- [Commits](yahoo/serialize-javascript@v6.0.0...v6.0.2)

---
updated-dependencies:
- dependency-name: serialize-javascript
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* docs: add python-sdk.md(litmuschaos#5004)

Signed-off-by: 잉퓨 <[email protected]>

* docs: modify creation date (litmuschaos#5004)

Signed-off-by: 잉퓨 <[email protected]>

---------

Signed-off-by: 잉퓨 <[email protected]>
…tmuschaos#5012)

* fix: update swagger details

Signed-off-by: namkyu1999 <[email protected]>

* feat: add authentication api document

Signed-off-by: namkyu1999 <[email protected]>

* feat: add auth api documentation using redoc

Signed-off-by: namkyu1999 <[email protected]>

* remove auto generated files

Signed-off-by: namkyu1999 <[email protected]>

* fix: update response objects

Signed-off-by: namkyu1999 <[email protected]>

* chore: add new docs

Signed-off-by: namkyu1999 <[email protected]>

* chore: passed tests

Signed-off-by: namkyu1999 <[email protected]>

---------

Signed-off-by: namkyu1999 <[email protected]>
* update date filter to pass ints to graphql

Signed-off-by: Priya Bibra <[email protected]>

* revert go mod

Signed-off-by: Priya Bibra <[email protected]>

* sign

Signed-off-by: Priya Bibra <[email protected]>

* gofmt

Signed-off-by: Priya Bibra <[email protected]>

* revert go ver

Signed-off-by: Priya Bibra <[email protected]>

---------

Signed-off-by: Priya Bibra <[email protected]>
Co-authored-by: Priya Bibra <[email protected]>
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.16.7 to 7.27.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.27.0/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Meet Soni <[email protected]>
Co-authored-by: Namkyu Park <[email protected]>
* chore: Adding Litmus install manifest for 3.17.0

Signed-off-by: Sayan Mondal <[email protected]>

* chore: Renaming folder

Signed-off-by: Sayan Mondal <[email protected]>

---------

Signed-off-by: Sayan Mondal <[email protected]>
Updated DBName as env variable with default name "auth"

Signed-off-by: Elezabeth23 <[email protected]>
@Elezabeth23 Elezabeth23 changed the base branch from master to release-3.10.x April 29, 2025 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.