Skip to content

Commit dfd52e9

Browse files
committed
TCK moved to hiero namespace
Signed-off-by: Hendrik Ebbers <hendrik.ebbers@web.de>
1 parent 0132d0b commit dfd52e9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+150
-145
lines changed

tck/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
## Description
44

5-
This module contains implementation of the JSON-RPC server for the Java SDK to interpret and process requests from the Test Driver based on the [TCK's](https://github.com/hiero-ledger/hiero-sdk-tck) requirements. Upon receiving a request, it executes the corresponding function or procedure associated with the method specified in the request. Subsequently, it prepares the response in JSON format and sends it back to the test driver.
5+
This module contains implementation of the JSON-RPC server for the Java SDK to interpret and process requests from the
6+
Test Driver based on the [TCK's](https://github.com/hiero-ledger/hiero-sdk-tck) requirements.
7+
Upon receiving a request, it executes the corresponding function or procedure associated with the method specified in
8+
the request.
9+
Subsequently, it prepares the response in JSON format and sends it back to the test driver.
610

711
## Setup
812

@@ -24,7 +28,8 @@ cd tck
2428
../gradlew bootRun
2529
```
2630

27-
By default, the server will occupy port 80. If you need to specify a different port, modify the port in the `application.yml` file:
31+
By default, the server will occupy port 80.
32+
If you need to specify a different port, modify the port in the `application.yml` file:
2833

2934
```yaml
3035
server:

tck/src/main/java/com/hedera/hashgraph/tck/TckServer.java renamed to tck/src/main/java/org/hiero/tck/TckServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: Apache-2.0
2-
package com.hedera.hashgraph.tck;
2+
package org.hiero.tck;
33

44
import org.springframework.boot.SpringApplication;
55
import org.springframework.boot.autoconfigure.SpringBootApplication;

tck/src/main/java/com/hedera/hashgraph/tck/annotation/JSONRPC2Controller.java renamed to tck/src/main/java/org/hiero/tck/annotation/JSONRPC2Controller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: Apache-2.0
2-
package com.hedera.hashgraph.tck.annotation;
2+
package org.hiero.tck.annotation;
33

44
import java.lang.annotation.ElementType;
55
import java.lang.annotation.Retention;

tck/src/main/java/com/hedera/hashgraph/tck/annotation/JSONRPC2Method.java renamed to tck/src/main/java/org/hiero/tck/annotation/JSONRPC2Method.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: Apache-2.0
2-
package com.hedera.hashgraph.tck.annotation;
2+
package org.hiero.tck.annotation;
33

44
import java.lang.annotation.ElementType;
55
import java.lang.annotation.Retention;

tck/src/main/java/com/hedera/hashgraph/tck/annotation/JSONRPC2Service.java renamed to tck/src/main/java/org/hiero/tck/annotation/JSONRPC2Service.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: Apache-2.0
2-
package com.hedera.hashgraph.tck.annotation;
2+
package org.hiero.tck.annotation;
33

44
import java.lang.annotation.ElementType;
55
import java.lang.annotation.Retention;

tck/src/main/java/com/hedera/hashgraph/tck/config/BeanConfig.java renamed to tck/src/main/java/org/hiero/tck/config/BeanConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: Apache-2.0
2-
package com.hedera.hashgraph.tck.config;
2+
package org.hiero.tck.config;
33

44
import com.thetransactioncompany.jsonrpc2.server.Dispatcher;
55
import org.springframework.context.annotation.Bean;

tck/src/main/java/com/hedera/hashgraph/tck/config/WebConfig.java renamed to tck/src/main/java/org/hiero/tck/config/WebConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: Apache-2.0
2-
package com.hedera.hashgraph.tck.config;
2+
package org.hiero.tck.config;
33

4-
import com.hedera.hashgraph.tck.controller.JRPCInterceptor;
4+
import org.hiero.tck.controller.JRPCInterceptor;
55
import org.springframework.context.annotation.Configuration;
66
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
77
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

tck/src/main/java/com/hedera/hashgraph/tck/controller/JRPCController.java renamed to tck/src/main/java/org/hiero/tck/controller/JRPCController.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// SPDX-License-Identifier: Apache-2.0
2-
package com.hedera.hashgraph.tck.controller;
2+
package org.hiero.tck.controller;
33

4-
import com.hedera.hashgraph.tck.annotation.JSONRPC2Controller;
5-
import com.hedera.hashgraph.tck.util.JSONRPC2ServiceScanner;
4+
import org.hiero.tck.annotation.JSONRPC2Controller;
5+
import org.hiero.tck.util.JSONRPC2ServiceScanner;
66
import com.thetransactioncompany.jsonrpc2.JSONRPC2Request;
77
import com.thetransactioncompany.jsonrpc2.server.Dispatcher;
88
import jakarta.servlet.http.HttpServletRequest;

tck/src/main/java/com/hedera/hashgraph/tck/controller/JRPCInterceptor.java renamed to tck/src/main/java/org/hiero/tck/controller/JRPCInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: Apache-2.0
2-
package com.hedera.hashgraph.tck.controller;
2+
package org.hiero.tck.controller;
33

44
import com.thetransactioncompany.jsonrpc2.JSONRPC2ParseException;
55
import com.thetransactioncompany.jsonrpc2.JSONRPC2Request;

tck/src/main/java/com/hedera/hashgraph/tck/exception/InvalidJSONRPC2ParamsException.java renamed to tck/src/main/java/org/hiero/tck/exception/InvalidJSONRPC2ParamsException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: Apache-2.0
2-
package com.hedera.hashgraph.tck.exception;
2+
package org.hiero.tck.exception;
33

44
/**
55
* Thrown when the server cannot parse the given parameters.

0 commit comments

Comments
 (0)