Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: first draft of Infrastructure API and related models #407

Closed
wants to merge 22 commits into from

fix compilation errors in examples

3f5677a
Select commit
Loading
Failed to load commit list.
Closed

feat: first draft of Infrastructure API and related models #407

fix compilation errors in examples
3f5677a
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Nov 14, 2023 in 0s

160 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 160
           

Complexity increasing per file
==============================
- fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/exceptions/InsufficientClusterResourcesException.java  1
- fullstack-core/fullstack-infrastructure-core/src/test/java/com/hedera/fullstack/example/IntegrationExample.java  4
- fullstack-core/fullstack-infrastructure-core/src/main/java/com/hedera/fullstack/infrastructure/core/model/mirrornode/component/Importer.java  1
- fullstack-core/fullstack-infrastructure-core/src/main/java/com/hedera/fullstack/infrastructure/core/model/minio/Minio.java  1
- fullstack-core/fullstack-infrastructure-core/src/main/java/com/hedera/fullstack/infrastructure/core/model/mirrornode/MirrorNode.java  1
- fullstack-core/fullstack-infrastructure-core/src/test/java/com/hedera/fullstack/example/InfrastructureManagerExample.java  1
- fullstack-core/fullstack-infrastructure-core/src/main/java/com/hedera/fullstack/infrastructure/core/InfrastructureManagerImpl.java  2
- fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/exceptions/NetworkDeploymentNotFoundException.java  1
- fullstack-core/fullstack-infrastructure-core/src/main/java/com/hedera/fullstack/infrastructure/core/model/networknode/component/Node.java  1
- fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/AbstractWorkload.java  1
- fullstack-core/fullstack-infrastructure-core/src/main/java/com/hedera/fullstack/infrastructure/core/model/jsonrpcrelay/EthBridge.java  1
- fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/exceptions/InstallationException.java  1
- fullstack-core/fullstack-resource-generator-api/src/main/java/com/hedera/fullstack/resource/generator/api/PlatformConfiguration.java  2
- fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/WorkloadReplica.java  1
- fullstack-core/fullstack-infrastructure-core/src/main/java/com/hedera/fullstack/infrastructure/core/model/mirrornodeexplorer/MirrorNodeExplorer.java  1
- fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/exceptions/InvalidConfigurationException.java  1
- fullstack-core/fullstack-infrastructure-core/src/main/java/com/hedera/fullstack/infrastructure/core/model/minio/Tenant.java  1
- fullstack-core/fullstack-infrastructure-core/src/main/java/com/hedera/fullstack/infrastructure/core/model/jsonrpcrelay/JSONRPCRelay.java  1
- fullstack-core/fullstack-infrastructure-core/src/main/java/com/hedera/fullstack/infrastructure/core/model/mirrornode/component/Rosetta.java  1
- fullstack-core/fullstack-infrastructure-core/src/main/java/com/hedera/fullstack/infrastructure/core/model/networknode/NetworkNode.java  1
- fullstack-core/fullstack-infrastructure-core/src/main/java/com/hedera/fullstack/infrastructure/core/model/mirrornode/component/Web3.java  1
- fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/exceptions/InfrastructureException.java  1
- fullstack-core/fullstack-infrastructure-core/src/main/java/com/hedera/fullstack/infrastructure/core/model/mirrornodeexplorer/component/Explorer.java  1
         

See the complete overview on Codacy

Annotations

Check notice on line 22 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/exceptions/InfrastructureException.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/exceptions/InfrastructureException.java#L22

Line is longer than 80 characters (found 99).

Check notice on line 21 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/exceptions/InvalidConfigurationException.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/exceptions/InvalidConfigurationException.java#L21

Line is longer than 80 characters (found 127).

Check notice on line 41 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/manager/InfrastructureManager.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/manager/InfrastructureManager.java#L41

Line is longer than 80 characters (found 115).

Check notice on line 49 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/manager/InfrastructureManager.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/manager/InfrastructureManager.java#L49

Line is longer than 80 characters (found 101).

Check notice on line 54 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/manager/InfrastructureManager.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/manager/InfrastructureManager.java#L54

Line is longer than 80 characters (found 82).

Check notice on line 68 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/manager/InfrastructureManager.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/manager/InfrastructureManager.java#L68

Line is longer than 80 characters (found 113).

Check notice on line 81 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/manager/InfrastructureManager.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/manager/InfrastructureManager.java#L81

Line is longer than 80 characters (found 84).

Check notice on line 90 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/manager/InfrastructureManager.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/manager/InfrastructureManager.java#L90

Line is longer than 80 characters (found 85).

Check notice on line 44 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/Cluster.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/Cluster.java#L44

Line is longer than 80 characters (found 86).

Check notice on line 49 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/Cluster.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/Cluster.java#L49

Line is longer than 80 characters (found 101).

Check notice on line 39 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/Component.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/Component.java#L39

Document empty method body

Check notice on line 39 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/Component.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/Component.java#L39

Line is longer than 80 characters (found 102).

Check notice on line 117 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/NetworkDeployment.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/NetworkDeployment.java#L117

Line is longer than 80 characters (found 84).

Check notice on line 140 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/NetworkDeployment.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/NetworkDeployment.java#L140

Line is longer than 80 characters (found 94).

Check notice on line 149 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/NetworkDeployment.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/NetworkDeployment.java#L149

Line is longer than 80 characters (found 109).

Check notice on line 34 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/WorkloadReplica.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/WorkloadReplica.java#L34

Line is longer than 80 characters (found 82).

Check notice on line 42 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/WorkloadReplica.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/WorkloadReplica.java#L42

Line is longer than 80 characters (found 81).

Check notice on line 67 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/WorkloadReplica.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/model/WorkloadReplica.java#L67

Line is longer than 80 characters (found 90).

Check notice on line 23 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/traits/ExecutionAware.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/traits/ExecutionAware.java#L23

Line is longer than 80 characters (found 113).

Check notice on line 29 in fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/traits/LogAware.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-api/src/main/java/com/hedera/fullstack/infrastructure/api/traits/LogAware.java#L29

Line is longer than 80 characters (found 83).

Check notice on line 27 in fullstack-core/fullstack-infrastructure-core/src/main/java/com/hedera/fullstack/infrastructure/core/model/jsonrpcrelay/JSONRPCRelay.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-core/src/main/java/com/hedera/fullstack/infrastructure/core/model/jsonrpcrelay/JSONRPCRelay.java#L27

Line is longer than 80 characters (found 96).

Check notice on line 27 in fullstack-core/fullstack-infrastructure-core/src/main/java/com/hedera/fullstack/infrastructure/core/model/minio/Minio.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-core/src/main/java/com/hedera/fullstack/infrastructure/core/model/minio/Minio.java#L27

Line is longer than 80 characters (found 82).

Check notice on line 43 in fullstack-core/fullstack-infrastructure-core/src/test/java/com/hedera/fullstack/example/InfrastructureManagerExample.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-core/src/test/java/com/hedera/fullstack/example/InfrastructureManagerExample.java#L43

Line is longer than 80 characters (found 124).

Check notice on line 146 in fullstack-core/fullstack-infrastructure-core/src/test/java/com/hedera/fullstack/example/IntegrationExample.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-infrastructure-core/src/test/java/com/hedera/fullstack/example/IntegrationExample.java#L146

Line is longer than 80 characters (found 99).

Check notice on line 47 in fullstack-core/fullstack-resource-generator-api/src/main/java/com/hedera/fullstack/resource/generator/api/ResourceUtils.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

fullstack-core/fullstack-resource-generator-api/src/main/java/com/hedera/fullstack/resource/generator/api/ResourceUtils.java#L47

Line is longer than 80 characters (found 86).