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

Update Java and SocketTransportJava to 1.5.8 #87

Merged
merged 4 commits into from
Jul 31, 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
32 changes: 14 additions & 18 deletions .github/workflows/tck-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,20 @@ jobs:
# with:
# command: build
# args: --manifest-path test_agent/rust/Cargo.toml
# - name: Set up JDK 17
# uses: actions/setup-java@v3
# with:
# java-version: '17'
# distribution: 'temurin'
# cache: maven
#- name: Install dependencies
# run: |
# cd scripts
# python build_up_java_latest.py
# - name: Build up_client_socket_java with Maven
# working-directory: up_client_socket/java
# run: |
# mvn clean install --file pom.xml
# - name: Build java_test_agent with Maven
# working-directory: test_agent/java
# run: |
# mvn clean install --file pom.xml
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build up_client_socket_java with Maven
working-directory: up_client_socket/java
run: |
mvn clean install --file pom.xml
- name: Build java_test_agent with Maven
working-directory: test_agent/java
run: |
mvn clean install --file pom.xml
- name: Set up Python 3.8.7
uses: actions/setup-python@v3
with:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ MANIFEST
**/jar_files/**
*.jar
**/.DS_Store
**/target
**/target
test_manager/reports/summary/summary.json
5 changes: 5 additions & 0 deletions test_agent/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
<artifactId>json</artifactId>
<version>20231013</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.8.0</version>
</dependency>
</dependencies>
<build>
<finalName>tck-test-agent-java</finalName>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,21 @@
* SPDX-License-Identifier: Apache-2.0
*/

package org.eclipse.uprotocol.Constants;
package org.eclipse.uprotocol.Constants;

public class ActionCommands {
public static final String SEND_COMMAND = "send";
public static final String REGISTER_LISTENER_COMMAND = "registerlistener";
public static final String UNREGISTER_LISTENER_COMMAND = "unregisterlistener";
public static final String INVOKE_METHOD_COMMAND = "invokemethod";
public static final String RESPONSE_ON_RECEIVE = "onreceive";
public static final String RESPONSE_RPC = "rpcresponse";
public static final String SERIALIZE_URI = "uri_serialize";
public static final String DESERIALIZE_URI = "uri_deserialize";
public static final String VALIDATE_URI = "uri_validate";
public static final String VALIDATE_UUID = "uuid_validate";
public static final String SERIALIZE_UUID = "uuid_serialize";
public static final String DESERIALIZE_UUID = "uuid_deserialize";
public static final String VALIDATE_UATTRIBUTES = "uattributes_validate";
public static final String MICRO_SERIALIZE_URI = "micro_serialize_uri";
public static final String MICRO_DESERIALIZE_URI = "micro_deserialize_uri";

}
public class ActionCommands {
public static final String SEND_COMMAND = "send";
public static final String REGISTER_LISTENER_COMMAND = "registerlistener";
public static final String UNREGISTER_LISTENER_COMMAND = "unregisterlistener";
public static final String RESPONSE_ON_RECEIVE = "onreceive";
public static final String RESPONSE_RPC = "rpcresponse";
public static final String SERIALIZE_URI = "uri_serialize";
public static final String DESERIALIZE_URI = "uri_deserialize";
public static final String VALIDATE_URI = "uri_validate";
public static final String VALIDATE_UUID = "uuid_validate";
public static final String SERIALIZE_UUID = "uuid_serialize";
public static final String DESERIALIZE_UUID = "uuid_deserialize";
public static final String VALIDATE_UATTRIBUTES = "uattributes_validate";
public static final String INITIALIZE_TRANSPORT = "initialize_transport";

}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

public class Constant {
public static final String TEST_MANAGER_IP = "127.0.0.5";
public static final int TEST_MANAGER_PORT = 12345;
public static final int TEST_MANAGER_PORT = 33333;
public static final int BYTES_MSG_LENGTH = 32767;

}
Loading
Loading