forked from hyperledger-cacti/cacti
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cockpit): compilation issues hyperledger-cacti#496
The full build with frontend components included are now working once again. 1. The cockpit components no longer depend on the api-client package shipping the standard typescript-axios client types such as DefaultApi, Configuration and the likes. This is because we hollowed out the client-api package to only contain the extensions to these generated types mentioned above (provided via typescript-axios OpenAPI generator) This is part of a larger ongoing effort where we decoupled the api-client and the cmd-api-server packages where earlier there was some tangling between the two in the form of the cmd-api-server exporting it's openapi spec onto the api-client package which in hindsight didn't make much sense to be honest. Mistakes were made, but now are being fixed. 2. A related, but not strictly necessary, cleanup type of change is that we also deleted the remnants of the generated code from the api-client package, e.g. the whole ./generated/openapi/typescrit-axios/ folder is now gone properly (it didn't have any actual Typescript code at this point anyway due to the ongoing changes on other works streams that were pointed out above as well.) Fixes hyperledger-cacti#496 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
- Loading branch information
Showing
8 changed files
with
19 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
packages/cactus-api-client/src/main/typescript/generated/openapi/typescript-axios/.gitignore
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
...i-client/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
...pi-client/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...-client/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/VERSION
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters