Forum: Eclipse Titan |
---|
Topic: Eclipse gitlab rate limiting breaking CI jobs using TITAN repos |
---|
Eclipse gitlab rate limiting breaking CI jobs using TITAN repos [message #1871310] |
Fri, 20 September 2024 06:41 |
|
FYI, I wanted to share here that in Osmocom (where we're heavy users of many of the TITAN TestPorts + ProtocolModules) we are now running increasingly into gitlab.eclipse.org rate limiting.
This was not observed back in the day while titan was still using github + old git.eclipse.org.
I've posted a report at https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/5032 - let's see what the respective admins say.
In the "worst case" we will have to create + maintain local mirrors of all those repositories and then use those local mirrors instead of the gitlab.eclipse.org ones.
I'm just a bit surprised, given how small we as Osmocom are as a project... It's not like we're running millions of CI jobs a day.
No action/response is expected here, I just wanted to share this, in case somebody else has experience with it (or will run into it in the future).
|
|
|
Topic: Cannot bind port (Address already in use) |
---|
Re: Cannot bind port (Address already in use) [message #1871313 is a reply to message #1871034] |
Fri, 20 September 2024 06:44 |
|
What you are seeing is not TTCN-3 related, but a standard POSIX/UNIX/Linux socket API error message: The port/address you're trying to bind to is already used by some other socket / process.
Try something like "netstat -uan" or "ss" or "lsof -iUDP" to check which ports are used [and by whom, in case of lsof]
|
|
|
Forum: Newcomers |
---|
Topic: Problems creating JAR |
---|
Problems creating JAR [message #1871322] |
Fri, 20 September 2024 13:41 |
Leo Santos Messages: 1 Registered: September 2024 |
Junior Member |
|
|
I'm having trouble creating the JAR in my Eclipse. I switched from Windows to Mac, and now this error message is popping up.
"Class files on class path not found or not accessible for"
Does anyone know a way to fix this error?
|
|
|
Topic: Cannot find file |
---|
|
Forum: Papyrus |
---|
Topic: Papyrus for Manufacturing (P4M) |
---|
Re: Papyrus for Manufacturing (P4M) [message #1871328 is a reply to message #1871283] |
Fri, 20 September 2024 16:11 |
Quang-Duy NGUYEN Messages: 2 Registered: July 2024 |
Junior Member |
|
|
- Short Answer:
Here are the POST body works for me:
Body for POST with no arguments:
{
"requestId": "{{$timestamp}},
"inputArguments": [],
"outputArguments": [],
"timeout": 5000
}
Body for POST with n arguments:
{
"requestId": "{{$timestamp}},
"inputArguments": [
{
"modelType": {
"name": "OperationVariable"
},
"value": {
"idShort": <ARGUMENT_1_ID>
"modelType": {
"name": "Property"
},
"kind": "Template",
"valueType": <ARGUMENT_1_TYPE>, // lower case e.g. string, double, boolean, integer
"value": <VALUE>
},
},
// ... (n-1) arguments same to the above>
],
"outputArguments": [],
"timeout": 5000
}
- Long Answer:
There are two problems in the body of your JSON:
- First: the "valueType" seems to work only with lower case. For example, "string" will work but "String" will not.
- Second: there is another problem with Integer. Note that this problem does not happen with Boolean, String or Double. In fact, if you want to work with Integer (the JSON body has the "valueType" with value "integer"), then you must do some trick in the Java code generated by P4M: In detail, you must change generated Integer into BigInteger.
All the above statements I put it in a HelloWorld example. You can find the code here:
https://github.com/nqduy35/P4MPostHelloWorld
In the repo, there are three folders:
1- P4M Model design
2- Java code generated by P4M to run the AAS server
3- Four postman commands equivalent to four operation tests with no arguments, string, double and integer.
|
|
|
Powered by
FUDForum. Page generated in 0.04254 seconds