turandot icon indicating copy to clipboard operation
turandot copied to clipboard

Problems with Bookinfo example

Open amarchese96 opened this issue 3 years ago • 3 comments

I tried to compile the Bookinfo example service template using the command:

puccini-tosca compile bookinfo-simple.yaml

but I got the following error:

PROBLEMS (1)
  file:/home/angelo/turandot/examples/bookinfo/types/bookinfo.yaml
    @5,3 imports[0]: URL not found: ../../../../assets/tosca/profiles/kubernetes/1.0/profile.yaml

I modified the import path of the Kubernetes profile to:

../../../assets/tosca/profiles/kubernetes/1.0/profile.yaml

but I got a new error:

PROBLEMS (2)
  file:/home/angelo/turandot/examples/bookinfo/types/bookinfo.yaml
    @31,11 node_types["Bookinfo"].capabilities["deployment"].properties["template"].type: missing required field
    @26,11 node_types["Bookinfo"].capabilities["service"].properties["ports"].type: missing required field

amarchese96 avatar Jul 26 '21 08:07 amarchese96

The main branch is in the middle of some changes. Could you git checkout the same tag that you downloaded?

tliron avatar Jul 26 '21 13:07 tliron

Actually this whole example is out of date and should be deleted. Please ignore it.

tliron avatar Jul 26 '21 13:07 tliron

Ok thank you for the help! I'll wait for the changes to be done.

amarchese96 avatar Jul 26 '21 14:07 amarchese96