Closed ferenc-hechler closed 1 month ago
Result of the discussion in the technical clinic session: The IDE dependent ignores, like VS-Code, should be kept. The language specific ignores should be moved into the corresponding sub-projects and replaced with the language specific version from https://github.com/github/gitignore/blob/main
So, for TMF638 this will be the Node ignores and not the Python ignores.
Changes were done in branch "feature/issue-289-canvas-info-service". Issue will be closed, when this branch is merged into main.
Description
Added the sources of the Service-Inventory-API into subfolder "source/tmf-services/TMF638_Service_Inventory". Docker image was built from the pipeline. The deployed service fails with the following error message:
The file ./json-schema-ref-parser/lib/index.js is really not present in the docker image. The reason is that in source/.gitignore there is the following entry:
This applies to all subfolders, because it does not start with a "/" ("/lib/") which would limit it to the current folder.
There are lots of entries in the "source/.gitignore" which have to be cleaned up:
https://github.com/tmforum-oda/oda-canvas/blob/e527bd0456679259f0b6d38045c411ff1ada8fee/source/.gitignore#L1-L158