Closed kikohnl closed 2 years ago
The specific issue you have is that you have not installed the requirements or you are running the code outside the virtual environment that poetry sets up.
The simplest way around this is to use the prebuilt commands in the Makefile.
ocip_schema
directory following the same layout as the existing set (overwrite them).poetry install
schema.pkl
file if it exists - this is a cache file that makes things much fastermake code
This may fail - possibly for trivial reasons (previous versions of schema have had broken BOM or end of file markrers), or possibly because the files are structured differently.
I will see if I can get the R24 schemas and rebuild in the near future, but cannot makr promises as to how quickly.
First attempt is pushed as the r24_bare branch - https://github.com/nigelm/broadworks_ocip/tree/r24_bare
This branch is on top of a whole batch of other changes changing the underlying class system. This appears to work fine, but has only been tested against a live system in very basic form - basically just a login and retrieve version data. However with this and the (sadly undersized) test suite its a pretty good bet that its doing the right thing.
Some of my utilities work and I still have to migrate more to R24.
Thank you!
Description
Current Schema is based on R21 we have moved to R24 and would like to rebuild the classes from the R24 schema.
What I Did