We have installed Content service, Discovery service, and DXA Model service. Since auto registration for DXA Model service is failing, as per DXA Model Service documentation from GIT Hub added the role directly in CD storage config for discovery service and Content service as follows
<Role Name="ContentServiceCapability" Url="http://system name:9081/content.svc">
<Property Name="dxa-model-service" Value="http://system name:9083"/>
</Role>
After that as Services are up and running we tried to run the sample DXA application locally, We got the below error
DXA Model Service is not registered; no extension property called 'dxa-model-service' found on Content Service Capability.
When we have validated the DXA Model Service using Postman we got below error
{
"timestamp": [
"String",
"2018-05-29T09:31:29.070+0000"
],
"status": 500,
"error": "Internal Server Error",
"exception": "com.sdl.odata.client.api.exception.ODataClientHttpError",
"message": "Unable to get response from OData service: 404 Not Found\r\n",
"path": "/"
}
We have Used SDL Documentation along with below blogs
https://velmuruganarjunan.wordpress.com/category/dxa/
Can you please suggest If we are missing any configurations?
discovery\config>java -jar discovery-registration.jar update