-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial Commit * added start script to adapter * cleanup * cleanup * cleanup * cicd * cicd * cicd * cicd * cicd * cicd * cicd * chore: fixed api-svc api templates for inbound and outbound paths to correctly resolve dependent yamls * chore: fixes for monorepo - removed global eslint config, and added eslint to each module - renamed start:adapter root package script to start:api-svc and fixed the command - added missing dependencies to module/api-svc to fix unit tests * fix: api-snippets * fix: cicd * fix: cicd * fix: cicd * fix: cicd * fix: cicd * fix: cicd Co-authored-by: Miguel de Barros <[email protected]>
- Loading branch information
Showing
395 changed files
with
18,058 additions
and
1,634 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn dep:check | ||
yarn build | ||
yarn lint | ||
yarn test:unit |
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,3 @@ | ||
{ | ||
"reject": [] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,9 @@ | ||
nodeLinker: node-modules | ||
|
||
plugins: | ||
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs | ||
spec: "@yarnpkg/plugin-workspace-tools" | ||
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs | ||
spec: "@yarnpkg/plugin-version" | ||
|
||
yarnPath: .yarn/releases/yarn-3.2.0.cjs |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
* [email protected] | ||
* [email protected] | ||
* [email protected] |
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 |
---|---|---|
@@ -1,35 +1,38 @@ | ||
FROM node:16.15.0-alpine as builder | ||
|
||
RUN apk add --no-cache git python3 build-base | ||
|
||
EXPOSE 3000 | ||
|
||
WORKDIR /src | ||
|
||
# This is super-ugly, but it means we don't have to re-run npm install every time any of the source | ||
# files change- only when any dependencies change- which is a superior developer experience when | ||
# relying on docker-compose. | ||
COPY ./package.json . | ||
COPY ./package-lock.json . | ||
RUN npm ci --only=production | ||
FROM node:16.15.0-alpine | ||
|
||
ARG BUILD_DATE | ||
ARG VCS_URL | ||
ARG VCS_REF | ||
ARG VERSION | ||
|
||
# See http://label-schema.org/rc1/ for label schema info | ||
LABEL org.label-schema.schema-version="1.0" | ||
LABEL org.label-schema.name="sdk-scheme-adapter" | ||
LABEL org.label-schema.build-date=$BUILD_DATE | ||
LABEL org.label-schema.vcs-url=$VCS_URL | ||
LABEL org.label-schema.vcs-ref=$VCS_REF | ||
LABEL org.label-schema.url="https://mojaloop.io/" | ||
LABEL org.label-schema.version=$VERSION | ||
|
||
COPY --from=builder /src/ /src | ||
COPY ./src ./src | ||
COPY ./secrets / | ||
|
||
CMD ["node", "src/index.js"] | ||
# RUN apk add --no-cache git python3 build-base | ||
|
||
# EXPOSE 3000 | ||
|
||
# WORKDIR /src | ||
|
||
# # This is super-ugly, but it means we don't have to re-run npm install every time any of the source | ||
# # files change- only when any dependencies change- which is a superior developer experience when | ||
# # relying on docker-compose. | ||
# COPY ./package.json . | ||
# COPY ./package-lock.json . | ||
# RUN npm ci --only=production | ||
# FROM node:16.15.0-alpine | ||
|
||
# ARG BUILD_DATE | ||
# ARG VCS_URL | ||
# ARG VCS_REF | ||
# ARG VERSION | ||
|
||
# # See http://label-schema.org/rc1/ for label schema info | ||
# LABEL org.label-schema.schema-version="1.0" | ||
# LABEL org.label-schema.name="sdk-scheme-adapter" | ||
# LABEL org.label-schema.build-date=$BUILD_DATE | ||
# LABEL org.label-schema.vcs-url=$VCS_URL | ||
# LABEL org.label-schema.vcs-ref=$VCS_REF | ||
# LABEL org.label-schema.url="https://mojaloop.io/" | ||
# LABEL org.label-schema.version=$VERSION | ||
|
||
# COPY --from=builder /src/ /src | ||
# COPY ./src ./src | ||
# COPY ./secrets / | ||
|
||
# CMD ["node", "src/index.js"] | ||
|
||
|
||
# TODO: compose the docker image |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,10 @@ | ||
# LICENSE | ||
|
||
Copyright © 2017 Bill & Melinda Gates 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 | ||
|
||
[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). |
File renamed without changes.
Oops, something went wrong.