Skip to content

Commit

Permalink
feat(payment-service): adds payment-service feature (#257)
Browse files Browse the repository at this point in the history
* feat(payment-service): adds payment-service feature

* feat(payment-service): Add Migartion Script in Payment Service

* feat(payment-service): adds refund functionality in payment-service

* refactor(payment-service): refractor code to fix sonar issues

* refactor(payment-service): refractor code to fix sonar smells

* refactor(payment-service): fix sonar smells and add gateway conroller,repo,model in export

* refactor(payment-service): fix migration script installation error

* refactor(payment-service): replace console statement with sourceloop logger

* refactor(payment-service): fix sonar smell in razorpay provider

* refactor(payment-service): fix leran bootstrap error

* refactor(payment-service): Resolved Review Comments with improvements

* refactor(payment-service): update package.json and migration with sonar fixes

* refactor(payment-service): payment-service name update with sourceloop

* refactor(payment-service): refractor package.json and modify readmd

* refactor(payment-service): reabase and sonar fixes with minor doc update

* refactor(payment-service): fix lerna bootstrap error

* refactor(payment-service): fix lerna lint error in payment-service

* refactor(payment-service): update package-lock.json in payment-service to fix version issue

* refactor(payment-service): modify package-lock.json in payment-service

* refactor(payment-service): lerna test fix for version issue

Co-authored-by: akshatdubeysf <77672713+akshatdubeysf@users.noreply.github.com>
  • Loading branch information
sumit-tuteja and akshatdubeysf authored Sep 3, 2021
1 parent 6e650aa commit e571834
Show file tree
Hide file tree
Showing 77 changed files with 12,761 additions and 19,078 deletions.
16,155 changes: 2,566 additions & 13,589 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@
"path": "cz-format-extension"
}
},
"dependencies": {}
"dependencies": {
"handlebars": "^4.7.7"
}
}
63 changes: 4 additions & 59 deletions packages/custom-sf-changelog/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

111 changes: 8 additions & 103 deletions services/audit-service/openapi.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: Audit Service v1.0.0
language_tabs:
- javascript: JavaScript
- javascript--nodejs: Node.JS
- "'javascript": JavaScript
- "'javascript--nodejs": Node.JS'
language_clients:
- javascript: request
- javascript--nodejs: ""
- "'javascript": request'
- "'javascript--nodejs": ""
toc_footers: []
includes: []
search: false
Expand Down Expand Up @@ -38,28 +38,7 @@ Base URLs:

> Code samples
```javascript

const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};

fetch('/audit-logs/count',
{
method: 'GET',

headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

```

```javascript--nodejs
```'javascript--nodejs
const fetch = require('node-fetch');
const headers = {
Expand Down Expand Up @@ -116,28 +95,7 @@ HTTPBearer

> Code samples
```javascript

const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};

fetch('/audit-logs/{id}',
{
method: 'GET',

headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

```

```javascript--nodejs
```'javascript--nodejs
const fetch = require('node-fetch');
const headers = {
Expand Down Expand Up @@ -204,39 +162,7 @@ HTTPBearer

> Code samples
```javascript
const inputBody = '{
"action": "string",
"actedAt": "2019-08-24T14:15:22Z",
"actedOn": "string",
"actionKey": "string",
"entityId": "string",
"actor": "string",
"before": {},
"after": {},
"actionGroup": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};

fetch('/audit-logs',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

```

```javascript--nodejs
```'javascript--nodejs
const fetch = require('node-fetch');
const inputBody = {
"action": "string",
Expand Down Expand Up @@ -329,28 +255,7 @@ HTTPBearer

> Code samples
```javascript

const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};

fetch('/audit-logs',
{
method: 'GET',

headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

```

```javascript--nodejs
```'javascript--nodejs
const fetch = require('node-fetch');
const headers = {
Expand Down
Loading

0 comments on commit e571834

Please sign in to comment.