Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Added Atlassian : Jira App (Written by Vivek Lahole) #36

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 9 additions & 23 deletions packages/apps/confluence/README.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,27 @@
# Brightpearl
# Confluence

Intergrate with an Organisations Notion.
Intergrate Ocular with Confluence.

## Features

-

---
- Get Confluence spaces and pages into Ocular.

## How to Install

1\. In `core-config.js` add the following at the end of the `plugins` array:
1\. In `ocular/core-config.js` add the following at the end of the `apps` array:

```js
const apps = [
// ...
{
resolve: `Confluence`,
resolve: `confluence`,
options: {
...
client_id: process.env.CONFLUENCE_CLIENT_ID,
client_secret: process.env.CONFLUENCE_CLIENT_SECRET,
redirect_uri: `${UI_CORS}/dashboard/marketplace/confluence`,
},
},
]
```

---

## Test the Plugin

1\. Run the following command in the directory of the Medusa backend to run the backend:

```bash
npm run start
];
```

2\. xxxxx

---

## Additional Information
13 changes: 13 additions & 0 deletions packages/apps/jira/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-instanceof",
"@babel/plugin-transform-classes"
],
"presets": ["@babel/preset-env"],
"env": {
"test": {
"plugins": ["@babel/plugin-transform-runtime"]
}
}
}
9 changes: 9 additions & 0 deletions packages/apps/jira/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/lib
node_modules
.DS_store
.env*
/*.js
!index.js
yarn.lock

/dist
8 changes: 8 additions & 0 deletions packages/apps/jira/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.DS_store
src
dist
yarn.lock
.babelrc

.turbo
.yarn
27 changes: 27 additions & 0 deletions packages/apps/jira/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Jira

Intergrate Ocular with Jira.

## Features

- Get Jira Projects and Issues into Ocular.

## How to Install

1\. In `ocular/core-config.js` add the following at the end of the `apps` array:

```js
const apps = [
// ...
{
resolve: `jira`,
options: {
client_id: process.env.JIRA_CLIENT_ID,
client_secret: process.env.JIRA_CLIENT_SECRET,
redirect_uri: `${UI_CORS}/dashboard/marketplace/jira`,
},
},
];
```

---
20 changes: 20 additions & 0 deletions packages/apps/jira/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "jira",
"version": "0.0.0",
"description": "Jira Application for Ocular",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Vivek Lahole",
"scripts": {
"prepare": "cross-env NODE_ENV=production npm run build",
"test": "jest --passWithNoTests src",
"build": "tsc",
"watch": "tsc --watch"
},
"devDependencies": {
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.1",
"@babel/preset-env": "^7.24.1",
"@babel/preset-react": "^7.23.3"
}
}
Loading