techservicesillinois / clearpass-api

Client for Aruba Clearpass
Other
0 stars 0 forks source link

Expose client and exceptions #18

Closed tzturner closed 3 months ago

tzturner commented 3 months ago

Closes #17

edthedev commented 3 months ago

@edthedev I am approving the changes but I was under the impression that we learned at some point SOAR does not actually support Python modules. That you have to stuff everything into a single py script. Am I misremembering?

In other words, I know that external packages are supported but I was under the impression that the main SOAR component itself had to be structured as a py file not a module.

@ddriddle You remember correctly. Doing an import from a file next to app.py didn't work, for us, at all, in the SOAR environment.

What does seem to work is importing from a library delivered as a wheel, embedded in the tar file. We use that pattern for tdxlib in the SOAR TDX app.

So we're hoping that this PR addresses the reason it worked with SOAR TDX, and didn't work for SOAR Clearpass.