Skip to content

Commit

Permalink
chore: update header
Browse files Browse the repository at this point in the history
Signed-off-by: georgi-l95 <[email protected]>
  • Loading branch information
georgi-l95 committed Jan 15, 2025
1 parent dcd99bb commit 32af81c
Show file tree
Hide file tree
Showing 58 changed files with 58 additions and 174 deletions.
4 changes: 1 addition & 3 deletions src/Errors/LocalNodeErrors.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

/**
* Class representing the local node errors.
Expand Down
4 changes: 1 addition & 3 deletions src/configuration/types/IAccountProps.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { IPrivateKey } from './IPrivateKey';

Expand Down
4 changes: 1 addition & 3 deletions src/configuration/types/IPrivateKey.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { PrivateKey } from '@hashgraph/sdk';

Expand Down
4 changes: 1 addition & 3 deletions src/configuration/types/ITokenProps.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { IPrivateKey } from './IPrivateKey';

Expand Down
4 changes: 1 addition & 3 deletions src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

export const CONTAINERS = [
{
Expand Down
4 changes: 1 addition & 3 deletions src/controller/IObserver.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { EventType } from '../types/EventType';

Expand Down
4 changes: 1 addition & 3 deletions src/controller/StateController.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { CHECK_FAIL, CHECK_SUCCESS } from '../constants';
import { StateData } from '../data/StateData';
Expand Down
4 changes: 1 addition & 3 deletions src/data/ConfigurationData.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { NetworkConfiguration } from '../types/NetworkConfiguration';
import local from '../configuration/local.json';
Expand Down
4 changes: 1 addition & 3 deletions src/data/StateData.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { AccountCreationState } from '../state/AccountCreationState';
import { CleanUpState } from '../state/CleanUpState';
Expand Down
4 changes: 1 addition & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/usr/bin/env node

/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { Bootstrapper } from "./services/Bootstrapper";
import yargs from 'yargs';
Expand Down
4 changes: 1 addition & 3 deletions src/services/Bootstrapper.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0


import yargs from 'yargs';
Expand Down
4 changes: 1 addition & 3 deletions src/services/CLIService.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import yargs, { ArgumentsCamelCase, Argv } from 'yargs';
import { IService } from './IService';
Expand Down
4 changes: 1 addition & 3 deletions src/services/ClientService.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { Client } from '@hashgraph/sdk';
import { IService } from './IService';
Expand Down
4 changes: 1 addition & 3 deletions src/services/ConnectionService.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import net from 'net';
import { IService } from './IService';
Expand Down
4 changes: 1 addition & 3 deletions src/services/DockerService.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import Dockerode from 'dockerode';
import shell from 'shelljs';
Expand Down
4 changes: 1 addition & 3 deletions src/services/IService.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

/**
* Represents a service.
Expand Down
4 changes: 1 addition & 3 deletions src/services/LoggerService.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0


import {
Expand Down
4 changes: 1 addition & 3 deletions src/services/ServiceLocator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { IService } from './IService';

Expand Down
4 changes: 1 addition & 3 deletions src/state/AccountCreationState.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import path from 'path';
import { createReadStream } from 'fs';
Expand Down
4 changes: 1 addition & 3 deletions src/state/AttachState.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { IOBserver } from '../controller/IObserver';
import { DockerService } from '../services/DockerService';
Expand Down
4 changes: 1 addition & 3 deletions src/state/CleanUpState.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { readFileSync, writeFileSync, existsSync } from 'fs';
import yaml from 'js-yaml';
Expand Down
4 changes: 1 addition & 3 deletions src/state/IState.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { IOBserver } from '../controller/IObserver';

Expand Down
4 changes: 1 addition & 3 deletions src/state/InitState.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import semver from'semver';
import shell from 'shelljs';
Expand Down
4 changes: 1 addition & 3 deletions src/state/NetworkPrepState.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { Client, FileContentsQuery } from '@hashgraph/sdk';
import shell from 'shelljs';
Expand Down
4 changes: 1 addition & 3 deletions src/state/RecoveryState.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { IOBserver } from '../controller/IObserver';
import { LoggerService } from '../services/LoggerService';
Expand Down
4 changes: 1 addition & 3 deletions src/state/ResourceCreationState.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { TokenId, TokenType } from '@hashgraph/sdk';
import { IOBserver } from '../controller/IObserver';
Expand Down
4 changes: 1 addition & 3 deletions src/state/StartState.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import shell from 'shelljs';
import { LocalNodeErrors } from '../Errors/LocalNodeErrors';
Expand Down
4 changes: 1 addition & 3 deletions src/state/StopState.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import shell from 'shelljs';
import { join } from 'path';
Expand Down
4 changes: 1 addition & 3 deletions src/types/AccountType.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { Hbar, PrivateKey } from '@hashgraph/sdk';

Expand Down
4 changes: 1 addition & 3 deletions src/types/CLIOptions.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

/**
* Represents the options that can be passed to the CLI.
Expand Down
4 changes: 1 addition & 3 deletions src/types/EventType.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

/**
* Represents the types of events that can occur in the application.
Expand Down
4 changes: 1 addition & 3 deletions src/types/NetworkConfiguration.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

/**
* Represents the configuration of a network.
Expand Down
4 changes: 1 addition & 3 deletions src/types/StateConfiguration.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { IState } from "../state/IState";

Expand Down
4 changes: 1 addition & 3 deletions src/types/VerboseLevel.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

/**
* Represents the levels of verbosity that can be used.
Expand Down
4 changes: 1 addition & 3 deletions src/utils/AccountUtils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0


import {
Expand Down
4 changes: 1 addition & 3 deletions src/utils/FileSystemUtils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { homedir } from 'os';
import { join, resolve } from 'path';
Expand Down
4 changes: 1 addition & 3 deletions src/utils/RetryUtils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

export class RetryUtils {

Expand Down
4 changes: 1 addition & 3 deletions src/utils/SafeDockerNetworkRemover.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import shell from 'shelljs';
import { IS_WINDOWS, NETWORK_PREFIX } from '../constants';
Expand Down
4 changes: 1 addition & 3 deletions src/utils/TokenUtils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0


import {
Expand Down
4 changes: 1 addition & 3 deletions src/utils/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { join } from 'path';
import yaml from 'js-yaml';
Expand Down
4 changes: 1 addition & 3 deletions src/utils/debounce.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

/**
* Limit the execution of a function to once every N ms
Expand Down
4 changes: 1 addition & 3 deletions test/cypress/src/client.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import {
Client,
Expand Down
4 changes: 1 addition & 3 deletions test/smoke/test/Smoke.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

const { expect } = require("chai");
const hre = require("hardhat");
Expand Down
4 changes: 1 addition & 3 deletions test/testUtils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { PrivateKey } from '@hashgraph/sdk';
import { IPrivateKey, KeyType } from '../src/configuration/types/IPrivateKey';
Expand Down
4 changes: 1 addition & 3 deletions test/unit/controller/StateController.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { expect, assert } from 'chai';
import { StateController } from '../../../src/controller/StateController';
Expand Down
4 changes: 1 addition & 3 deletions test/unit/states/AccountCreationState.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { expect } from 'chai';
import { AccountCreationState } from '../../../src/state/AccountCreationState';
Expand Down
4 changes: 1 addition & 3 deletions test/unit/states/CleanUpState.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { expect } from 'chai';
import { CleanUpState } from '../../../src/state/CleanUpState';
Expand Down
4 changes: 1 addition & 3 deletions test/unit/states/InitState.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { expect } from 'chai';
import fs from 'fs';
Expand Down
4 changes: 1 addition & 3 deletions test/unit/states/ResourceCreationState.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*-
* SPDX-License-Identifier: Apache-2.0
*/
// SPDX-License-Identifier: Apache-2.0

import { expect } from 'chai';
import { SinonFakeTimers, SinonSandbox, SinonSpy, SinonStub, SinonStubbedInstance, useFakeTimers } from 'sinon';
Expand Down
Loading

0 comments on commit 32af81c

Please sign in to comment.