From 99be3d03da17dbf3367322922b0432837f0e39b2 Mon Sep 17 00:00:00 2001 From: nikolay Date: Thu, 10 Oct 2024 13:00:20 +0300 Subject: [PATCH] chore: add license headers Signed-off-by: nikolay --- .../config-service/src/commands/printEnvs.ts | 20 +++++++++++++++++++ .../src/services/globalConfig.ts | 20 +++++++++++++++++++ .../src/services/loggerService.ts | 20 +++++++++++++++++++ .../src/services/validationService.ts | 20 +++++++++++++++++++ 4 files changed, 80 insertions(+) diff --git a/packages/config-service/src/commands/printEnvs.ts b/packages/config-service/src/commands/printEnvs.ts index 8df7bbd8b..cfde9dd5f 100644 --- a/packages/config-service/src/commands/printEnvs.ts +++ b/packages/config-service/src/commands/printEnvs.ts @@ -1,3 +1,23 @@ +/*- + * + * Hedera JSON RPC Relay + * + * Copyright (C) 2024 Hedera Hashgraph, LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file 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, software + * distributed under the License is 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. + * + */ + const { ConfigService } = require('../../dist/services'); // @ts-ignore diff --git a/packages/config-service/src/services/globalConfig.ts b/packages/config-service/src/services/globalConfig.ts index d97c13ec8..f5ef79868 100644 --- a/packages/config-service/src/services/globalConfig.ts +++ b/packages/config-service/src/services/globalConfig.ts @@ -1,3 +1,23 @@ +/*- + * + * Hedera JSON RPC Relay + * + * Copyright (C) 2024 Hedera Hashgraph, LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file 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, software + * distributed under the License is 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. + * + */ + export interface ConfigProperty { envName: string; type: string; diff --git a/packages/config-service/src/services/loggerService.ts b/packages/config-service/src/services/loggerService.ts index 4f38a406e..9d1f2a457 100644 --- a/packages/config-service/src/services/loggerService.ts +++ b/packages/config-service/src/services/loggerService.ts @@ -1,3 +1,23 @@ +/*- + * + * Hedera JSON RPC Relay + * + * Copyright (C) 2024 Hedera Hashgraph, LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file 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, software + * distributed under the License is 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. + * + */ + import { GlobalConfig } from './globalConfig'; export class LoggerService { diff --git a/packages/config-service/src/services/validationService.ts b/packages/config-service/src/services/validationService.ts index 9848c99b5..0b05b62f7 100644 --- a/packages/config-service/src/services/validationService.ts +++ b/packages/config-service/src/services/validationService.ts @@ -1,3 +1,23 @@ +/*- + * + * Hedera JSON RPC Relay + * + * Copyright (C) 2024 Hedera Hashgraph, LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file 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, software + * distributed under the License is 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. + * + */ + import { GlobalConfig } from './globalConfig'; export class ValidationService {