2023-08-15 22:52:30 -05:00
|
|
|
{
|
|
|
|
"Logging": {
|
|
|
|
"LogLevel": {
|
|
|
|
"Default": "Information",
|
|
|
|
"Microsoft.AspNetCore": "Warning"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"AllowedHosts": "*",
|
2023-09-14 14:35:23 -05:00
|
|
|
|
2023-10-05 14:42:41 -05:00
|
|
|
//"EndPointSettings": {
|
|
|
|
// "AnswerUrlBase": "http://localhost:5200",
|
|
|
|
// "LocationUrlBase": "http://localhost:5213",
|
|
|
|
// "RegionUrlBase": "http://localhost:5211",
|
|
|
|
// "QuestionUrlBase": "http://localhost:5133",
|
|
|
|
// "EmployeeUrlBase": "http://localhost:5135",
|
|
|
|
// "AttachmentUrlBase": "http://localhost:5243",
|
|
|
|
// "SurveyUrlBase": "http://localhost:5009"
|
|
|
|
//},
|
2023-10-06 17:22:37 -05:00
|
|
|
//Endpoints for docker-container
|
2023-08-15 22:52:30 -05:00
|
|
|
"EndPointSettings": {
|
2023-09-14 14:35:23 -05:00
|
|
|
"AnswerUrlBase": "http://damageassesment.api.answers:80",
|
|
|
|
"LocationUrlBase": "http://damageassesment.api.locations:80",
|
|
|
|
"QuestionUrlBase": "http://damageassesment.api.questions:80",
|
|
|
|
"EmployeeUrlBase": "http://damageassesment.api.employees:80",
|
|
|
|
"AttachmentUrlBase": "http://damageassesment.api.attachments:80",
|
2023-10-06 17:22:37 -05:00
|
|
|
"SurveyUrlBase": "http://damageassesment.api.surveys:80"
|
2023-09-13 00:28:24 -05:00
|
|
|
},
|
2023-08-15 22:52:30 -05:00
|
|
|
|
2023-09-13 00:28:24 -05:00
|
|
|
"RessourceSettings": {
|
2023-10-04 10:55:35 -05:00
|
|
|
"Employee": "/employees",
|
|
|
|
"EmployeeById": "/employees/{0}",
|
|
|
|
"Question": "/questions",
|
|
|
|
"QuestionById": "/questions/{0}",
|
|
|
|
"SurveyQuestion": "/questions/bysurvey/{0}",
|
|
|
|
"Survey": "/surveys",
|
|
|
|
"SurveyById": "/surveys/{0}",
|
|
|
|
"Attachment": "/attachments",
|
|
|
|
"Answer": "/answers",
|
|
|
|
"AnswerByResponse": "/answers/byresponse/{0}",
|
|
|
|
"Location": "/locations",
|
|
|
|
"Region": "/regions"
|
2023-10-10 15:28:30 -05:00
|
|
|
},
|
|
|
|
"ConnectionStrings": {
|
|
|
|
//"SurveyResponseConnection": "Server=DESKTOP-OF5DPLQ\\SQLEXPRESS;Database=da_survey_dev;Trusted_Connection=True;TrustServerCertificate=True;"
|
|
|
|
"ResponsesConnection": "Server=localhost,1433;Database=da_survey_dev;User Id=sa;Password=Password123;TrustServerCertificate=True;"
|
2023-08-15 22:52:30 -05:00
|
|
|
}
|
|
|
|
}
|