Open icemagno opened 4 years ago
A test WEB federate ( RESTfull ). It does nothing for now. No publish/subscribe or send anything. Just join the Federation. It have a REST endpoint to show how to manipulate the aspects of a Federate using the browser. The endpoint is an example and do nothing too, but you could do anything you have doing now using your keyboard. No more SSH! Just point your browser to your Federate's address and controll it.
http://<YOUR_DOCKER_HOST_ADDRESS>:35002/swagger-ui.html
docker run --name testfederate --hostname=testfederate \
-v /etc/localtime:/etc/localtime:ro \
-p 35002:8080 \
-e FEDERATION_NAME=TestFederation \
-e FEDERATE_NAME=federateTest001 \
-d projetoarcanjo/testfederate:1.0
The Docker CRTI found it!
👍
Have a look at https://github.com/hlacontainers/about also. The Pitch and MaK variants are used for some time now.
👍
Have a look at https://github.com/hlacontainers/about also. The Pitch and MaK variants are used for some time now.
Cool! I'll give a look.
Hello @icemagno, I'm trying to set up a web federate and would like to know how did you manage to set this spring boot? I can't find any web related functionalities in the Portico Javadoc (probably outdated). If you have any information about web functionalities with portico I'd be thankful.
Hi. Thanks for the contact.
I'm away from my computer now but as soon as I get back in home I'll ask you in details and send you my code.
[]
Carlos Abreu Brazilian Navy
Em qua., 31 de ago. de 2022 05:42, Ackbar1 @.***> escreveu:
Hello @icemagno https://github.com/icemagno, I'm trying to set up a web federate and would like to know how did you manage to set this spring boot? I can't find any web related functionalities in the Portico Javadoc (probably outdated). If you have any information about web functionalities with portico I'd be thankful.
— Reply to this email directly, view it on GitHub https://github.com/openlvc/portico/issues/307#issuecomment-1232645237, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7PWGDBKEOGEJDIXDLT6RTV34LILANCNFSM4NALXNMQ . You are receiving this because you were mentioned.Message ID: @.***>
Want to have fun with PorticoRTI in Docker?
The current Portico code (presented as version 2.2.0) was containerized in a Docker image called projetoarcanjo/portico.
You can have a simple Portico environment (no Federates running, just Portico) by invoking
This will present you with a shell terminal inside a Docker container with Portico installed at
/opt/portico-2.2.0/
. Have fun.You can have a ready-to-use version of Centralized RTI Executive Process (shortcut to
rtiexec.sh
) using the image projetoarcanjo/rtiexecThis will give you a running RTIEXEC container.
now go to your docker host address:
http://<YOUR_DOCKER_HOST_ADDRESS>:35001/swagger-ui.html
And you will be able to stop it and run it again using your browser.
This is highly experimental and I'm not sure if the current Portico code is safe to execute.
PLEASE DO NOT ASK ANYTHING HERE Here is the official Portico issue tracker and not related to this. If you have any question go to https://github.com/icemagno/portico-wrapper/issues
As soon as I can I will publish a basic web based Federate so you can controll it using your browser. You won't need to be face-to-face to your Federation keyboard anymore.