-
Notifications
You must be signed in to change notification settings - Fork 528
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP: JIRA Integration * WIP: JIRA Integration * Updated Jira Integration * Removed Unused Code * fix: Deepscan issues * Updated Jira config file --------- Co-authored-by: Ruslan K <[email protected]>
- Loading branch information
1 parent
a9c84e3
commit 5d01e40
Showing
15 changed files
with
1,623 additions
and
121 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,11 @@ | ||
/** | ||
* Configuration options for Jira integration. | ||
*/ | ||
export interface IJiraIntegrationConfig { | ||
readonly appName: string; | ||
readonly appDescription: string; | ||
readonly appKey: string; | ||
readonly baseUrl: string; | ||
readonly vendorName: string; | ||
readonly vendorUrl: string; | ||
} |
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
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
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 @@ | ||
import { registerAs } from '@nestjs/config'; | ||
import { IJiraIntegrationConfig } from '@gauzy/common'; | ||
|
||
/** | ||
* Register Jira configuration using @nestjs/config | ||
*/ | ||
export default registerAs( | ||
'jira', | ||
(): IJiraIntegrationConfig => ({ | ||
appName: process.env.GAUZY_JIRA_APP_NAME, | ||
appDescription: process.env.GAUZY_JIRA_APP_DESCRIPTION, | ||
appKey: process.env.GAUZY_JIRA_APP_KEY, | ||
baseUrl: process.env.GAUZY_JIRA_APP_BASE_URL, | ||
vendorName: process.env.GAUZY_JIRA_APP_BASE_VENDOR_NAME, | ||
vendorUrl: process.env.GAUZY_JIRA_APP_BASE_VENDOR_URL | ||
}) | ||
); |
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
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
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
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
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
Oops, something went wrong.