Error fix and updated Migration script

This commit is contained in:
Santhosh S 2023-11-22 15:47:15 -05:00
parent 79a3073bea
commit 1cbd6893d8
3 changed files with 1 additions and 83 deletions

View File

@ -16,7 +16,7 @@ namespace DamageAssesment.Api.UsersAccess.Controllers
} }
// [HttpPost("dadeschooltoken")] // [HttpPost("dadeschooltoken")]
// public async Task<ActionResult> DadeSchoolAuthenticateAsync(string username, string password) // public async Task<ActionResult> DadeSchoolAuthenticateAsync(string username, string password)
{ //{
// var result = await userAccessProvider.DadeSchoolAuthenticateAsync(username, password); // var result = await userAccessProvider.DadeSchoolAuthenticateAsync(username, password);
// if (result.IsSuccess) // if (result.IsSuccess)
// { // {

View File

@ -1,80 +0,0 @@
version: '3.4'
services:
answers:
image: santhoshsnair/damageassesmentapianswers:latest
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "6001:80"
attachments:
image: santhoshsnair/damageassesmentapiattachments:latest
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "6002:80"
employees:
image: santhoshsnair/damageassesmentapiemployees:latest
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "6003:80"
locations:
image: santhoshsnair/damageassesmentapilocations:latest
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "6004:80"
questions:
image: santhoshsnair/damageassesmentapiquestions:latest
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "6005:80"
responses:
image: santhoshsnair/damageassesmentapisurveyresponses:latest
environment:
- ASPNETCORE_ENVIRONMENT=Development
- services__Answers=http://10.0.0.4:19081/dasapp/answers/
- services__Locations=http://10.0.0.4:19081/dasapp/locations/
- services__Questions=http://10.0.0.4:19081/dasapp/questions/
- services__Employees=http://10.0.0.4:19081/dasapp/employees/
- services__Attachments=http://10.0.0.4:19081/dasapp/attachments/
- services__Surveys=http://10.0.0.4:19081/dasapp/survey/
ports:
- "6006:80"
surveys:
image: santhoshsnair/damageassesmentapisurveys:latest
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "6007:80"
doculinks:
image: santhoshsnair/damageassesmentapidoculinks:latest
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "6009:80"
sqlserver:
image: mcr.microsoft.com/mssql/server:2019-latest
environment:
- SA_PASSWORD=your_password
- ACCEPT_EULA=Y
ports:
- "1433:1433"
volumes:
- ./sql_data:/var/opt/mssql/data

View File

@ -9,9 +9,7 @@
<DockerServiceName>damageassesment.api.answers</DockerServiceName> <DockerServiceName>damageassesment.api.answers</DockerServiceName>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<None Include="docker-compos.tst.yml" />
<None Include="docker-compose.sql.yml" /> <None Include="docker-compose.sql.yml" />
<None Include="docker-compose.asf.yml" />
<None Include="docker-compose.override.yml"> <None Include="docker-compose.override.yml">
<DependentUpon>docker-compose.yml</DependentUpon> <DependentUpon>docker-compose.yml</DependentUpon>
</None> </None>