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

chore: remove license #14

Merged
merged 2 commits into from
Jul 24, 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
10 changes: 0 additions & 10 deletions LICENSE.md

This file was deleted.

1 change: 0 additions & 1 deletion docker/mock-servers/package-lock.json

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

1 change: 0 additions & 1 deletion docker/mock-servers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"version": "0.1.0",
"description": "Mock servers toolkit for development and testing ISPA",
"author": "Eugen Klymniuk (geka-evk)",
"license": "Apache-2.0",
"main": "src/server.ts",
"scripts": {
"start": "ts-node src/server.ts",
Expand Down
277 changes: 139 additions & 138 deletions package-lock.json

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"Eugen Klymniuk <eugen.klymniuk@infitx.com>",
"Steven Oderayi <steven.oderayi@infitx.com>"
],
"license": "Apache-2.0",
"main": "dist/index.js",
"scripts": {
"start": "node dist/index.js",
Expand Down Expand Up @@ -37,7 +36,7 @@
},
"dependencies": {
"@hapi/hapi": "^21.3.10",
"@mojaloop/central-services-logger": "^11.3.1",
"@mojaloop/central-services-logger": "^11.4.4",
"@mojaloop/sdk-standard-components": "^18.3.0",
"axios": "^1.7.2",
"convict": "^6.2.4",
Expand All @@ -52,10 +51,10 @@
"@types/convict": "^6.1.6",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.7",
"@types/node": "^20.14.11",
"@types/node": "^20.14.12",
"@types/ws": "^8.5.11",
"@typescript-eslint/eslint-plugin": "7.16.1",
"@typescript-eslint/parser": "7.16.1",
"@typescript-eslint/eslint-plugin": "7.17.0",
"@typescript-eslint/parser": "7.17.0",
"axios-mock-adapter": "^1.22.0",
"dotenv": "^16.4.5",
"eslint": "8.56.0",
Expand All @@ -73,7 +72,7 @@
"standard-version": "^9.5.0",
"ts-jest": "29.2.3",
"ts-node": "10.9.2",
"typescript": "5.5.3"
"typescript": "5.5.4"
},
"engines": {
"node": ">=18.x"
Expand Down
25 changes: 0 additions & 25 deletions src/createProxyAdapter.ts
Original file line number Diff line number Diff line change
@@ -1,28 +1,3 @@
/*****
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. You may obtain a copy of the License at
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.

Contributors
--------------
This is the official list of the Mojaloop project contributors for this file.
Names of the original copyright holders (individuals or organizations)
should be listed with a '*' in the first column. People who have
contributed from an organization can be listed under the organization
that actually holds the copyright for their contributions (see the
Gates Foundation organization for an example). Those individuals should have
their names indented and be marked with a '-'. Email address can be added
optionally within square brackets <email>.
* Gates Foundation
- Name Surname <name.surname@gatesfoundation.com>

* Eugen Klymniuk <eugen.klymniuk@infitx.com>
--------------
**********/

import { Config } from 'convict';
import { InterSchemeProxyAdapter, ISPAService } from './domain';
import { AuthClient, createControlAgents, createHttpServers, httpRequest, AppConfig } from './infra';
Expand Down
25 changes: 0 additions & 25 deletions src/domain/InterSchemeProxyAdapter.ts
Original file line number Diff line number Diff line change
@@ -1,28 +1,3 @@
/*****
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. You may obtain a copy of the License at
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.

Contributors
--------------
This is the official list of the Mojaloop project contributors for this file.
Names of the original copyright holders (individuals or organizations)
should be listed with a '*' in the first column. People who have
contributed from an organization can be listed under the organization
that actually holds the copyright for their contributions (see the
Gates Foundation organization for an example). Those individuals should have
their names indented and be marked with a '-'. Email address can be added
optionally within square brackets <email>.
* Gates Foundation
- Name Surname <name.surname@gatesfoundation.com>

* Eugen Klymniuk <eugen.klymniuk@infitx.com>
--------------
**********/

import { INTERNAL_EVENTS } from '../constants';
import { IProxyAdapter, ISPADeps, IncomingRequestDetails, ServerState, ServerStateEvent } from './types';
import { ICACerts, ICAPeerJWSCert } from '../infra';
Expand Down
25 changes: 0 additions & 25 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,28 +1,3 @@
/*****
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. You may obtain a copy of the License at
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.

Contributors
--------------
This is the official list of the Mojaloop project contributors for this file.
Names of the original copyright holders (individuals or organizations)
should be listed with a '*' in the first column. People who have
contributed from an organization can be listed under the organization
that actually holds the copyright for their contributions (see the
Gates Foundation organization for an example). Those individuals should have
their names indented and be marked with a '-'. Email address can be added
optionally within square brackets <email>.
* Gates Foundation
- Name Surname <name.surname@gatesfoundation.com>

* Eugen Klymniuk <eugen.klymniuk@infitx.com>
--------------
**********/

import config from './config';
import { InterSchemeProxyAdapter } from './domain';
import { createProxyAdapter } from './createProxyAdapter';
Expand Down
24 changes: 0 additions & 24 deletions src/infra/controlAgent/ControlAgent.ts
Original file line number Diff line number Diff line change
@@ -1,27 +1,3 @@
/*****
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. You may obtain a copy of the License at
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.

Contributors
--------------
This is the official list of the Mojaloop project contributors for this file.
Names of the original copyright holders (individuals or organizations)
should be listed with a '*' in the first column. People who have
contributed from an organization can be listed under the organization
that actually holds the copyright for their contributions (see the
Gates Foundation organization for an example). Those individuals should have
their names indented and be marked with a '-'. Email address can be added
optionally within square brackets <email>.
* Gates Foundation
- Name Surname <name.surname@gatesfoundation.com>

Steven Oderayi <steven.oderayi@infitx.com>
**********/

import ws, { WebSocket } from 'ws';
import { ILogger } from '../../domain';
import { MESSAGE, VERB } from './constants';
Expand Down
25 changes: 0 additions & 25 deletions test/integration/domain/ISPA.test.ts
Original file line number Diff line number Diff line change
@@ -1,28 +1,3 @@
/*****
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. You may obtain a copy of the License at
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.

Contributors
--------------
This is the official list of the Mojaloop project contributors for this file.
Names of the original copyright holders (individuals or organizations)
should be listed with a '*' in the first column. People who have
contributed from an organization can be listed under the organization
that actually holds the copyright for their contributions (see the
Gates Foundation organization for an example). Those individuals should have
their names indented and be marked with a '-'. Email address can be added
optionally within square brackets <email>.
* Gates Foundation
- Name Surname <name.surname@gatesfoundation.com>

* Eugen Klymniuk <eugen.klymniuk@infitx.com>
--------------
**********/

import https from 'node:https';
import axios from 'axios'; // todo: add wrapper
import config from '#src/config';
Expand Down
24 changes: 0 additions & 24 deletions test/integration/domain/InterSchemeProxyAdapter.test.ts
Original file line number Diff line number Diff line change
@@ -1,27 +1,3 @@
/*****
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. You may obtain a copy of the License at
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.

Contributors
--------------
This is the official list of the Mojaloop project contributors for this file.
Names of the original copyright holders (individuals or organizations)
should be listed with a '*' in the first column. People who have
contributed from an organization can be listed under the organization
that actually holds the copyright for their contributions (see the
Gates Foundation organization for an example). Those individuals should have
their names indented and be marked with a '-'. Email address can be added
optionally within square brackets <email>.
* Gates Foundation
- Name Surname <name.surname@gatesfoundation.com>

Steven Oderayi <steven.oderayi@infitx.com>
**********/

jest.unmock('ws');

import { randomUUID } from 'crypto';
Expand Down
24 changes: 0 additions & 24 deletions test/unit/__mocks__/ws.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,3 @@
/*****
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. You may obtain a copy of the License at
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.

Contributors
--------------
This is the official list of the Mojaloop project contributors for this file.
Names of the original copyright holders (individuals or organizations)
should be listed with a '*' in the first column. People who have
contributed from an organization can be listed under the organization
that actually holds the copyright for their contributions (see the
Gates Foundation organization for an example). Those individuals should have
their names indented and be marked with a '-'. Email address can be added
optionally within square brackets <email>.
* Gates Foundation
- Name Surname <name.surname@gatesfoundation.com>

Steven Oderayi <steven.oderayi@infitx.com>
**********/

const mockSocket = require("mock-socket");

class WebSocket extends mockSocket.WebSocket {
Expand Down
25 changes: 0 additions & 25 deletions test/unit/domain/ISPAService.test.ts
Original file line number Diff line number Diff line change
@@ -1,28 +1,3 @@
/*****
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. You may obtain a copy of the License at
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.

Contributors
--------------
This is the official list of the Mojaloop project contributors for this file.
Names of the original copyright holders (individuals or organizations)
should be listed with a '*' in the first column. People who have
contributed from an organization can be listed under the organization
that actually holds the copyright for their contributions (see the
Gates Foundation organization for an example). Those individuals should have
their names indented and be marked with a '-'. Email address can be added
optionally within square brackets <email>.
* Gates Foundation
- Name Surname <name.surname@gatesfoundation.com>

* Eugen Klymniuk <eugen.klymniuk@infitx.com>
--------------
**********/

import { ISPAService, ISPAServiceInterface } from '#src/domain';
import { PROXY_HEADER, AUTH_HEADER, SCHEME_HTTPS } from '#src/constants';
import { loggerFactory } from '#src/utils';
Expand Down
24 changes: 0 additions & 24 deletions test/unit/infra/controlAgent/ControlAgent.test.ts
Original file line number Diff line number Diff line change
@@ -1,27 +1,3 @@
/*****
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. You may obtain a copy of the License at
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.

Contributors
--------------
This is the official list of the Mojaloop project contributors for this file.
Names of the original copyright holders (individuals or organizations)
should be listed with a '*' in the first column. People who have
contributed from an organization can be listed under the organization
that actually holds the copyright for their contributions (see the
Gates Foundation organization for an example). Those individuals should have
their names indented and be marked with a '-'. Email address can be added
optionally within square brackets <email>.
* Gates Foundation
- Name Surname <name.surname@gatesfoundation.com>

Steven Oderayi <steven.oderayi@infitx.com>
**********/

import { Client, Server } from 'mock-socket';
import stringify from 'fast-safe-stringify';
import { ControlAgent, ICAPeerJWSCert, deserialise } from '../../../../src/infra/controlAgent';
Expand Down