Skip to content

Commit

Permalink
chore: sync pisp branch with master (#61)
Browse files Browse the repository at this point in the history
* Poc/validation for names places accents (#37)

* initial version

* fixes for schema object, still cant get error handling to work correctly as well as tags

* initial commit for transaction request service with the updated validation library using openapi-backend

* updated to use central-services-shared

* updates to new libraries for error handling and central-services-shared

* updated dependencies and audit issues

* updated tests to support Openapi Backend
Using default functions for Openapi Backend validationFail, notFound and methodNotAllowed
Fix for metrics not working

* standardising request object as req updated dependencies and added audit for production only and not devDependencies

* request naming standards

* removed comment

* Requested changes as per @mdebarros
updated dependencies

* missing regex for accents for name

* Fixes for python version CircleCi (#42)

python version upgrade
updated dependencies and audit issues

* fix: make accept header required only for GET /authorizations/{id} (#49)

* fix: make accept header required only for GET /authorizations/{id} operation

* chore: audit:resolve

* chore: bump version

* Update FSPIOP API version, dependencies, and package version (#52)

* updated shared lib to support configurable resource api versions (#53)

* added old joi to support hapi-swagger plugin

* cleared unused dependencies

Co-authored-by: Valentin <valentin.genev@modusbox.com>

* updated shared lib version (#54)

Co-authored-by: Valentin <valentin.genev@modusbox.com>

* updated dependencies for helm release (#55)

* #1876: Replace wildcard routes with explicit routes (#56)

* Replace wildcard routes with explicit routes

* Add uni tests for routes file

* #1887-PUTauthorizationstransactionIdisnotvalidatingFSPIOPHeaders (#57)

### Hotfix:
- Fixes to  OpenAPI v3 specification document:
    - Changed all params to references
    - Updated all schemas to references
    - Added missing params
    - Fixed quotation characters, i.e. `”` -> `"`
    - Resolved bug mojaloop/project#1887

### Maintenance:
- Removed Swagger v2 interface specification, re-moved Swagger tools that only support Swagger v2. The code is now fully dependent on the OpenAPI v3 Spec document. I.e. only one spec doc \:D/
- Refactored existing code/unit-tests to work with OpenAPI v3 API specifications
- Added OpenAPI v3 request generator as helper util
- Cleaned-up unused dependencies in code
- Cleaned-up unused dependencies/scripts in package.json
- Updated dependencies to latest versions

* chore: update license file (#58)

* chore: migrate mock and openapi to work with latest

* chore: upgrade packages and fix vulnerablilities

* chore: fix packages

* chore: fix tests

* chore: update openapi and mockgen

* chore: fix merge mishaps

* chore: edit require statements

* refactor: change routes handler

* chore: change logic

Co-authored-by: Rajiv Mothilal <rajivmothilal@gmail.com>
Co-authored-by: eoln <2881004+eoln@users.noreply.github.com>
Co-authored-by: Steven Oderayi <oderayi@gmail.com>
Co-authored-by: Valentin Genev <vgenev@gmail.com>
Co-authored-by: Valentin <valentin.genev@modusbox.com>
Co-authored-by: Miguel de Barros <miguel@debarros.me>
Co-authored-by: Lewis Daly <lewis@vesselstech.com>
  • Loading branch information
8 people authored Dec 23, 2020
1 parent 62f54d0 commit a7c12c6
Show file tree
Hide file tree
Showing 24 changed files with 4,113 additions and 7,228 deletions.
18 changes: 9 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ defaults_Dependencies: &defaults_Dependencies |
npm install -g node-gyp

defaults_awsCliDependencies: &defaults_awsCliDependencies |
apk upgrade --no-cache
apk --no-cache add \
python3 \
py3-pip \
groff \
less \
mailcap
pip3 install --upgrade pip awscli==1.14.5 s3cmd==2.0.1 python-magic
apk upgrade --no-cache
apk --no-cache add \
python3 \
py3-pip \
groff \
less \
mailcap
pip3 install --upgrade pip awscli==1.14.5 s3cmd==2.0.1 python-magic

defaults_license_scanner: &defaults_license_scanner
name: Install and set up license-scanner
Expand Down Expand Up @@ -216,7 +216,6 @@ jobs:
executor: anchore/anchore_engine
steps:
- setup_remote_docker
- checkout
- run:
name: Install docker dependencies for anchore
command: |
Expand All @@ -234,6 +233,7 @@ jobs:
- run:
name: Install AWS CLI dependencies
command: *defaults_awsCliDependencies
- checkout
- attach_workspace:
at: /tmp
- run:
Expand Down
8 changes: 4 additions & 4 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# LICENSE

Copyright © 2017 Bill & Melinda Gates Foundation
Copyright © 2020 Mojaloop Foundation

The Mojaloop files are made available by the Bill & Melinda Gates Foundation under the Apache License, Version 2.0
(the "License") and you may not use these files except in compliance with the [License](http://www.apache.org/licenses/LICENSE-2.0). You may obtain a copy of the License at
The Mojaloop files are made available by the Mojaloop Foundation under the Apache License, Version 2.0
(the "License") and you may not use these files except in compliance with the [License](http://www.apache.org/licenses/LICENSE-2.0).

[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
You may obtain a copy of the License at [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)

Unless required by applicable law or agreed to in writing, the Mojaloop files are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the [License](http://www.apache.org/licenses/LICENSE-2.0).
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
[![CircleCI](https://circleci.com/gh/mojaloop/transaction-requests-service.svg?style=svg)](https://circleci.com/gh/mojaloop/transaction-requests-service)


Swagger api [location](src/interface/swagger.json)
## Interface Specifications
- OpenAPI v3 Interface Specification: [src/interface/openapi.yaml](src/interface/openapi.yaml)
106 changes: 0 additions & 106 deletions audit-resolve.json
Original file line number Diff line number Diff line change
@@ -1,106 +0,0 @@
{
"decisions": {
"1523|@mojaloop/central-services-health>@mojaloop/central-services-logger>winston>async>lodash": {
"decision": "ignore",
"madeAt": 1594293814741,
"expiresAt": 1596885799949
},
"1523|@mojaloop/central-services-health>@mojaloop/central-services-shared>@mojaloop/central-services-logger>winston>async>lodash": {
"decision": "ignore",
"madeAt": 1594293814741,
"expiresAt": 1596885799949
},
"1523|@mojaloop/central-services-health>@mojaloop/central-services-shared>@mojaloop/event-sdk>@mojaloop/central-services-logger>winston>async>lodash": {
"decision": "ignore",
"madeAt": 1594293814741,
"expiresAt": 1596885799949
},
"1523|@mojaloop/central-services-health>@mojaloop/central-services-shared>@mojaloop/event-sdk>winston>async>lodash": {
"decision": "ignore",
"madeAt": 1594293814741,
"expiresAt": 1596885799949
},
"1523|@mojaloop/central-services-shared>@mojaloop/central-services-logger>winston>async>lodash": {
"decision": "ignore",
"madeAt": 1594293814741,
"expiresAt": 1596885799949
},
"1523|@mojaloop/central-services-shared>@mojaloop/event-sdk>@mojaloop/central-services-logger>winston>async>lodash": {
"decision": "ignore",
"madeAt": 1594293814741,
"expiresAt": 1596885799949
},
"1523|@mojaloop/central-services-shared>@mojaloop/event-sdk>winston>async>lodash": {
"decision": "ignore",
"madeAt": 1594293814741,
"expiresAt": 1596885799949
},
"1523|@mojaloop/central-services-health>@mojaloop/central-services-shared>openapi-backend>lodash": {
"decision": "ignore",
"madeAt": 1594293814741,
"expiresAt": 1596885799949
},
"1523|@mojaloop/central-services-health>@mojaloop/central-services-shared>openapi-backend>mock-json-schema>lodash": {
"decision": "ignore",
"madeAt": 1594293814741,
"expiresAt": 1596885799949
},
"1523|@mojaloop/central-services-shared>openapi-backend>mock-json-schema>lodash": {
"decision": "ignore",
"madeAt": 1594293814741,
"expiresAt": 1596885799949
},
"1523|@mojaloop/central-services-shared>openapi-backend>lodash": {
"decision": "ignore",
"madeAt": 1594293814741,
"expiresAt": 1596885799949
},
"1523|jsdoc>catharsis>lodash": {
"decision": "ignore",
"madeAt": 1594293814741,
"expiresAt": 1596885799949
},
"1523|jsdoc>requizzle>lodash": {
"decision": "ignore",
"madeAt": 1594293814741,
"expiresAt": 1596885799949
},
"1523|@mojaloop/central-services-health>@mojaloop/central-services-error-handling>lodash": {
"decision": "ignore",
"madeAt": 1594293818581,
"expiresAt": 1596885799949
},
"1523|@mojaloop/central-services-health>@mojaloop/central-services-shared>@mojaloop/central-services-error-handling>lodash": {
"decision": "ignore",
"madeAt": 1594293818581,
"expiresAt": 1596885799949
},
"1523|@mojaloop/central-services-health>@mojaloop/central-services-shared>@mojaloop/event-sdk>lodash": {
"decision": "ignore",
"madeAt": 1594293818581,
"expiresAt": 1596885799949
},
"1523|@mojaloop/central-services-health>@mojaloop/central-services-shared>lodash": {
"decision": "ignore",
"madeAt": 1594293818581,
"expiresAt": 1596885799949
},
"1523|@mojaloop/central-services-shared>@mojaloop/central-services-error-handling>lodash": {
"decision": "ignore",
"madeAt": 1594293818581,
"expiresAt": 1596885799949
},
"1523|@mojaloop/central-services-shared>@mojaloop/event-sdk>lodash": {
"decision": "ignore",
"madeAt": 1594293818581,
"expiresAt": 1596885799949
},
"1523|@mojaloop/central-services-shared>lodash": {
"decision": "ignore",
"madeAt": 1594293818581,
"expiresAt": 1596885799949
}
},
"rules": {},
"version": 1
}
Loading

0 comments on commit a7c12c6

Please sign in to comment.