Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add acsStartComponent

...

First launch your acs container with the good ACS_CDB (If you want to component to start with the container).

Code Block
languagebash
titleStart container
acsStartContainer -py aragornContainer
acsStartContainer -java frodoContainer
acsStartContainer -cpp frodoContainer

For simplicity, we implement a simple client in Python to communicate with the 3 programming languages:

Code Block
languagepy
linenumberstrue
collapsetrue
from Acspy.Clients.SimpleClient import PySimpleClient

client = PySimpleClient()

hc_py = client.getComponent("PY_HELLO_COMP")
print(hc_java = client.getComponent("JAVA_HELLO_COMP")
hc_cpppy.printHello())

hc_java = client.getComponent("CPPJAVA_HELLO_COMP")

print(hc_pyjava.printHello())
print(
hc_java.printHello()cpp = client.getComponent("CPP_HELLO_COMP")
print(hc_cpp.printHello())

Output

The output is seen on each container:

...