Commit Graph

19 Commits

Author SHA1 Message Date
Namkyu Park e9db75b884
Update: documentation for the Chaoscenter Authentication REST API (#5012)
* fix: update swagger details

Signed-off-by: namkyu1999 <lak9348@gmail.com>

* feat: add authentication api document

Signed-off-by: namkyu1999 <lak9348@gmail.com>

* feat: add auth api documentation using redoc

Signed-off-by: namkyu1999 <lak9348@gmail.com>

* remove auto generated files

Signed-off-by: namkyu1999 <lak9348@gmail.com>

* fix: update response objects

Signed-off-by: namkyu1999 <lak9348@gmail.com>

* chore: add new docs

Signed-off-by: namkyu1999 <lak9348@gmail.com>

* chore: passed tests

Signed-off-by: namkyu1999 <lak9348@gmail.com>

---------

Signed-off-by: namkyu1999 <lak9348@gmail.com>
2025-03-28 10:26:13 +05:30
Suyeon Jung 21054692c5
fix: Correct swagger.json file versions (#4838)
Signed-off-by: Suyeon Jung <suyeonjungdev@gmail.com>
2024-08-23 12:27:26 +05:30
Aryan Bhokare 9d09211678
Feat: Added support for multiple project owners (#4597)
* Modified db schema of Owner.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added new API GetProjectOwners.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* fix: return type error.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* chore(deps): Bump golang.org/x/crypto in /chaoscenter/authentication (#4527)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.18.0 to 0.21.0.
- [Commits](https://github.com/golang/crypto/compare/v0.18.0...v0.21.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): Bump follow-redirects in /chaoscenter/web (#4529)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): Bump github.com/golang/protobuf (#4493)

Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](https://github.com/golang/protobuf/compare/v1.5.3...v1.5.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raj Das <mail.rajdas@gmail.com>

* Modified SendInvitation API.

This modification unables to send invite with the role as owner.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Modified LeaveProject API.

This modification checks if the User is the last owner of the project and if not User can leave the project.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* RBAC modification `LeaveProject`.

Allows Owner to be able to leave the project.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added `UpdateMemberRole` API.

This API is used for updating role of the member in the project.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Fixed some syntax errors.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Updated roles for owner.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added new API `DeleteProject`.
Owner can delete project with help of this API.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added mocks.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* modified go.sum

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added condition `UpdateMemberRole`.

User cannot change role of their own, so that it will avoid edge cases like
1. User is the last owner of the project.
2. User accidentally losing owner access to the projects.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* made suggested changes.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Changed DeleteProject endpoint to have url parameter.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Minor fixes.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* [WIP] : Multiple project owner backend. (#4536)

* Modified db schema of Owner.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added new API GetProjectOwners.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* fix: return type error.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* chore(deps): Bump golang.org/x/crypto in /chaoscenter/authentication (#4527)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.18.0 to 0.21.0.
- [Commits](https://github.com/golang/crypto/compare/v0.18.0...v0.21.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): Bump follow-redirects in /chaoscenter/web (#4529)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): Bump github.com/golang/protobuf (#4493)

Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](https://github.com/golang/protobuf/compare/v1.5.3...v1.5.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raj Das <mail.rajdas@gmail.com>

* Modified SendInvitation API.

This modification unables to send invite with the role as owner.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Modified LeaveProject API.

This modification checks if the User is the last owner of the project and if not User can leave the project.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* RBAC modification `LeaveProject`.

Allows Owner to be able to leave the project.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added `UpdateMemberRole` API.

This API is used for updating role of the member in the project.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Fixed some syntax errors.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Updated roles for owner.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added new API `DeleteProject`.
Owner can delete project with help of this API.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added mocks.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* modified go.sum

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added condition `UpdateMemberRole`.

User cannot change role of their own, so that it will avoid edge cases like
1. User is the last owner of the project.
2. User accidentally losing owner access to the projects.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* made suggested changes.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Changed DeleteProject endpoint to have url parameter.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Minor fixes.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

---------

Signed-off-by: aryan <aryan1bhokare@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Aryan Bhokare <92683836+aryan-bhokare@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raj Das <mail.rajdas@gmail.com>

* Added new route .

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added `CreateProject` modal.

Added a modal CreateProject with it's controller and views.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Some changes in `CreateProjectView`.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added `ProjectDashboardCardMenu`.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added `ProjectDashboardCard`.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added `DeleteProject` API mutations.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added `ProjectDashboard`.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added image and strings.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Modified `project entities`.

Added new fields in `Project` struct.
Added fields for filters, pagination, and some constants.
Modified `CreateProjectInput`.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* [Backend] Modification in Backend for the UI.

Added Filters and pagination in Backend.
Modified API's and added a pipeline for the aggregation of results.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added `project_util` for validation of input request.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Indent Fixes

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Modification for Frontend Hook of `CreateProject` API.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Modified `ListProject` Query frontend hook.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Removed string constants and some minor changes.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added Project Filters.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added pagination and filter subheader in Dashboard.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* modified auth-api swagger file.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added tags section in create-project modal.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Changes due to modification of API and addition of new strings

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* minor changes and resolved some errors.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added routing when clicked on the card.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Modifications in backend tests as per API updates.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Fix: NoProjects Element and NoFilteredProject Results element.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Added scroll for the project list.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Some changes in UI w.r.t Multiple Project Owner Feature.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Made search text type insensitive.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Update chaoscenter/web/src/controllers/ProjectDashboard/ProjectFilters.tsx

Co-authored-by: Hrishav <hrishav.kumar@harness.io>
Signed-off-by: Aryan Bhokare <92683836+aryan-bhokare@users.noreply.github.com>

* requested changes.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* removed unnecessary handle function

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* requested backend changes and small fixes

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Changed folder structure.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* requested changes.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* fixed import orders

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* fixing RoleEditor to RoleExecuter

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* removed redundant deleteprojectinput

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* fixed bug caused in merging

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* fixed bug caused in merging

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* removed duplicate struct

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Fix: frontend chaoshub test

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* fix: tag rendering issue in project dashboard

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* fix: Less user details in createProject

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* fix: import orders

Signed-off-by: aryan <aryan1bhokare@gmail.com>

---------

Signed-off-by: aryan <aryan1bhokare@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Aryan Bhokare <92683836+aryan-bhokare@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raj Das <mail.rajdas@gmail.com>
Co-authored-by: Hrishav <hrishav.kumar@harness.io>
Co-authored-by: Saranya Jena <saranya.jena@harness.io>
2024-07-22 14:14:28 +05:30
Hrishav 7503f0d628
feat: Updated login and update password APIs (#4751)
* fix: Added error response in createUser API

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

* fix: added project ID to update password mutation

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

* fix: fixed failing UTs

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

---------

Signed-off-by: Hrishav <hrishav.kumar@harness.io>
2024-07-09 10:14:03 +05:30
Hrishav fb46bb9334
feat: Added password reset as a route to manage initial login case (#4744)
* feat: Added password reset as a route to manage initial login case

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

* feat: Fixed deepspan issue

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

* fix: Updated API response in front-end

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

* chore: addressed review comment

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

---------

Signed-off-by: Hrishav <hrishav.kumar@harness.io>
2024-07-05 12:37:36 +05:30
Aryan Bhokare 9efc00c2a3
Executor role implementation. (#4737)
* Refactor editor to executer in Authentication service.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Refactor editor to executer in GraphQl servers.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Changing executor roles.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Updation in frontend hooks corresponding to backend refactor.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Executer role implementation.

Converted editor roles to executer role in frontend files. And Changed rbacs of the new Executer role.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* modification of api specs for executor

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* removed executor role from userInfraRegistration and fixed import orders.

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* refactor executer to executor

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* Removing exector permission from launch experiment FE

Signed-off-by: aryan <aryan1bhokare@gmail.com>

* minor fix

Signed-off-by: aryan <aryan1bhokare@gmail.com>

---------

Signed-off-by: aryan <aryan1bhokare@gmail.com>
Co-authored-by: Namkyu Park <53862866+namkyu1999@users.noreply.github.com>
2024-07-02 09:56:16 +05:30
Hrishav 16ea8cb728
feat: Added reset password as a mandatory step if new user logs in (#4729)
* feat: Added reset password for new user first login

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

* feat: Resolved few Codacy failing checks

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

---------

Signed-off-by: Hrishav <hrishav.kumar@harness.io>
2024-06-26 09:46:19 +05:30
Vedant Shrotria d1c63b8454
Added gitleaks in PR-Checks (#4649)
* Added gitleaks in PR-Check

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added gitleaks in PR-Check

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added gitleaks in PR-Check

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added gitleaks in PR-Check

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

* Added gitleaks in PR-Check

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>

---------

Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>
2024-05-16 14:29:00 +05:30
smit thakkar cea879c320
Show `Login with SSO` button when Dex is enabled (#4538)
* feat: expose dex login enabled through capabilities route

Signed-off-by: smit thakkar <smit.thakkar@deliveryhero.com>

* chore: generate docs

Signed-off-by: smit thakkar <smit.thakkar@deliveryhero.com>

* chore: generate client functions for capabilities

Signed-off-by: smit thakkar <smit.thakkar@deliveryhero.com>

* feat: show login with sso button when dex is enabled

Signed-off-by: smit thakkar <smit.thakkar@deliveryhero.com>

* style: fix codacy errors

Signed-off-by: smit thakkar <smit.thakkar@deliveryhero.com>

* chore: go mod tidy

Signed-off-by: smit thakkar <smit.thakkar@deliveryhero.com>

---------

Signed-off-by: smit thakkar <smit.thakkar@deliveryhero.com>
Co-authored-by: Saranya Jena <saranya.jena@harness.io>
2024-04-08 17:45:48 +05:30
Namkyu Park 57748d7e93
[ChaosCenter]: Implement api token CRUD logic & frontend view (#4138)
* fix: support Bearer in api-server

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: chore

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* feat: implement api-token crud api

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* feat: add auth apis to swagger

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* feat: implement api-token frontend logics

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: fix SettingsWrapper

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: minor

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: pass deepscan

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: chore

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: use const values

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: delete validating whether the user deactivated or not in handler function

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

---------

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>
2023-09-06 20:51:40 +05:30
Namkyu Park 2d64b25983
[ChaosCenter]: Revoke the token when the user logout (#4085)
* feat: add logout logic

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* feat: add logout api to frontend

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: rename collection

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* feat: add IsRevokedToken logic to graphql-server

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: fix testcases

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: fix minor bugs

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* feat: add logout logic to chaoscenter/auth

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* feat: add logout logic to chaoscenter/web

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* feat: add logout logic to chaoscenter/graphql

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: fix minor bugs

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: fix auth logic

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* feat: update swagger

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: add mutation api

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: rename field

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: minor

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

---------

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>
2023-08-14 11:08:43 +05:30
Saranya Jena 8e1b6020f2
Added user level RBACs, updated swagger json (#4118)
* Added user level RBACs in auth APIs

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

* Updated required parameters in api responses in swagger

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

* minor change in swagger

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

* minor change in swagger

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

* minor change in swagger

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

---------

Signed-off-by: Saranya-jena <saranya.jena@harness.io>
Co-authored-by: Hrishav <hrishav.kumar@harness.io>
2023-08-11 12:27:27 +05:30
Hrishav aa8e9a3a7c
feat: Added account setting screens (#4119)
* feat: Done with new routing setup for account screens and started with account screen implementations

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

* feat: Added support for React-Query and automatic API generation using swagger file

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

* chore: Updated createAt swagger issue

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

* chore: Updated invitation_state

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

* chore: Updated invitation_state again

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

* feat: Added swagger API generation and several account setting screens

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

* feat: Added user interaction modals in settings overview

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

* feat: Added new automatic API generations and account setting screens

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

* chore: updated testUtils

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

* chore: updated testUtils and fixed errors

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

* chore: Fixed review comments

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

* chore: updated user search function

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

* chore: fixed request comments

Signed-off-by: Hrishav <hrishav.kumar@harness.io>

---------

Signed-off-by: Hrishav <hrishav.kumar@harness.io>
2023-08-10 17:32:38 +05:30
Saranya Jena 51e115d596
Updated list_invitations API to make it generic (#4112)
* updated swagger

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

* updated swagger

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

* updated list invitations to make it generic

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

* updated filter casing

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

---------

Signed-off-by: Saranya-jena <saranya.jena@harness.io>
2023-08-03 11:27:57 +05:30
Saranya Jena b451634c9a
Added list invitation api and changed getowner projects response schema (#4111)
* Added list invitation api and changed getowner projects response schema

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

* Added cursor.all and fixed mongo query

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

* updated swagger file

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

* added json fields

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

* minor casing change in swagger

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

---------

Signed-off-by: Saranya-jena <saranya.jena@harness.io>
2023-08-02 17:08:15 +05:30
Saranya Jena 28f9079f4a
Added swagger.json file for auth APIs (#4103)
* Added swagger.json file for auth APIs

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

* updated api fielda from snake case to camel case

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

* test commit to check if required field is working

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

* updated required fields correctly

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

---------

Signed-off-by: Saranya-jena <saranya.jena@harness.io>
2023-07-28 11:18:18 +05:30
Saranya Jena 5396173c64
Updated api docs with optional fields (#3483)
* Updated api docs with updated fields

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* added documentation for query parameters

Signed-off-by: Saranya-jena <saranya@chaosnative.com>
2022-03-30 12:40:46 +05:30
Sarthak Jain c378bb5579
Updated Auth API documentation (#3414)
* Updated Auth APIs

Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>

* Updated GQL APIs

Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>
2022-01-03 13:51:15 +05:30
Shubham Chaudhary e621cdef8a
feat(docs): Update all the links to upstream, move all the docs to the mkdocs directory (#3119)
* feat(docs): update all the links with upstream

Signed-off-by: shubham chaudhary <shubham@chaosnative.com>
2021-08-12 01:48:45 +05:30