JPA Repository and Spring-data-rest baseURi is /profile

Viewed 1916

Just learning springboot (and newish to java: from .NET world)

Too PS course on spring-data and spring-data-rest. All went well

Made a test project connection to MS SQlServer. Created a few JPA Repos and unit tests pass for FindAll

I don't have a base-uri set in app properties and when explore the rest interface (with Postman) everything appears under /profile.

{
    "_links": {
        "self": {
            "href": "http://localhost:8080/profile"
        },
        "users": {
            "href": "http://localhost:8080/profile/users"
        },
        "tasks": {
            "href": "http://localhost:8080/profile/tasks"
        }
    }
}

first question is, where does /profile come from?

1 Answers
Related