Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

gRPC requests are generated on the basis of proto files.

Preparing the environment

Before you start, do the following:

  1. Install the Python interpreter and, if necessary, the IDE.
  2. Install the dependencies via pip:

    Code Block
    pip>=21.1.2
    grpcio-tools>=1.38.0
    googleapis-common-protos
    pyOpenSSL==19.1.0


Creating the proto classes

To create proto classes, do the following:

...

As a result, the script folder will contain the axxonsoft folder with proto classes, which will be used to work with NativeBL via the gRPC channel.

Authorization and first request

To send requests through the gRPC channel, the authorization in NativeBL is required. To do this, use the Server certificate from the C:\ProgramData\AxxonSoft\AxxonNext\Tickets folder.

...