cancel
Showing results for 
Search instead for 
Did you mean: 

Get null id value from Mapper Object in my Spring Boot through Neo4j

sngermiyanoglu
Node Clone

Hi,

I have a problem about getting id value null from sending any request like createCity, updateCity, createRoute and updateRoute. 

I defined CityResponse and RouteResponse for mapper object.

I think there is a problem in docker-compose.yml related with data which is stored in the volume.

Here is the screenshot

screenshot_neo4j_17.PNG

How can I fix the issue?

Here is my repository link : Link 

1 REPLY 1

gerrit_meier
Neo4j
Neo4j

Have you fixed the problem? I did a fresh checkout of your project and get

{
"id": "3f443c84-7909-41ba-9375-a83546e83595",
"name": "Braunschweig",
"routes": []
}

when calling 

POST http://localhost:8077/api/v1/city
Content-Type: application/json

{
"name": "Braunschweig"
}