Skip to content

Commit

Permalink
refactor: API refactor in user, organization, auth and agent module (#82
Browse files Browse the repository at this point in the history
)

* docs: add CONTRIBUTING guidelines

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* docs: add company name in LICESE file

Signed-off-by: Ajay Jadhav <jadhavajay@gmail.com>
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* merge dev branch to main (#77)

* fix: Changed the passkey approch

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* feat/fix: Implemented Add passkey for existing users

Signed-off-by: tipusinghaw <tipu.singh@ayanworks.com>

* feat:implemented add passke

Signed-off-by: tipusinghaw <tipu.singh@ayanworks.com>

* fix: login error message

Signed-off-by: tipusinghaw <tipu.singh@ayanworks.com>

---------

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
Signed-off-by: tipusinghaw <tipu.singh@ayanworks.com>
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* worked on the master table json file and .env sample refractoring

Signed-off-by: @nishad.shirsat <nishad.shirsat@ayanworks.com>
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Included credebl-master-table json file in the .gitignore

Signed-off-by: @nishad.shirsat <nishad.shirsat@ayanworks.com>
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* fix: API refactor in user, organization, auth and agent module

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* fix: Changed the passkey approch

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* feat/fix: Implemented Add passkey for existing users

Signed-off-by: tipusinghaw <tipu.singh@ayanworks.com>
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* feat:implemented add passke

Signed-off-by: tipusinghaw <tipu.singh@ayanworks.com>
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* fix: login error message

Signed-off-by: tipusinghaw <tipu.singh@ayanworks.com>
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Set Validation for the user login

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Removed unnecessarily conditions in user dto

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* added the role matrix in the organization, user and agent module

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Added the error handling in the API-gateway

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Added role guard in user and organization

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Error handling in the user signin functionality

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Function name changes in the singin functionality

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Added activity log success in user

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Solved the bug regarding in organization update functionality

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* added role guard in user invitation

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Error handling on api-gateway dto

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Added veriable for the seed in agent-service

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

* Added veriable for the seed on globaly in agent-service

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>

---------

Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
Signed-off-by: Ajay Jadhav <jadhavajay@gmail.com>
Signed-off-by: tipusinghaw <tipu.singh@ayanworks.com>
Signed-off-by: @nishad.shirsat <nishad.shirsat@ayanworks.com>
Co-authored-by: Ajay Jadhav <ajay@ayanworks.com>
Co-authored-by: Ajay Jadhav <jadhavajay@gmail.com>
Co-authored-by: Nishad Shirsat <103021375+nishad-ayanworks@users.noreply.github.com>
Co-authored-by: @nishad.shirsat <nishad.shirsat@ayanworks.com>
Co-authored-by: tipusinghaw <tipu.singh@ayanworks.com>
Signed-off-by: tipusinghaw <tipu.singh@ayanworks.com>
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
  • Loading branch information
6 people authored and KulkarniShashank committed Sep 11, 2024
1 parent 702b08d commit a4cbc3f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
11 changes: 0 additions & 11 deletions apps/agent-service/src/agent-service.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -889,16 +889,5 @@ export class AgentServiceService {
}
}

async getProofFormData(url: string, apiKey: string): Promise<object> {
try {
const getProofFormData = await this.commonService
.httpGet(url, { headers: { 'x-api-key': apiKey } })
.then(async response => response);
return getProofFormData;
} catch (error) {
this.logger.error(`Error in get proof form data in agent service : ${JSON.stringify(error)}`);
throw new RpcException(error);
}
}
}

2 changes: 1 addition & 1 deletion apps/organization/repositories/organization.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,4 +433,4 @@ export class OrganizationRepository {
throw new InternalServerErrorException(error);
}
}
}
}

0 comments on commit a4cbc3f

Please sign in to comment.