cancel
Showing results for 
Search instead for 
Did you mean: 

How to correctly import sap-capire-products dependency?

jayres
Explorer
0 Kudos

Tutorials: https://developers.sap.com/tutorials/cp-cap-java-service-reuse.html
--------------------------


Hi there,
I'm not being able to reproduce the example because of this import (I guess...).
I did not altered the names of the imported data and by the printscreen one can see the sap-capire-products as specified on tutorial.
Perhaps with the association on Authors and the csv attribute?
on schema:
books : Association to many Books on books.author = $self; }
on csv:
ID;title;descr;author_ID;stock;price;currency_code;category_ID;createdAt

Glad if someone can help me out on this thread.

Accepted Solutions (1)

Accepted Solutions (1)

jayres
Explorer

I think I found the answer on 4th tutorial, I deleted the AdminService without data input.

"In the first tutorial, you defined a simple service, called AdminService, which directly defined the entity Products. As you now have defined the Products entity in your domain model, the AdminService just needs to expose it. In addition, you defined the Categories entity, which should also be part of your service."

EDIT: as matter of fact the wrong import value was on product-service package.json as noticed on part 9 of tutorial 4.
Closing the thread.

Answers (0)