Skip to content

Commit 4356f1f

Browse files
authored
Merge pull request #1209 from fossa-app/dependabot/nuget/Fossa.Bridge-0.1.38
Bump Fossa.Bridge from 0.1.35 to 0.1.38
2 parents a06c48c + 3aa457e commit 4356f1f

22 files changed

Lines changed: 354 additions & 352 deletions

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<PackageVersion Include="EasyDoubles" Version="1.1.21" />
88
<PackageVersion Include="FluentValidation" Version="12.1.1" />
99
<PackageVersion Include="FluentValidation.AspNetCore" Version="11.3.1" />
10-
<PackageVersion Include="Fossa.Bridge" Version="0.1.35" />
10+
<PackageVersion Include="Fossa.Bridge" Version="0.1.38" />
1111
<PackageVersion Include="Fossa.Licensing" Version="1.3.2" />
1212
<PackageVersion Include="Fossa.Messaging" Version="0.1.7" />
1313
<PackageVersion Include="Hellang.Middleware.ProblemDetails" Version="6.5.1" />

src/API.Web/Api/BranchesController.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ public Task PostAsync(
4949
{
5050
return _sender.Send(
5151
new BranchCreationApiCommand(
52-
model.Name,
53-
model.TimeZoneId,
54-
model.Address),
52+
model.name,
53+
model.timeZoneId,
54+
model.address),
5555
cancellationToken);
5656
}
5757

@@ -65,9 +65,9 @@ public Task PutAsync(
6565
return _sender.Send(
6666
new BranchModificationApiCommand(
6767
id,
68-
model.Name,
69-
model.TimeZoneId,
70-
model.Address),
68+
model.name,
69+
model.timeZoneId,
70+
model.address),
7171
cancellationToken);
7272
}
7373

@@ -78,10 +78,10 @@ public Task<PagingResponseModel<BranchRetrievalModel>> QueryAsync(
7878
{
7979
return _sender.Send(
8080
new BranchPagingApiQuery(
81-
requestModel.Id,
82-
requestModel.Search,
83-
requestModel.PageNumber,
84-
requestModel.PageSize),
81+
requestModel.id,
82+
requestModel.search,
83+
requestModel.pageNumber,
84+
requestModel.pageSize),
8585
cancellationToken);
8686
}
8787
}

src/API.Web/Api/CompanyController.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public async Task PostAsync(
4646
CancellationToken cancellationToken)
4747
{
4848
await _sender.Send(
49-
new CompanyCreationApiCommand(model.Name, model.CountryCode),
49+
new CompanyCreationApiCommand(model.name, model.countryCode),
5050
cancellationToken);
5151
}
5252

@@ -58,8 +58,8 @@ public async Task PutAsync(
5858
{
5959
await _sender.Send(
6060
new CompanyModificationApiCommand(
61-
model.Name,
62-
model.CountryCode),
61+
model.name,
62+
model.countryCode),
6363
cancellationToken);
6464
}
6565
}

src/API.Web/Api/CompanySettingsController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public async Task PostAsync(
4646
CancellationToken cancellationToken)
4747
{
4848
await _sender.Send(
49-
new CompanySettingsCreationApiCommand(model.ColorSchemeId),
49+
new CompanySettingsCreationApiCommand(model.colorSchemeId),
5050
cancellationToken);
5151
}
5252

@@ -57,7 +57,7 @@ public async Task PutAsync(
5757
CancellationToken cancellationToken)
5858
{
5959
await _sender.Send(
60-
new CompanySettingsModificationApiCommand(model.ColorSchemeId),
60+
new CompanySettingsModificationApiCommand(model.colorSchemeId),
6161
cancellationToken);
6262
}
6363
}

src/API.Web/Api/DepartmentsController.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ public Task PostAsync(
4949
{
5050
return _sender.Send(
5151
new DepartmentCreationApiCommand(
52-
model.Name,
53-
model.ParentDepartmentId,
54-
model.ManagerId),
52+
model.name,
53+
model.parentDepartmentId,
54+
model.managerId),
5555
cancellationToken);
5656
}
5757

@@ -65,9 +65,9 @@ public Task PutAsync(
6565
return _sender.Send(
6666
new DepartmentModificationApiCommand(
6767
id,
68-
model.Name,
69-
model.ParentDepartmentId,
70-
model.ManagerId),
68+
model.name,
69+
model.parentDepartmentId,
70+
model.managerId),
7171
cancellationToken);
7272
}
7373

@@ -78,10 +78,10 @@ public Task<PagingResponseModel<DepartmentRetrievalModel>> QueryAsync(
7878
{
7979
return _sender.Send(
8080
new DepartmentPagingApiQuery(
81-
requestModel.Id,
82-
requestModel.Search,
83-
requestModel.PageNumber,
84-
requestModel.PageSize),
81+
requestModel.id,
82+
requestModel.search,
83+
requestModel.pageNumber,
84+
requestModel.pageSize),
8585
cancellationToken);
8686
}
8787
}

src/API.Web/Api/EmployeeController.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ public async Task PostAsync(
4545
{
4646
await _sender.Send(
4747
new EmployeeCreationApiCommand(
48-
model.FirstName,
49-
model.LastName,
50-
model.FullName),
48+
model.firstName,
49+
model.lastName,
50+
model.fullName),
5151
cancellationToken);
5252
}
5353

@@ -58,9 +58,9 @@ public async Task PutAsync(
5858
{
5959
await _sender.Send(
6060
new EmployeeModificationApiCommand(
61-
model.FirstName,
62-
model.LastName,
63-
model.FullName),
61+
model.firstName,
62+
model.lastName,
63+
model.fullName),
6464
cancellationToken);
6565
}
6666
}

src/API.Web/Api/EmployeesController.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ public async Task PutAsync(
4040
await _sender.Send(
4141
new EmployeeManagementApiCommand(
4242
id,
43-
model.AssignedBranchId,
44-
model.AssignedDepartmentId,
45-
model.ReportsToId,
46-
model.JobTitle ?? string.Empty),
43+
model.assignedBranchId,
44+
model.assignedDepartmentId,
45+
model.reportsToId,
46+
model.jobTitle ?? string.Empty),
4747
cancellationToken);
4848
}
4949

@@ -54,12 +54,12 @@ public async Task<PagingResponseModel<EmployeeRetrievalModel>> QueryAsync(
5454
{
5555
return await _sender.Send(
5656
new EmployeePagingApiQuery(
57-
requestModel.Id,
58-
requestModel.Search,
59-
requestModel.ReportsToId,
60-
requestModel.TopLevelOnly,
61-
requestModel.PageNumber,
62-
requestModel.PageSize),
57+
requestModel.id,
58+
requestModel.search,
59+
requestModel.reportsToId,
60+
requestModel.topLevelOnly,
61+
requestModel.pageNumber,
62+
requestModel.pageSize),
6363
cancellationToken);
6464
}
6565
}

src/API.Web/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ WORKDIR /source/src/API.Web
77
RUN dotnet publish --no-restore --configuration Release --runtime linux-$TARGETARCH --no-self-contained --output /app
88

99
FROM --platform=$TARGETARCH mcr.microsoft.com/dotnet/aspnet:10.0.9 AS runtime
10-
RUN apt-get update && apt-get upgrade -y && apt-get install -y curl=8.5.0-2ubuntu10.9 && apt-get clean
10+
RUN apt-get update && apt-get upgrade -y && apt-get install -y curl=8.5.0-2ubuntu10.10 && apt-get clean
1111
WORKDIR /app
1212
COPY --link --from=build /app .
1313
USER app

src/API.Web/Mappers/AddressModelMapper.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ public AddressModel Map(Address source)
3232
public Address Map(AddressModel source)
3333
{
3434
return new Address(
35-
source.Line1 ?? string.Empty,
36-
Optional(source.Line2),
37-
source.City ?? string.Empty,
38-
source.Subdivision ?? string.Empty,
39-
source.PostalCode ?? string.Empty,
40-
CreateCountry(source.CountryCode ?? string.Empty));
35+
source.line1 ?? string.Empty,
36+
Optional(source.line2),
37+
source.city ?? string.Empty,
38+
source.subdivision ?? string.Empty,
39+
source.postalCode ?? string.Empty,
40+
CreateCountry(source.countryCode ?? string.Empty));
4141
}
4242

4343
private CountryInfo CreateCountry(string countryCode)

src/API.Web/Mappers/SystemEntitlementsModelMapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public SystemEntitlementsModel Map(SystemEntitlements source)
3535
_hostEnvironment.EnvironmentName,
3636
source.EnvironmentName.ToString() ?? string.Empty,
3737
[.. source.Countries.Map(_countryModelMapper.Map)],
38-
[.. timeZones.Map(_timeZoneModelMapper.Map).OrderBy(x => x.CurrentOffset)],
38+
[.. timeZones.Map(_timeZoneModelMapper.Map).OrderBy(x => x.currentOffset)],
3939
source.MaximumCompanyCount);
4040
}
4141
}

0 commit comments

Comments
 (0)