mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 17:42:49 -05:00
Merge branch 'master' into flexible-collections/deprecate-custom-collection-perm
This commit is contained in:
144
.github/renovate.json
vendored
144
.github/renovate.json
vendored
@ -8,8 +8,9 @@
|
|||||||
":pinAllExceptPeerDependencies",
|
":pinAllExceptPeerDependencies",
|
||||||
":prConcurrentLimit10",
|
":prConcurrentLimit10",
|
||||||
":rebaseStalePrs",
|
":rebaseStalePrs",
|
||||||
"schedule:weekends",
|
":separateMajorReleases",
|
||||||
":separateMajorReleases"
|
"group:monorepos",
|
||||||
|
"schedule:weekends"
|
||||||
],
|
],
|
||||||
"enabledManagers": [
|
"enabledManagers": [
|
||||||
"dockerfile",
|
"dockerfile",
|
||||||
@ -18,6 +19,8 @@
|
|||||||
"npm",
|
"npm",
|
||||||
"nuget"
|
"nuget"
|
||||||
],
|
],
|
||||||
|
"commitMessagePrefix": "[deps]:",
|
||||||
|
"commitMessageTopic": "{{depName}}",
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"groupName": "dockerfile minor",
|
"groupName": "dockerfile minor",
|
||||||
@ -35,14 +38,139 @@
|
|||||||
"matchUpdateTypes": ["minor", "patch"]
|
"matchUpdateTypes": ["minor", "patch"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"groupName": "npm minor",
|
"matchPackageNames": ["DnsClient", "Quartz"],
|
||||||
"matchManagers": ["npm"],
|
"description": "Admin Console owned dependencies",
|
||||||
"matchUpdateTypes": ["minor", "patch"]
|
"commitMessagePrefix": "[deps] AC:",
|
||||||
|
"reviewers": ["team:team-admin-console-dev"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"groupName": "nuget minor",
|
"matchFileNames": ["src/Admin/package.json", "src/Sso/package.json"],
|
||||||
"matchManagers": ["nuget"],
|
"description": "Admin & SSO npm packages",
|
||||||
"matchUpdateTypes": ["minor", "patch"]
|
"reviewers": ["team:team-auth-dev"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matchPackageNames": [
|
||||||
|
"AspNetCoreRateLimit",
|
||||||
|
"AspNetCoreRateLimit.Redis",
|
||||||
|
"Azure.Extensions.AspNetCore.DataProtection.Blobs",
|
||||||
|
"Azure.Messaging.EventGrid",
|
||||||
|
"Azure.Messaging.ServiceBus",
|
||||||
|
"Azure.Storage.Blobs",
|
||||||
|
"Azure.Storage.Queues",
|
||||||
|
"Fido2.AspNet",
|
||||||
|
"IdentityServer4",
|
||||||
|
"IdentityServer4.AccessTokenValidation",
|
||||||
|
"Microsoft.Azure.Cosmos",
|
||||||
|
"Microsoft.Azure.Cosmos.Table",
|
||||||
|
"Microsoft.Extensions.Caching.StackExchangeRedis",
|
||||||
|
"Microsoft.Extensions.Identity.Stores",
|
||||||
|
"Otp.NET",
|
||||||
|
"Sustainsys.Saml2.AspNetCore2",
|
||||||
|
"YubicoDotNetClient"
|
||||||
|
],
|
||||||
|
"description": "Auth owned dependencies",
|
||||||
|
"commitMessagePrefix": "[deps] Auth:",
|
||||||
|
"reviewers": ["team:team-auth-dev"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matchPackageNames": [
|
||||||
|
"AutoFixture.AutoNSubstitute",
|
||||||
|
"AutoFixture.Xunit2",
|
||||||
|
"BenchmarkDotNet",
|
||||||
|
"BitPay.Light",
|
||||||
|
"Braintree",
|
||||||
|
"coverlet.collector",
|
||||||
|
"FluentAssertions",
|
||||||
|
"Kralizek.AutoFixture.Extensions.MockHttp",
|
||||||
|
"Microsoft.AspNetCore.Mvc.Testing",
|
||||||
|
"Microsoft.Extensions.Logging",
|
||||||
|
"Microsoft.Extensions.Logging.Console",
|
||||||
|
"Newtonsoft.Json",
|
||||||
|
"NSubstitute",
|
||||||
|
"Sentry.Serilog",
|
||||||
|
"Serilog.AspNetCore",
|
||||||
|
"Serilog.Extensions.Logging",
|
||||||
|
"Serilog.Extensions.Logging.File",
|
||||||
|
"Serilog.Sinks.AzureCosmosDB",
|
||||||
|
"Serilog.Sinks.SyslogMessages",
|
||||||
|
"Stripe.net",
|
||||||
|
"Swashbuckle.AspNetCore",
|
||||||
|
"Swashbuckle.AspNetCore.SwaggerGen",
|
||||||
|
"xunit",
|
||||||
|
"xunit.runner.visualstudio"
|
||||||
|
],
|
||||||
|
"description": "Billing owned dependencies",
|
||||||
|
"commitMessagePrefix": "[deps] Billing:",
|
||||||
|
"reviewers": ["team:team-billing-dev"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matchPackageNames": ["CommandDotNet", "dbup-sqlserver", "YamlDotNet"],
|
||||||
|
"description": "DevOps owned dependencies",
|
||||||
|
"commitMessagePrefix": "[deps] DevOps:",
|
||||||
|
"reviewers": ["team:team-devops"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matchPackageNames": [
|
||||||
|
"Microsoft.AspNetCore.Authentication.JwtBearer",
|
||||||
|
"Microsoft.AspNetCore.Http",
|
||||||
|
"Microsoft.Data.SqlClient"
|
||||||
|
],
|
||||||
|
"description": "Platform owned dependencies",
|
||||||
|
"commitMessagePrefix": "[deps] Platform:",
|
||||||
|
"reviewers": ["team:team-platform-dev"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matchPackageNames": [
|
||||||
|
"Dapper",
|
||||||
|
"linq2db.EntityFrameworkCore",
|
||||||
|
"Microsoft.EntityFrameworkCore.Design",
|
||||||
|
"Microsoft.EntityFrameworkCore.InMemory",
|
||||||
|
"Microsoft.EntityFrameworkCore.Relational",
|
||||||
|
"Microsoft.EntityFrameworkCore.Sqlite",
|
||||||
|
"Microsoft.EntityFrameworkCore.SqlServer",
|
||||||
|
"Npgsql.EntityFrameworkCore.PostgreSQL",
|
||||||
|
"Pomelo.EntityFrameworkCore.MySql"
|
||||||
|
],
|
||||||
|
"description": "Secrets Manager owned dependencies",
|
||||||
|
"commitMessagePrefix": "[deps] SM:",
|
||||||
|
"reviewers": ["team:team-secrets-manager-dev"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matchPackageNames": [
|
||||||
|
"AutoMapper.Extensions.Microsoft.DependencyInjection",
|
||||||
|
"AWSSDK.SimpleEmail",
|
||||||
|
"AWSSDK.SQS",
|
||||||
|
"Handlebars.Net",
|
||||||
|
"LaunchDarkly.ServerSdk",
|
||||||
|
"MailKit",
|
||||||
|
"Microsoft.AspNetCore.SignalR.Protocols.MessagePack",
|
||||||
|
"Microsoft.AspNetCore.SignalR.StackExchangeRedis",
|
||||||
|
"Microsoft.Azure.NotificationHubs",
|
||||||
|
"Microsoft.Extensions.Configuration",
|
||||||
|
"Microsoft.Extensions.Configuration.EnvironmentVariables",
|
||||||
|
"Microsoft.Extensions.Configuration.UserSecrets",
|
||||||
|
"Microsoft.Extensions.DependencyInjection",
|
||||||
|
"Microsoft.Extensions.DependencyInjection.Abstractions",
|
||||||
|
"SendGrid"
|
||||||
|
],
|
||||||
|
"description": "Tools owned dependencies",
|
||||||
|
"commitMessagePrefix": "[deps] Tools:",
|
||||||
|
"reviewers": ["team:team-tools-dev"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matchPackageNames": [
|
||||||
|
"AngleSharp",
|
||||||
|
"AspNetCore.HealthChecks.AzureServiceBus",
|
||||||
|
"AspNetCore.HealthChecks.AzureStorage",
|
||||||
|
"AspNetCore.HealthChecks.Network",
|
||||||
|
"AspNetCore.HealthChecks.Redis",
|
||||||
|
"AspNetCore.HealthChecks.SendGrid",
|
||||||
|
"AspNetCore.HealthChecks.SqlServer",
|
||||||
|
"AspNetCore.HealthChecks.Uris"
|
||||||
|
],
|
||||||
|
"description": "Vault owned dependencies",
|
||||||
|
"commitMessagePrefix": "[deps] Vault:",
|
||||||
|
"reviewers": ["team:team-vault-dev"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"force": {
|
"force": {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
<Version>2023.10.0</Version>
|
<Version>2023.10.1</Version>
|
||||||
<RootNamespace>Bit.$(MSBuildProjectName)</RootNamespace>
|
<RootNamespace>Bit.$(MSBuildProjectName)</RootNamespace>
|
||||||
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
|
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
@ -2628,7 +2628,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
|
@ -2631,7 +2631,7 @@
|
|||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2639,7 +2639,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -2651,9 +2651,9 @@
|
|||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2791,7 +2791,7 @@
|
|||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2799,7 +2799,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -2811,9 +2811,9 @@
|
|||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -55,6 +55,7 @@ public class MaxProjectsQueryTests
|
|||||||
[BitAutoData(PlanType.TeamsAnnually2019)]
|
[BitAutoData(PlanType.TeamsAnnually2019)]
|
||||||
[BitAutoData(PlanType.TeamsAnnually2020)]
|
[BitAutoData(PlanType.TeamsAnnually2020)]
|
||||||
[BitAutoData(PlanType.TeamsAnnually)]
|
[BitAutoData(PlanType.TeamsAnnually)]
|
||||||
|
[BitAutoData(PlanType.TeamsStarter)]
|
||||||
[BitAutoData(PlanType.EnterpriseMonthly2019)]
|
[BitAutoData(PlanType.EnterpriseMonthly2019)]
|
||||||
[BitAutoData(PlanType.EnterpriseMonthly2020)]
|
[BitAutoData(PlanType.EnterpriseMonthly2020)]
|
||||||
[BitAutoData(PlanType.EnterpriseMonthly)]
|
[BitAutoData(PlanType.EnterpriseMonthly)]
|
||||||
|
@ -2667,7 +2667,7 @@
|
|||||||
"commercial.core": {
|
"commercial.core": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )"
|
"Core": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"common": {
|
"common": {
|
||||||
@ -2675,7 +2675,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
||||||
"AutoFixture.Xunit2": "[4.17.0, )",
|
"AutoFixture.Xunit2": "[4.17.0, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
||||||
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
||||||
"NSubstitute": "[4.3.0, )",
|
"NSubstitute": "[4.3.0, )",
|
||||||
@ -2729,8 +2729,8 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
||||||
"AutoFixture.Xunit2": "[4.17.0, )",
|
"AutoFixture.Xunit2": "[4.17.0, )",
|
||||||
"Common": "[2023.10.0, )",
|
"Common": "[2023.10.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
||||||
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
||||||
"NSubstitute": "[4.3.0, )",
|
"NSubstitute": "[4.3.0, )",
|
||||||
|
@ -2981,7 +2981,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
||||||
"AutoFixture.Xunit2": "[4.17.0, )",
|
"AutoFixture.Xunit2": "[4.17.0, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
||||||
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
||||||
"NSubstitute": "[4.3.0, )",
|
"NSubstitute": "[4.3.0, )",
|
||||||
@ -3033,15 +3033,15 @@
|
|||||||
"identity": {
|
"identity": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"SharedWeb": "[2023.10.0, )",
|
"SharedWeb": "[2023.10.1, )",
|
||||||
"Swashbuckle.AspNetCore.SwaggerGen": "[6.5.0, )"
|
"Swashbuckle.AspNetCore.SwaggerGen": "[6.5.0, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3049,7 +3049,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -3061,8 +3061,8 @@
|
|||||||
"integrationtestcommon": {
|
"integrationtestcommon": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Common": "[2023.10.0, )",
|
"Common": "[2023.10.1, )",
|
||||||
"Identity": "[2023.10.0, )",
|
"Identity": "[2023.10.1, )",
|
||||||
"Microsoft.AspNetCore.Mvc.Testing": "[6.0.5, )",
|
"Microsoft.AspNetCore.Mvc.Testing": "[6.0.5, )",
|
||||||
"Microsoft.Extensions.Configuration": "[6.0.1, )"
|
"Microsoft.Extensions.Configuration": "[6.0.1, )"
|
||||||
}
|
}
|
||||||
@ -3070,16 +3070,16 @@
|
|||||||
"scim": {
|
"scim": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"SharedWeb": "[2023.10.0, )"
|
"SharedWeb": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2834,7 +2834,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
||||||
"AutoFixture.Xunit2": "[4.17.0, )",
|
"AutoFixture.Xunit2": "[4.17.0, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
||||||
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
||||||
"NSubstitute": "[4.3.0, )",
|
"NSubstitute": "[4.3.0, )",
|
||||||
@ -2886,7 +2886,7 @@
|
|||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2894,7 +2894,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -2906,16 +2906,16 @@
|
|||||||
"scim": {
|
"scim": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"SharedWeb": "[2023.10.0, )"
|
"SharedWeb": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -82,7 +82,7 @@
|
|||||||
<label asp-for="PlanType"></label>
|
<label asp-for="PlanType"></label>
|
||||||
@{
|
@{
|
||||||
var planTypes = Enum.GetValues<PlanType>()
|
var planTypes = Enum.GetValues<PlanType>()
|
||||||
.Where(p => Model.Provider == null || p is >= PlanType.TeamsMonthly and <= PlanType.EnterpriseAnnually)
|
.Where(p => Model.Provider == null || p is >= PlanType.TeamsMonthly and <= PlanType.TeamsStarter)
|
||||||
.Select(e => new SelectListItem
|
.Select(e => new SelectListItem
|
||||||
{
|
{
|
||||||
Value = ((int)e).ToString(),
|
Value = ((int)e).ToString(),
|
||||||
|
@ -74,6 +74,7 @@
|
|||||||
case '@((byte)PlanType.TeamsAnnually2020)':
|
case '@((byte)PlanType.TeamsAnnually2020)':
|
||||||
case '@((byte)PlanType.TeamsMonthly)':
|
case '@((byte)PlanType.TeamsMonthly)':
|
||||||
case '@((byte)PlanType.TeamsAnnually)':
|
case '@((byte)PlanType.TeamsAnnually)':
|
||||||
|
case '@((byte)PlanType.TeamsStarter)':
|
||||||
document.getElementById('@(nameof(Model.UsePolicies))').checked = false;
|
document.getElementById('@(nameof(Model.UsePolicies))').checked = false;
|
||||||
document.getElementById('@(nameof(Model.UseSso))').checked = false;
|
document.getElementById('@(nameof(Model.UseSso))').checked = false;
|
||||||
document.getElementById('@(nameof(Model.UseGroups))').checked = true;
|
document.getElementById('@(nameof(Model.UseGroups))').checked = true;
|
||||||
|
@ -2792,15 +2792,15 @@
|
|||||||
"commercial.core": {
|
"commercial.core": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )"
|
"Core": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"commercial.infrastructure.entityframework": {
|
"commercial.infrastructure.entityframework": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"core": {
|
"core": {
|
||||||
@ -2848,7 +2848,7 @@
|
|||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2856,7 +2856,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -2868,7 +2868,7 @@
|
|||||||
"migrator": {
|
"migrator": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.Extensions.Logging": "[6.0.0, )",
|
"Microsoft.Extensions.Logging": "[6.0.0, )",
|
||||||
"dbup-sqlserver": "[5.0.8, )"
|
"dbup-sqlserver": "[5.0.8, )"
|
||||||
}
|
}
|
||||||
@ -2876,30 +2876,30 @@
|
|||||||
"mysqlmigrations": {
|
"mysqlmigrations": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"postgresmigrations": {
|
"postgresmigrations": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sqlitemigrations": {
|
"sqlitemigrations": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,9 +33,12 @@ public class PlansController : Controller
|
|||||||
public ListResponseModel<PlanResponseModel> Get()
|
public ListResponseModel<PlanResponseModel> Get()
|
||||||
{
|
{
|
||||||
var plansUpgradeIsEnabled = _featureService.IsEnabled(FeatureFlagKeys.BillingPlansUpgrade, _currentContext);
|
var plansUpgradeIsEnabled = _featureService.IsEnabled(FeatureFlagKeys.BillingPlansUpgrade, _currentContext);
|
||||||
var data = StaticStore.Plans;
|
var teamsStarterPlanIsEnabled = _featureService.IsEnabled(FeatureFlagKeys.BillingStarterPlan, _currentContext);
|
||||||
var responses = data
|
var responses = StaticStore.Plans
|
||||||
.Where(plan => plansUpgradeIsEnabled || plan.Type <= PlanType.EnterpriseAnnually2020)
|
// If plans upgrade is disabled, return only the original plans. Otherwise, return everything
|
||||||
|
.Where(plan => plansUpgradeIsEnabled || plan.Type <= PlanType.EnterpriseAnnually2020 || plan.Type == PlanType.TeamsStarter)
|
||||||
|
// If teams starter is disabled, don't return that plan, otherwise return everything
|
||||||
|
.Where(plan => teamsStarterPlanIsEnabled || plan.Product != ProductType.TeamsStarter)
|
||||||
.Select(plan =>
|
.Select(plan =>
|
||||||
{
|
{
|
||||||
if (!plansUpgradeIsEnabled && plan.Type is <= PlanType.EnterpriseAnnually2020 and >= PlanType.TeamsMonthly2020)
|
if (!plansUpgradeIsEnabled && plan.Type is <= PlanType.EnterpriseAnnually2020 and >= PlanType.TeamsMonthly2020)
|
||||||
|
@ -2772,15 +2772,15 @@
|
|||||||
"commercial.core": {
|
"commercial.core": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )"
|
"Core": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"commercial.infrastructure.entityframework": {
|
"commercial.infrastructure.entityframework": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"core": {
|
"core": {
|
||||||
@ -2828,7 +2828,7 @@
|
|||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2836,7 +2836,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -2848,9 +2848,9 @@
|
|||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -164,6 +164,7 @@ public class FreshsalesController : Controller
|
|||||||
case PlanType.TeamsMonthly:
|
case PlanType.TeamsMonthly:
|
||||||
case PlanType.TeamsMonthly2020:
|
case PlanType.TeamsMonthly2020:
|
||||||
case PlanType.TeamsMonthly2019:
|
case PlanType.TeamsMonthly2019:
|
||||||
|
case PlanType.TeamsStarter:
|
||||||
planName = "Teams";
|
planName = "Teams";
|
||||||
return true;
|
return true;
|
||||||
case PlanType.EnterpriseAnnually:
|
case PlanType.EnterpriseAnnually:
|
||||||
|
@ -2631,7 +2631,7 @@
|
|||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2639,7 +2639,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -2651,9 +2651,9 @@
|
|||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -64,6 +64,7 @@ public static class FeatureFlagKeys
|
|||||||
public const string AutofillOverlay = "autofill-overlay";
|
public const string AutofillOverlay = "autofill-overlay";
|
||||||
public const string ItemShare = "item-share";
|
public const string ItemShare = "item-share";
|
||||||
public const string BillingPlansUpgrade = "billing-plans-upgrade";
|
public const string BillingPlansUpgrade = "billing-plans-upgrade";
|
||||||
|
public const string BillingStarterPlan = "billing-starter-plan";
|
||||||
|
|
||||||
public static List<string> GetAllKeys()
|
public static List<string> GetAllKeys()
|
||||||
{
|
{
|
||||||
|
@ -36,4 +36,6 @@ public enum PlanType : byte
|
|||||||
EnterpriseMonthly = 14,
|
EnterpriseMonthly = 14,
|
||||||
[Display(Name = "Enterprise (Annually)")]
|
[Display(Name = "Enterprise (Annually)")]
|
||||||
EnterpriseAnnually = 15,
|
EnterpriseAnnually = 15,
|
||||||
|
[Display(Name = "Teams Starter")]
|
||||||
|
TeamsStarter = 16,
|
||||||
}
|
}
|
||||||
|
@ -12,5 +12,7 @@ public enum ProductType : byte
|
|||||||
Teams = 2,
|
Teams = 2,
|
||||||
[Display(Name = "Enterprise")]
|
[Display(Name = "Enterprise")]
|
||||||
Enterprise = 3,
|
Enterprise = 3,
|
||||||
|
[Display(Name = "Teams Starter")]
|
||||||
|
TeamsStarter = 4,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,10 +4,18 @@ using Plan = Bit.Core.Models.StaticStore.Plan;
|
|||||||
|
|
||||||
namespace Bit.Core.Models.Business;
|
namespace Bit.Core.Models.Business;
|
||||||
|
|
||||||
public class OrganizationSubscriptionOptionsBase : Stripe.SubscriptionCreateOptions
|
public class OrganizationSubscriptionOptionsBase : SubscriptionCreateOptions
|
||||||
{
|
{
|
||||||
public OrganizationSubscriptionOptionsBase(Organization org, StaticStore.Plan plan, TaxInfo taxInfo, int additionalSeats,
|
public OrganizationSubscriptionOptionsBase(
|
||||||
int additionalStorageGb, bool premiumAccessAddon, int additionalSmSeats, int additionalServiceAccounts)
|
Organization org,
|
||||||
|
Plan plan,
|
||||||
|
TaxInfo taxInfo,
|
||||||
|
int additionalSeats,
|
||||||
|
int additionalStorageGb,
|
||||||
|
bool premiumAccessAddon,
|
||||||
|
bool useSecretsManager,
|
||||||
|
int additionalSmSeats,
|
||||||
|
int additionalServiceAccounts)
|
||||||
{
|
{
|
||||||
Items = new List<SubscriptionItemOptions>();
|
Items = new List<SubscriptionItemOptions>();
|
||||||
Metadata = new Dictionary<string, string>
|
Metadata = new Dictionary<string, string>
|
||||||
@ -17,7 +25,7 @@ public class OrganizationSubscriptionOptionsBase : Stripe.SubscriptionCreateOpti
|
|||||||
|
|
||||||
AddPlanIdToSubscription(plan);
|
AddPlanIdToSubscription(plan);
|
||||||
|
|
||||||
if (org.UseSecretsManager)
|
if (useSecretsManager)
|
||||||
{
|
{
|
||||||
AddSecretsManagerSeat(plan, additionalSmSeats);
|
AddSecretsManagerSeat(plan, additionalSmSeats);
|
||||||
AddServiceAccount(plan, additionalServiceAccounts);
|
AddServiceAccount(plan, additionalServiceAccounts);
|
||||||
@ -38,7 +46,10 @@ public class OrganizationSubscriptionOptionsBase : Stripe.SubscriptionCreateOpti
|
|||||||
if (additionalSmSeats > 0 && plan.SecretsManager.StripeSeatPlanId != null)
|
if (additionalSmSeats > 0 && plan.SecretsManager.StripeSeatPlanId != null)
|
||||||
{
|
{
|
||||||
Items.Add(new SubscriptionItemOptions
|
Items.Add(new SubscriptionItemOptions
|
||||||
{ Plan = plan.SecretsManager.StripeSeatPlanId, Quantity = additionalSmSeats });
|
{
|
||||||
|
Plan = plan.SecretsManager.StripeSeatPlanId,
|
||||||
|
Quantity = additionalSmSeats
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -47,11 +58,14 @@ public class OrganizationSubscriptionOptionsBase : Stripe.SubscriptionCreateOpti
|
|||||||
if (additionalSeats > 0 && plan.PasswordManager.StripeSeatPlanId != null)
|
if (additionalSeats > 0 && plan.PasswordManager.StripeSeatPlanId != null)
|
||||||
{
|
{
|
||||||
Items.Add(new SubscriptionItemOptions
|
Items.Add(new SubscriptionItemOptions
|
||||||
{ Plan = plan.PasswordManager.StripeSeatPlanId, Quantity = additionalSeats });
|
{
|
||||||
|
Plan = plan.PasswordManager.StripeSeatPlanId,
|
||||||
|
Quantity = additionalSeats
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AddServiceAccount(StaticStore.Plan plan, int additionalServiceAccounts)
|
private void AddServiceAccount(Plan plan, int additionalServiceAccounts)
|
||||||
{
|
{
|
||||||
if (additionalServiceAccounts > 0 && plan.SecretsManager.StripeServiceAccountPlanId != null)
|
if (additionalServiceAccounts > 0 && plan.SecretsManager.StripeServiceAccountPlanId != null)
|
||||||
{
|
{
|
||||||
@ -63,7 +77,7 @@ public class OrganizationSubscriptionOptionsBase : Stripe.SubscriptionCreateOpti
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AddAdditionalStorage(StaticStore.Plan plan, int additionalStorageGb)
|
private void AddAdditionalStorage(Plan plan, int additionalStorageGb)
|
||||||
{
|
{
|
||||||
if (additionalStorageGb > 0)
|
if (additionalStorageGb > 0)
|
||||||
{
|
{
|
||||||
@ -75,19 +89,27 @@ public class OrganizationSubscriptionOptionsBase : Stripe.SubscriptionCreateOpti
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AddPremiumAccessAddon(StaticStore.Plan plan, bool premiumAccessAddon)
|
private void AddPremiumAccessAddon(Plan plan, bool premiumAccessAddon)
|
||||||
{
|
{
|
||||||
if (premiumAccessAddon && plan.PasswordManager.StripePremiumAccessPlanId != null)
|
if (premiumAccessAddon && plan.PasswordManager.StripePremiumAccessPlanId != null)
|
||||||
{
|
{
|
||||||
Items.Add(new SubscriptionItemOptions { Plan = plan.PasswordManager.StripePremiumAccessPlanId, Quantity = 1 });
|
Items.Add(new SubscriptionItemOptions
|
||||||
|
{
|
||||||
|
Plan = plan.PasswordManager.StripePremiumAccessPlanId,
|
||||||
|
Quantity = 1
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AddPlanIdToSubscription(StaticStore.Plan plan)
|
private void AddPlanIdToSubscription(Plan plan)
|
||||||
{
|
{
|
||||||
if (plan.PasswordManager.StripePlanId != null)
|
if (plan.PasswordManager.StripePlanId != null)
|
||||||
{
|
{
|
||||||
Items.Add(new SubscriptionItemOptions { Plan = plan.PasswordManager.StripePlanId, Quantity = 1 });
|
Items.Add(new SubscriptionItemOptions
|
||||||
|
{
|
||||||
|
Plan = plan.PasswordManager.StripePlanId,
|
||||||
|
Quantity = 1
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -95,11 +117,18 @@ public class OrganizationSubscriptionOptionsBase : Stripe.SubscriptionCreateOpti
|
|||||||
public class OrganizationPurchaseSubscriptionOptions : OrganizationSubscriptionOptionsBase
|
public class OrganizationPurchaseSubscriptionOptions : OrganizationSubscriptionOptionsBase
|
||||||
{
|
{
|
||||||
public OrganizationPurchaseSubscriptionOptions(
|
public OrganizationPurchaseSubscriptionOptions(
|
||||||
Organization org, StaticStore.Plan plan,
|
Organization org,
|
||||||
TaxInfo taxInfo, int additionalSeats,
|
Plan plan,
|
||||||
int additionalStorageGb, bool premiumAccessAddon,
|
TaxInfo taxInfo,
|
||||||
int additionalSmSeats, int additionalServiceAccounts) :
|
int additionalSeats,
|
||||||
base(org, plan, taxInfo, additionalSeats, additionalStorageGb, premiumAccessAddon, additionalSmSeats, additionalServiceAccounts)
|
int additionalStorageGb,
|
||||||
|
bool premiumAccessAddon,
|
||||||
|
int additionalSmSeats,
|
||||||
|
int additionalServiceAccounts) :
|
||||||
|
base(org, plan, taxInfo, additionalSeats,
|
||||||
|
additionalStorageGb, premiumAccessAddon,
|
||||||
|
org.UseSecretsManager, additionalSmSeats,
|
||||||
|
additionalServiceAccounts)
|
||||||
{
|
{
|
||||||
OffSession = true;
|
OffSession = true;
|
||||||
TrialPeriodDays = plan.TrialPeriodDays;
|
TrialPeriodDays = plan.TrialPeriodDays;
|
||||||
@ -109,11 +138,14 @@ public class OrganizationPurchaseSubscriptionOptions : OrganizationSubscriptionO
|
|||||||
public class OrganizationUpgradeSubscriptionOptions : OrganizationSubscriptionOptionsBase
|
public class OrganizationUpgradeSubscriptionOptions : OrganizationSubscriptionOptionsBase
|
||||||
{
|
{
|
||||||
public OrganizationUpgradeSubscriptionOptions(
|
public OrganizationUpgradeSubscriptionOptions(
|
||||||
string customerId, Organization org,
|
string customerId,
|
||||||
StaticStore.Plan plan, OrganizationUpgrade upgrade) :
|
Organization org,
|
||||||
base(org, plan, upgrade.TaxInfo, upgrade.AdditionalSeats, upgrade.AdditionalStorageGb,
|
Plan plan,
|
||||||
upgrade.PremiumAccessAddon, upgrade.AdditionalSmSeats.GetValueOrDefault(),
|
OrganizationUpgrade upgrade) :
|
||||||
upgrade.AdditionalServiceAccounts.GetValueOrDefault())
|
base(org, plan, upgrade.TaxInfo, upgrade.AdditionalSeats,
|
||||||
|
upgrade.AdditionalStorageGb, upgrade.PremiumAccessAddon,
|
||||||
|
upgrade.UseSecretsManager, upgrade.AdditionalSmSeats.GetValueOrDefault(),
|
||||||
|
upgrade.AdditionalServiceAccounts.GetValueOrDefault())
|
||||||
{
|
{
|
||||||
Customer = customerId;
|
Customer = customerId;
|
||||||
}
|
}
|
||||||
|
70
src/Core/Models/StaticStore/Plans/TeamsStarterPlan.cs
Normal file
70
src/Core/Models/StaticStore/Plans/TeamsStarterPlan.cs
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
using Bit.Core.Enums;
|
||||||
|
|
||||||
|
namespace Bit.Core.Models.StaticStore.Plans;
|
||||||
|
|
||||||
|
public record TeamsStarterPlan : Plan
|
||||||
|
{
|
||||||
|
public TeamsStarterPlan()
|
||||||
|
{
|
||||||
|
Type = PlanType.TeamsStarter;
|
||||||
|
Product = ProductType.TeamsStarter;
|
||||||
|
Name = "Teams (Starter)";
|
||||||
|
NameLocalizationKey = "planNameTeamsStarter";
|
||||||
|
DescriptionLocalizationKey = "planDescTeams";
|
||||||
|
CanBeUsedByBusiness = true;
|
||||||
|
|
||||||
|
TrialPeriodDays = 7;
|
||||||
|
|
||||||
|
HasGroups = true;
|
||||||
|
HasDirectory = true;
|
||||||
|
HasEvents = true;
|
||||||
|
HasTotp = true;
|
||||||
|
Has2fa = true;
|
||||||
|
HasApi = true;
|
||||||
|
UsersGetPremium = true;
|
||||||
|
|
||||||
|
UpgradeSortOrder = 2;
|
||||||
|
DisplaySortOrder = 2;
|
||||||
|
|
||||||
|
PasswordManager = new TeamsStarterPasswordManagerFeatures();
|
||||||
|
SecretsManager = new TeamsStarterSecretsManagerFeatures();
|
||||||
|
}
|
||||||
|
|
||||||
|
private record TeamsStarterSecretsManagerFeatures : SecretsManagerPlanFeatures
|
||||||
|
{
|
||||||
|
public TeamsStarterSecretsManagerFeatures()
|
||||||
|
{
|
||||||
|
BaseSeats = 0;
|
||||||
|
BasePrice = 0;
|
||||||
|
BaseServiceAccount = 50;
|
||||||
|
|
||||||
|
HasAdditionalSeatsOption = true;
|
||||||
|
HasAdditionalServiceAccountOption = true;
|
||||||
|
|
||||||
|
AllowSeatAutoscale = true;
|
||||||
|
AllowServiceAccountsAutoscale = true;
|
||||||
|
|
||||||
|
StripeSeatPlanId = "secrets-manager-teams-seat-monthly";
|
||||||
|
StripeServiceAccountPlanId = "secrets-manager-service-account-monthly";
|
||||||
|
SeatPrice = 7;
|
||||||
|
AdditionalPricePerServiceAccount = 0.5M;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private record TeamsStarterPasswordManagerFeatures : PasswordManagerPlanFeatures
|
||||||
|
{
|
||||||
|
public TeamsStarterPasswordManagerFeatures()
|
||||||
|
{
|
||||||
|
BaseSeats = 10;
|
||||||
|
BaseStorageGb = 1;
|
||||||
|
BasePrice = 20;
|
||||||
|
|
||||||
|
MaxSeats = 10;
|
||||||
|
|
||||||
|
HasAdditionalStorageOption = true;
|
||||||
|
|
||||||
|
StripePlanId = "teams-org-starter";
|
||||||
|
AdditionalStoragePricePerGb = 0.5M;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -243,6 +243,12 @@ public class UpdateSecretsManagerSubscriptionCommand : IUpdateSecretsManagerSubs
|
|||||||
"You cannot decrease your subscription below your current occupied seat count.");
|
"You cannot decrease your subscription below your current occupied seat count.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check that SM seats aren't greater than password manager seats
|
||||||
|
if (organization.Seats < update.SmSeats.Value)
|
||||||
|
{
|
||||||
|
throw new BadRequestException("You cannot have more Secrets Manager seats than Password Manager seats.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task ValidateSmServiceAccountsUpdateAsync(SecretsManagerSubscriptionUpdate update)
|
private async Task ValidateSmServiceAccountsUpdateAsync(SecretsManagerSubscriptionUpdate update)
|
||||||
|
@ -1811,9 +1811,9 @@ public class OrganizationService : IOrganizationService
|
|||||||
|
|
||||||
private static void ValidatePlan(Models.StaticStore.Plan plan, int additionalSeats, string productType)
|
private static void ValidatePlan(Models.StaticStore.Plan plan, int additionalSeats, string productType)
|
||||||
{
|
{
|
||||||
if (plan is not { LegacyYear: null })
|
if (plan is null)
|
||||||
{
|
{
|
||||||
throw new BadRequestException($"Invalid {productType} plan selected.");
|
throw new BadRequestException($"{productType} Plan was null.");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (plan.Disabled)
|
if (plan.Disabled)
|
||||||
@ -1829,6 +1829,11 @@ public class OrganizationService : IOrganizationService
|
|||||||
|
|
||||||
public void ValidatePasswordManagerPlan(Models.StaticStore.Plan plan, OrganizationUpgrade upgrade)
|
public void ValidatePasswordManagerPlan(Models.StaticStore.Plan plan, OrganizationUpgrade upgrade)
|
||||||
{
|
{
|
||||||
|
if (plan is not { LegacyYear: null })
|
||||||
|
{
|
||||||
|
throw new BadRequestException("Invalid Password Manager plan selected.");
|
||||||
|
}
|
||||||
|
|
||||||
ValidatePlan(plan, upgrade.AdditionalSeats, "Password Manager");
|
ValidatePlan(plan, upgrade.AdditionalSeats, "Password Manager");
|
||||||
|
|
||||||
if (plan.PasswordManager.BaseSeats + upgrade.AdditionalSeats <= 0)
|
if (plan.PasswordManager.BaseSeats + upgrade.AdditionalSeats <= 0)
|
||||||
@ -1888,7 +1893,10 @@ public class OrganizationService : IOrganizationService
|
|||||||
throw new BadRequestException("Plan does not allow additional Service Accounts.");
|
throw new BadRequestException("Plan does not allow additional Service Accounts.");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (upgrade.AdditionalSmSeats.GetValueOrDefault() > upgrade.AdditionalSeats)
|
if ((plan.Product == ProductType.TeamsStarter &&
|
||||||
|
upgrade.AdditionalSmSeats.GetValueOrDefault() > plan.PasswordManager.BaseSeats) ||
|
||||||
|
(plan.Product != ProductType.TeamsStarter &&
|
||||||
|
upgrade.AdditionalSmSeats.GetValueOrDefault() > upgrade.AdditionalSeats))
|
||||||
{
|
{
|
||||||
throw new BadRequestException("You cannot have more Secrets Manager seats than Password Manager seats.");
|
throw new BadRequestException("You cannot have more Secrets Manager seats than Password Manager seats.");
|
||||||
}
|
}
|
||||||
|
@ -106,10 +106,11 @@ public static class StaticStore
|
|||||||
GlobalDomains.Add(GlobalEquivalentDomainsType.Pinterest, new List<string> { "pinterest.com", "pinterest.com.au", "pinterest.cl", "pinterest.de", "pinterest.dk", "pinterest.es", "pinterest.fr", "pinterest.co.uk", "pinterest.jp", "pinterest.co.kr", "pinterest.nz", "pinterest.pt", "pinterest.se" });
|
GlobalDomains.Add(GlobalEquivalentDomainsType.Pinterest, new List<string> { "pinterest.com", "pinterest.com.au", "pinterest.cl", "pinterest.de", "pinterest.dk", "pinterest.es", "pinterest.fr", "pinterest.co.uk", "pinterest.jp", "pinterest.co.kr", "pinterest.nz", "pinterest.pt", "pinterest.se" });
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
Plans = new List<Models.StaticStore.Plan>
|
Plans = new List<Plan>
|
||||||
{
|
{
|
||||||
new EnterprisePlan(true),
|
new EnterprisePlan(true),
|
||||||
new EnterprisePlan(false),
|
new EnterprisePlan(false),
|
||||||
|
new TeamsStarterPlan(),
|
||||||
new TeamsPlan(true),
|
new TeamsPlan(true),
|
||||||
new TeamsPlan(false),
|
new TeamsPlan(false),
|
||||||
|
|
||||||
@ -130,7 +131,7 @@ public static class StaticStore
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static IDictionary<GlobalEquivalentDomainsType, IEnumerable<string>> GlobalDomains { get; set; }
|
public static IDictionary<GlobalEquivalentDomainsType, IEnumerable<string>> GlobalDomains { get; set; }
|
||||||
public static IEnumerable<Models.StaticStore.Plan> Plans { get; }
|
public static IEnumerable<Plan> Plans { get; }
|
||||||
public static IEnumerable<SponsoredPlan> SponsoredPlans { get; set; } = new[]
|
public static IEnumerable<SponsoredPlan> SponsoredPlans { get; set; } = new[]
|
||||||
{
|
{
|
||||||
new SponsoredPlan
|
new SponsoredPlan
|
||||||
|
@ -2631,7 +2631,7 @@
|
|||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2639,7 +2639,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -2651,9 +2651,9 @@
|
|||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2631,7 +2631,7 @@
|
|||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2639,7 +2639,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -2651,9 +2651,9 @@
|
|||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2640,7 +2640,7 @@
|
|||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2648,7 +2648,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -2660,9 +2660,9 @@
|
|||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2653,7 +2653,7 @@
|
|||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2661,7 +2661,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -2673,9 +2673,9 @@
|
|||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2681,7 +2681,7 @@
|
|||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2689,7 +2689,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -2701,9 +2701,9 @@
|
|||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2631,7 +2631,7 @@
|
|||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2639,7 +2639,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
|
@ -3138,25 +3138,25 @@
|
|||||||
"AspNetCore.HealthChecks.SqlServer": "[6.0.2, )",
|
"AspNetCore.HealthChecks.SqlServer": "[6.0.2, )",
|
||||||
"AspNetCore.HealthChecks.Uris": "[6.0.3, )",
|
"AspNetCore.HealthChecks.Uris": "[6.0.3, )",
|
||||||
"Azure.Messaging.EventGrid": "[4.10.0, )",
|
"Azure.Messaging.EventGrid": "[4.10.0, )",
|
||||||
"Commercial.Core": "[2023.10.0, )",
|
"Commercial.Core": "[2023.10.1, )",
|
||||||
"Commercial.Infrastructure.EntityFramework": "[2023.10.0, )",
|
"Commercial.Infrastructure.EntityFramework": "[2023.10.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"SharedWeb": "[2023.10.0, )",
|
"SharedWeb": "[2023.10.1, )",
|
||||||
"Swashbuckle.AspNetCore": "[6.5.0, )"
|
"Swashbuckle.AspNetCore": "[6.5.0, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"commercial.core": {
|
"commercial.core": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )"
|
"Core": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"commercial.infrastructure.entityframework": {
|
"commercial.infrastructure.entityframework": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"common": {
|
"common": {
|
||||||
@ -3164,7 +3164,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
||||||
"AutoFixture.Xunit2": "[4.17.0, )",
|
"AutoFixture.Xunit2": "[4.17.0, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
||||||
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
||||||
"NSubstitute": "[4.3.0, )",
|
"NSubstitute": "[4.3.0, )",
|
||||||
@ -3216,15 +3216,15 @@
|
|||||||
"identity": {
|
"identity": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"SharedWeb": "[2023.10.0, )",
|
"SharedWeb": "[2023.10.1, )",
|
||||||
"Swashbuckle.AspNetCore.SwaggerGen": "[6.5.0, )"
|
"Swashbuckle.AspNetCore.SwaggerGen": "[6.5.0, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3232,7 +3232,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -3244,8 +3244,8 @@
|
|||||||
"integrationtestcommon": {
|
"integrationtestcommon": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Common": "[2023.10.0, )",
|
"Common": "[2023.10.1, )",
|
||||||
"Identity": "[2023.10.0, )",
|
"Identity": "[2023.10.1, )",
|
||||||
"Microsoft.AspNetCore.Mvc.Testing": "[6.0.5, )",
|
"Microsoft.AspNetCore.Mvc.Testing": "[6.0.5, )",
|
||||||
"Microsoft.Extensions.Configuration": "[6.0.1, )"
|
"Microsoft.Extensions.Configuration": "[6.0.1, )"
|
||||||
}
|
}
|
||||||
@ -3253,9 +3253,9 @@
|
|||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3015,25 +3015,25 @@
|
|||||||
"AspNetCore.HealthChecks.SqlServer": "[6.0.2, )",
|
"AspNetCore.HealthChecks.SqlServer": "[6.0.2, )",
|
||||||
"AspNetCore.HealthChecks.Uris": "[6.0.3, )",
|
"AspNetCore.HealthChecks.Uris": "[6.0.3, )",
|
||||||
"Azure.Messaging.EventGrid": "[4.10.0, )",
|
"Azure.Messaging.EventGrid": "[4.10.0, )",
|
||||||
"Commercial.Core": "[2023.10.0, )",
|
"Commercial.Core": "[2023.10.1, )",
|
||||||
"Commercial.Infrastructure.EntityFramework": "[2023.10.0, )",
|
"Commercial.Infrastructure.EntityFramework": "[2023.10.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"SharedWeb": "[2023.10.0, )",
|
"SharedWeb": "[2023.10.1, )",
|
||||||
"Swashbuckle.AspNetCore": "[6.5.0, )"
|
"Swashbuckle.AspNetCore": "[6.5.0, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"commercial.core": {
|
"commercial.core": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )"
|
"Core": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"commercial.infrastructure.entityframework": {
|
"commercial.infrastructure.entityframework": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"common": {
|
"common": {
|
||||||
@ -3041,7 +3041,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
||||||
"AutoFixture.Xunit2": "[4.17.0, )",
|
"AutoFixture.Xunit2": "[4.17.0, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
||||||
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
||||||
"NSubstitute": "[4.3.0, )",
|
"NSubstitute": "[4.3.0, )",
|
||||||
@ -3095,8 +3095,8 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
||||||
"AutoFixture.Xunit2": "[4.17.0, )",
|
"AutoFixture.Xunit2": "[4.17.0, )",
|
||||||
"Common": "[2023.10.0, )",
|
"Common": "[2023.10.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
||||||
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
||||||
"NSubstitute": "[4.3.0, )",
|
"NSubstitute": "[4.3.0, )",
|
||||||
@ -3106,7 +3106,7 @@
|
|||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3114,7 +3114,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -3126,9 +3126,9 @@
|
|||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2842,8 +2842,8 @@
|
|||||||
"billing": {
|
"billing": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"SharedWeb": "[2023.10.0, )"
|
"SharedWeb": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"common": {
|
"common": {
|
||||||
@ -2851,7 +2851,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
||||||
"AutoFixture.Xunit2": "[4.17.0, )",
|
"AutoFixture.Xunit2": "[4.17.0, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
||||||
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
||||||
"NSubstitute": "[4.3.0, )",
|
"NSubstitute": "[4.3.0, )",
|
||||||
@ -2903,7 +2903,7 @@
|
|||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2911,7 +2911,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -2923,9 +2923,9 @@
|
|||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,6 +43,7 @@ public class SecretsManagerSubscriptionUpdateTests
|
|||||||
[BitAutoData(PlanType.TeamsAnnually2019)]
|
[BitAutoData(PlanType.TeamsAnnually2019)]
|
||||||
[BitAutoData(PlanType.TeamsAnnually2020)]
|
[BitAutoData(PlanType.TeamsAnnually2020)]
|
||||||
[BitAutoData(PlanType.TeamsAnnually)]
|
[BitAutoData(PlanType.TeamsAnnually)]
|
||||||
|
[BitAutoData(PlanType.TeamsStarter)]
|
||||||
public void UpdateSubscription_WithNonSecretsManagerPlanType_DoesNotThrowException(
|
public void UpdateSubscription_WithNonSecretsManagerPlanType_DoesNotThrowException(
|
||||||
PlanType planType,
|
PlanType planType,
|
||||||
Organization organization)
|
Organization organization)
|
||||||
|
@ -19,9 +19,18 @@ namespace Bit.Core.Test.OrganizationFeatures.OrganizationSubscriptionUpdate;
|
|||||||
public class AddSecretsManagerSubscriptionCommandTests
|
public class AddSecretsManagerSubscriptionCommandTests
|
||||||
{
|
{
|
||||||
[Theory]
|
[Theory]
|
||||||
|
[BitAutoData(PlanType.TeamsAnnually2019)]
|
||||||
|
[BitAutoData(PlanType.TeamsAnnually2020)]
|
||||||
[BitAutoData(PlanType.TeamsAnnually)]
|
[BitAutoData(PlanType.TeamsAnnually)]
|
||||||
|
[BitAutoData(PlanType.TeamsMonthly2019)]
|
||||||
|
[BitAutoData(PlanType.TeamsMonthly2020)]
|
||||||
[BitAutoData(PlanType.TeamsMonthly)]
|
[BitAutoData(PlanType.TeamsMonthly)]
|
||||||
|
[BitAutoData(PlanType.TeamsStarter)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseAnnually2019)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseAnnually2020)]
|
||||||
[BitAutoData(PlanType.EnterpriseAnnually)]
|
[BitAutoData(PlanType.EnterpriseAnnually)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseMonthly2019)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseMonthly2020)]
|
||||||
[BitAutoData(PlanType.EnterpriseMonthly)]
|
[BitAutoData(PlanType.EnterpriseMonthly)]
|
||||||
public async Task SignUpAsync_ReturnsSuccessAndClientSecret_WhenOrganizationAndPlanExist(PlanType planType,
|
public async Task SignUpAsync_ReturnsSuccessAndClientSecret_WhenOrganizationAndPlanExist(PlanType planType,
|
||||||
SutProvider<AddSecretsManagerSubscriptionCommand> sutProvider,
|
SutProvider<AddSecretsManagerSubscriptionCommand> sutProvider,
|
||||||
|
@ -22,16 +22,26 @@ namespace Bit.Core.Test.OrganizationFeatures.OrganizationSubscriptionUpdate;
|
|||||||
public class UpdateSecretsManagerSubscriptionCommandTests
|
public class UpdateSecretsManagerSubscriptionCommandTests
|
||||||
{
|
{
|
||||||
[Theory]
|
[Theory]
|
||||||
|
[BitAutoData(PlanType.EnterpriseAnnually2019)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseAnnually2020)]
|
||||||
[BitAutoData(PlanType.EnterpriseAnnually)]
|
[BitAutoData(PlanType.EnterpriseAnnually)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseMonthly2019)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseMonthly2020)]
|
||||||
[BitAutoData(PlanType.EnterpriseMonthly)]
|
[BitAutoData(PlanType.EnterpriseMonthly)]
|
||||||
|
[BitAutoData(PlanType.TeamsMonthly2019)]
|
||||||
|
[BitAutoData(PlanType.TeamsMonthly2020)]
|
||||||
[BitAutoData(PlanType.TeamsMonthly)]
|
[BitAutoData(PlanType.TeamsMonthly)]
|
||||||
|
[BitAutoData(PlanType.TeamsAnnually2019)]
|
||||||
|
[BitAutoData(PlanType.TeamsAnnually2020)]
|
||||||
[BitAutoData(PlanType.TeamsAnnually)]
|
[BitAutoData(PlanType.TeamsAnnually)]
|
||||||
|
[BitAutoData(PlanType.TeamsStarter)]
|
||||||
public async Task UpdateSubscriptionAsync_UpdateEverything_ValidInput_Passes(
|
public async Task UpdateSubscriptionAsync_UpdateEverything_ValidInput_Passes(
|
||||||
PlanType planType,
|
PlanType planType,
|
||||||
Organization organization,
|
Organization organization,
|
||||||
SutProvider<UpdateSecretsManagerSubscriptionCommand> sutProvider)
|
SutProvider<UpdateSecretsManagerSubscriptionCommand> sutProvider)
|
||||||
{
|
{
|
||||||
organization.PlanType = planType;
|
organization.PlanType = planType;
|
||||||
|
organization.Seats = 400;
|
||||||
organization.SmSeats = 10;
|
organization.SmSeats = 10;
|
||||||
organization.MaxAutoscaleSmSeats = 20;
|
organization.MaxAutoscaleSmSeats = 20;
|
||||||
organization.SmServiceAccounts = 200;
|
organization.SmServiceAccounts = 200;
|
||||||
@ -77,6 +87,7 @@ public class UpdateSecretsManagerSubscriptionCommandTests
|
|||||||
[BitAutoData(PlanType.EnterpriseMonthly)]
|
[BitAutoData(PlanType.EnterpriseMonthly)]
|
||||||
[BitAutoData(PlanType.TeamsMonthly)]
|
[BitAutoData(PlanType.TeamsMonthly)]
|
||||||
[BitAutoData(PlanType.TeamsAnnually)]
|
[BitAutoData(PlanType.TeamsAnnually)]
|
||||||
|
[BitAutoData(PlanType.TeamsStarter)]
|
||||||
public async Task UpdateSubscriptionAsync_ValidInput_WithNullMaxAutoscale_Passes(
|
public async Task UpdateSubscriptionAsync_ValidInput_WithNullMaxAutoscale_Passes(
|
||||||
PlanType planType,
|
PlanType planType,
|
||||||
Organization organization,
|
Organization organization,
|
||||||
@ -168,10 +179,19 @@ public class UpdateSecretsManagerSubscriptionCommandTests
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Theory]
|
[Theory]
|
||||||
|
[BitAutoData(PlanType.EnterpriseAnnually2019)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseAnnually2020)]
|
||||||
[BitAutoData(PlanType.EnterpriseAnnually)]
|
[BitAutoData(PlanType.EnterpriseAnnually)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseMonthly2019)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseMonthly2020)]
|
||||||
[BitAutoData(PlanType.EnterpriseMonthly)]
|
[BitAutoData(PlanType.EnterpriseMonthly)]
|
||||||
|
[BitAutoData(PlanType.TeamsMonthly2019)]
|
||||||
|
[BitAutoData(PlanType.TeamsMonthly2020)]
|
||||||
[BitAutoData(PlanType.TeamsMonthly)]
|
[BitAutoData(PlanType.TeamsMonthly)]
|
||||||
|
[BitAutoData(PlanType.TeamsAnnually2019)]
|
||||||
|
[BitAutoData(PlanType.TeamsAnnually2020)]
|
||||||
[BitAutoData(PlanType.TeamsAnnually)]
|
[BitAutoData(PlanType.TeamsAnnually)]
|
||||||
|
[BitAutoData(PlanType.TeamsStarter)]
|
||||||
public async Task UpdateSubscriptionAsync_PaidPlan_NullGatewayCustomerId_ThrowsException(
|
public async Task UpdateSubscriptionAsync_PaidPlan_NullGatewayCustomerId_ThrowsException(
|
||||||
PlanType planType,
|
PlanType planType,
|
||||||
Organization organization,
|
Organization organization,
|
||||||
@ -187,10 +207,19 @@ public class UpdateSecretsManagerSubscriptionCommandTests
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Theory]
|
[Theory]
|
||||||
|
[BitAutoData(PlanType.EnterpriseAnnually2019)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseAnnually2020)]
|
||||||
[BitAutoData(PlanType.EnterpriseAnnually)]
|
[BitAutoData(PlanType.EnterpriseAnnually)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseMonthly2019)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseMonthly2020)]
|
||||||
[BitAutoData(PlanType.EnterpriseMonthly)]
|
[BitAutoData(PlanType.EnterpriseMonthly)]
|
||||||
|
[BitAutoData(PlanType.TeamsMonthly2019)]
|
||||||
|
[BitAutoData(PlanType.TeamsMonthly2020)]
|
||||||
[BitAutoData(PlanType.TeamsMonthly)]
|
[BitAutoData(PlanType.TeamsMonthly)]
|
||||||
|
[BitAutoData(PlanType.TeamsAnnually2019)]
|
||||||
|
[BitAutoData(PlanType.TeamsAnnually2020)]
|
||||||
[BitAutoData(PlanType.TeamsAnnually)]
|
[BitAutoData(PlanType.TeamsAnnually)]
|
||||||
|
[BitAutoData(PlanType.TeamsStarter)]
|
||||||
public async Task UpdateSubscriptionAsync_PaidPlan_NullGatewaySubscriptionId_ThrowsException(
|
public async Task UpdateSubscriptionAsync_PaidPlan_NullGatewaySubscriptionId_ThrowsException(
|
||||||
PlanType planType,
|
PlanType planType,
|
||||||
Organization organization,
|
Organization organization,
|
||||||
@ -206,10 +235,19 @@ public class UpdateSecretsManagerSubscriptionCommandTests
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Theory]
|
[Theory]
|
||||||
|
[BitAutoData(PlanType.EnterpriseAnnually2019)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseAnnually2020)]
|
||||||
[BitAutoData(PlanType.EnterpriseAnnually)]
|
[BitAutoData(PlanType.EnterpriseAnnually)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseMonthly2019)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseMonthly2020)]
|
||||||
[BitAutoData(PlanType.EnterpriseMonthly)]
|
[BitAutoData(PlanType.EnterpriseMonthly)]
|
||||||
|
[BitAutoData(PlanType.TeamsMonthly2019)]
|
||||||
|
[BitAutoData(PlanType.TeamsMonthly2020)]
|
||||||
[BitAutoData(PlanType.TeamsMonthly)]
|
[BitAutoData(PlanType.TeamsMonthly)]
|
||||||
|
[BitAutoData(PlanType.TeamsAnnually2019)]
|
||||||
|
[BitAutoData(PlanType.TeamsAnnually2020)]
|
||||||
[BitAutoData(PlanType.TeamsAnnually)]
|
[BitAutoData(PlanType.TeamsAnnually)]
|
||||||
|
[BitAutoData(PlanType.TeamsStarter)]
|
||||||
public async Task AdjustServiceAccountsAsync_WithEnterpriseOrTeamsPlans_Success(PlanType planType, Guid organizationId,
|
public async Task AdjustServiceAccountsAsync_WithEnterpriseOrTeamsPlans_Success(PlanType planType, Guid organizationId,
|
||||||
SutProvider<UpdateSecretsManagerSubscriptionCommand> sutProvider)
|
SutProvider<UpdateSecretsManagerSubscriptionCommand> sutProvider)
|
||||||
{
|
{
|
||||||
@ -501,10 +539,19 @@ public class UpdateSecretsManagerSubscriptionCommandTests
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Theory]
|
[Theory]
|
||||||
|
[BitAutoData(PlanType.EnterpriseAnnually2019)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseAnnually2020)]
|
||||||
[BitAutoData(PlanType.EnterpriseAnnually)]
|
[BitAutoData(PlanType.EnterpriseAnnually)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseMonthly2019)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseMonthly2020)]
|
||||||
[BitAutoData(PlanType.EnterpriseMonthly)]
|
[BitAutoData(PlanType.EnterpriseMonthly)]
|
||||||
|
[BitAutoData(PlanType.TeamsMonthly2019)]
|
||||||
|
[BitAutoData(PlanType.TeamsMonthly2020)]
|
||||||
[BitAutoData(PlanType.TeamsMonthly)]
|
[BitAutoData(PlanType.TeamsMonthly)]
|
||||||
|
[BitAutoData(PlanType.TeamsAnnually2019)]
|
||||||
|
[BitAutoData(PlanType.TeamsAnnually2020)]
|
||||||
[BitAutoData(PlanType.TeamsAnnually)]
|
[BitAutoData(PlanType.TeamsAnnually)]
|
||||||
|
[BitAutoData(PlanType.TeamsStarter)]
|
||||||
public async Task UpdateSmServiceAccounts_WhenCurrentServiceAccountsIsGreaterThanNew_ThrowsBadRequestException(
|
public async Task UpdateSmServiceAccounts_WhenCurrentServiceAccountsIsGreaterThanNew_ThrowsBadRequestException(
|
||||||
PlanType planType,
|
PlanType planType,
|
||||||
Organization organization,
|
Organization organization,
|
||||||
|
@ -104,6 +104,7 @@ public class UpgradeOrganizationPlanCommandTests
|
|||||||
[BitAutoData(PlanType.EnterpriseAnnually)]
|
[BitAutoData(PlanType.EnterpriseAnnually)]
|
||||||
[BitAutoData(PlanType.TeamsMonthly)]
|
[BitAutoData(PlanType.TeamsMonthly)]
|
||||||
[BitAutoData(PlanType.TeamsAnnually)]
|
[BitAutoData(PlanType.TeamsAnnually)]
|
||||||
|
[BitAutoData(PlanType.TeamsStarter)]
|
||||||
public async Task UpgradePlan_SM_Passes(PlanType planType, Organization organization, OrganizationUpgrade upgrade,
|
public async Task UpgradePlan_SM_Passes(PlanType planType, Organization organization, OrganizationUpgrade upgrade,
|
||||||
SutProvider<UpgradeOrganizationPlanCommand> sutProvider)
|
SutProvider<UpgradeOrganizationPlanCommand> sutProvider)
|
||||||
{
|
{
|
||||||
@ -135,6 +136,7 @@ public class UpgradeOrganizationPlanCommandTests
|
|||||||
[BitAutoData(PlanType.EnterpriseAnnually)]
|
[BitAutoData(PlanType.EnterpriseAnnually)]
|
||||||
[BitAutoData(PlanType.TeamsMonthly)]
|
[BitAutoData(PlanType.TeamsMonthly)]
|
||||||
[BitAutoData(PlanType.TeamsAnnually)]
|
[BitAutoData(PlanType.TeamsAnnually)]
|
||||||
|
[BitAutoData(PlanType.TeamsStarter)]
|
||||||
public async Task UpgradePlan_SM_NotEnoughSmSeats_Throws(PlanType planType, Organization organization, OrganizationUpgrade upgrade,
|
public async Task UpgradePlan_SM_NotEnoughSmSeats_Throws(PlanType planType, Organization organization, OrganizationUpgrade upgrade,
|
||||||
SutProvider<UpgradeOrganizationPlanCommand> sutProvider)
|
SutProvider<UpgradeOrganizationPlanCommand> sutProvider)
|
||||||
{
|
{
|
||||||
@ -160,6 +162,7 @@ public class UpgradeOrganizationPlanCommandTests
|
|||||||
[BitAutoData(PlanType.EnterpriseAnnually, 201)]
|
[BitAutoData(PlanType.EnterpriseAnnually, 201)]
|
||||||
[BitAutoData(PlanType.TeamsMonthly, 51)]
|
[BitAutoData(PlanType.TeamsMonthly, 51)]
|
||||||
[BitAutoData(PlanType.TeamsAnnually, 51)]
|
[BitAutoData(PlanType.TeamsAnnually, 51)]
|
||||||
|
[BitAutoData(PlanType.TeamsStarter, 51)]
|
||||||
public async Task UpgradePlan_SM_NotEnoughServiceAccounts_Throws(PlanType planType, int currentServiceAccounts,
|
public async Task UpgradePlan_SM_NotEnoughServiceAccounts_Throws(PlanType planType, int currentServiceAccounts,
|
||||||
Organization organization, OrganizationUpgrade upgrade, SutProvider<UpgradeOrganizationPlanCommand> sutProvider)
|
Organization organization, OrganizationUpgrade upgrade, SutProvider<UpgradeOrganizationPlanCommand> sutProvider)
|
||||||
{
|
{
|
||||||
|
@ -1355,10 +1355,14 @@ public class OrganizationServiceTests
|
|||||||
[BitAutoData(PlanType.Custom, OrganizationUserType.Owner)]
|
[BitAutoData(PlanType.Custom, OrganizationUserType.Owner)]
|
||||||
[BitAutoData(PlanType.EnterpriseAnnually, OrganizationUserType.Admin)]
|
[BitAutoData(PlanType.EnterpriseAnnually, OrganizationUserType.Admin)]
|
||||||
[BitAutoData(PlanType.EnterpriseAnnually, OrganizationUserType.Owner)]
|
[BitAutoData(PlanType.EnterpriseAnnually, OrganizationUserType.Owner)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseAnnually2020, OrganizationUserType.Admin)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseAnnually2020, OrganizationUserType.Owner)]
|
||||||
[BitAutoData(PlanType.EnterpriseAnnually2019, OrganizationUserType.Admin)]
|
[BitAutoData(PlanType.EnterpriseAnnually2019, OrganizationUserType.Admin)]
|
||||||
[BitAutoData(PlanType.EnterpriseAnnually2019, OrganizationUserType.Owner)]
|
[BitAutoData(PlanType.EnterpriseAnnually2019, OrganizationUserType.Owner)]
|
||||||
[BitAutoData(PlanType.EnterpriseMonthly, OrganizationUserType.Admin)]
|
[BitAutoData(PlanType.EnterpriseMonthly, OrganizationUserType.Admin)]
|
||||||
[BitAutoData(PlanType.EnterpriseMonthly, OrganizationUserType.Owner)]
|
[BitAutoData(PlanType.EnterpriseMonthly, OrganizationUserType.Owner)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseMonthly2020, OrganizationUserType.Admin)]
|
||||||
|
[BitAutoData(PlanType.EnterpriseMonthly2020, OrganizationUserType.Owner)]
|
||||||
[BitAutoData(PlanType.EnterpriseMonthly2019, OrganizationUserType.Admin)]
|
[BitAutoData(PlanType.EnterpriseMonthly2019, OrganizationUserType.Admin)]
|
||||||
[BitAutoData(PlanType.EnterpriseMonthly2019, OrganizationUserType.Owner)]
|
[BitAutoData(PlanType.EnterpriseMonthly2019, OrganizationUserType.Owner)]
|
||||||
[BitAutoData(PlanType.FamiliesAnnually, OrganizationUserType.Admin)]
|
[BitAutoData(PlanType.FamiliesAnnually, OrganizationUserType.Admin)]
|
||||||
@ -1367,10 +1371,14 @@ public class OrganizationServiceTests
|
|||||||
[BitAutoData(PlanType.FamiliesAnnually2019, OrganizationUserType.Owner)]
|
[BitAutoData(PlanType.FamiliesAnnually2019, OrganizationUserType.Owner)]
|
||||||
[BitAutoData(PlanType.TeamsAnnually, OrganizationUserType.Admin)]
|
[BitAutoData(PlanType.TeamsAnnually, OrganizationUserType.Admin)]
|
||||||
[BitAutoData(PlanType.TeamsAnnually, OrganizationUserType.Owner)]
|
[BitAutoData(PlanType.TeamsAnnually, OrganizationUserType.Owner)]
|
||||||
|
[BitAutoData(PlanType.TeamsAnnually2020, OrganizationUserType.Admin)]
|
||||||
|
[BitAutoData(PlanType.TeamsAnnually2020, OrganizationUserType.Owner)]
|
||||||
[BitAutoData(PlanType.TeamsAnnually2019, OrganizationUserType.Admin)]
|
[BitAutoData(PlanType.TeamsAnnually2019, OrganizationUserType.Admin)]
|
||||||
[BitAutoData(PlanType.TeamsAnnually2019, OrganizationUserType.Owner)]
|
[BitAutoData(PlanType.TeamsAnnually2019, OrganizationUserType.Owner)]
|
||||||
[BitAutoData(PlanType.TeamsMonthly, OrganizationUserType.Admin)]
|
[BitAutoData(PlanType.TeamsMonthly, OrganizationUserType.Admin)]
|
||||||
[BitAutoData(PlanType.TeamsMonthly, OrganizationUserType.Owner)]
|
[BitAutoData(PlanType.TeamsMonthly, OrganizationUserType.Owner)]
|
||||||
|
[BitAutoData(PlanType.TeamsMonthly2020, OrganizationUserType.Admin)]
|
||||||
|
[BitAutoData(PlanType.TeamsMonthly2020, OrganizationUserType.Owner)]
|
||||||
[BitAutoData(PlanType.TeamsMonthly2019, OrganizationUserType.Admin)]
|
[BitAutoData(PlanType.TeamsMonthly2019, OrganizationUserType.Admin)]
|
||||||
[BitAutoData(PlanType.TeamsMonthly2019, OrganizationUserType.Owner)]
|
[BitAutoData(PlanType.TeamsMonthly2019, OrganizationUserType.Owner)]
|
||||||
public async Task ConfirmUserToNonFree_AlreadyFreeAdminOrOwner_DoesNotThrow(PlanType planType, OrganizationUserType orgUserType, Organization org, OrganizationUser confirmingUser,
|
public async Task ConfirmUserToNonFree_AlreadyFreeAdminOrOwner_DoesNotThrow(PlanType planType, OrganizationUserType orgUserType, Organization org, OrganizationUser confirmingUser,
|
||||||
@ -1788,28 +1796,10 @@ public class OrganizationServiceTests
|
|||||||
Assert.Equal(includeProvider, result);
|
Assert.Equal(includeProvider, result);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Theory]
|
|
||||||
[BitAutoData(PlanType.EnterpriseAnnually2019)]
|
|
||||||
public void ValidateSecretsManagerPlan_ThrowsException_WhenInvalidPlanSelected(
|
|
||||||
PlanType planType, SutProvider<OrganizationService> sutProvider)
|
|
||||||
{
|
|
||||||
var plan = StaticStore.GetPlan(planType);
|
|
||||||
|
|
||||||
var signup = new OrganizationUpgrade
|
|
||||||
{
|
|
||||||
UseSecretsManager = true,
|
|
||||||
AdditionalSmSeats = 1,
|
|
||||||
AdditionalServiceAccounts = 10,
|
|
||||||
AdditionalSeats = 1
|
|
||||||
};
|
|
||||||
|
|
||||||
var exception = Assert.Throws<BadRequestException>(() => sutProvider.Sut.ValidateSecretsManagerPlan(plan, signup));
|
|
||||||
Assert.Contains("Invalid Secrets Manager plan selected.", exception.Message);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Theory]
|
[Theory]
|
||||||
[BitAutoData(PlanType.TeamsAnnually)]
|
[BitAutoData(PlanType.TeamsAnnually)]
|
||||||
[BitAutoData(PlanType.TeamsMonthly)]
|
[BitAutoData(PlanType.TeamsMonthly)]
|
||||||
|
[BitAutoData(PlanType.TeamsStarter)]
|
||||||
[BitAutoData(PlanType.EnterpriseAnnually)]
|
[BitAutoData(PlanType.EnterpriseAnnually)]
|
||||||
[BitAutoData(PlanType.EnterpriseMonthly)]
|
[BitAutoData(PlanType.EnterpriseMonthly)]
|
||||||
public void ValidateSecretsManagerPlan_ThrowsException_WhenNoSecretsManagerSeats(PlanType planType, SutProvider<OrganizationService> sutProvider)
|
public void ValidateSecretsManagerPlan_ThrowsException_WhenNoSecretsManagerSeats(PlanType planType, SutProvider<OrganizationService> sutProvider)
|
||||||
@ -1882,6 +1872,7 @@ public class OrganizationServiceTests
|
|||||||
[Theory]
|
[Theory]
|
||||||
[BitAutoData(PlanType.TeamsAnnually)]
|
[BitAutoData(PlanType.TeamsAnnually)]
|
||||||
[BitAutoData(PlanType.TeamsMonthly)]
|
[BitAutoData(PlanType.TeamsMonthly)]
|
||||||
|
[BitAutoData(PlanType.TeamsStarter)]
|
||||||
[BitAutoData(PlanType.EnterpriseAnnually)]
|
[BitAutoData(PlanType.EnterpriseAnnually)]
|
||||||
[BitAutoData(PlanType.EnterpriseMonthly)]
|
[BitAutoData(PlanType.EnterpriseMonthly)]
|
||||||
public void ValidateSecretsManagerPlan_ThrowsException_WhenSubtractingServiceAccounts(
|
public void ValidateSecretsManagerPlan_ThrowsException_WhenSubtractingServiceAccounts(
|
||||||
@ -1921,6 +1912,7 @@ public class OrganizationServiceTests
|
|||||||
[Theory]
|
[Theory]
|
||||||
[BitAutoData(PlanType.TeamsAnnually)]
|
[BitAutoData(PlanType.TeamsAnnually)]
|
||||||
[BitAutoData(PlanType.TeamsMonthly)]
|
[BitAutoData(PlanType.TeamsMonthly)]
|
||||||
|
[BitAutoData(PlanType.TeamsStarter)]
|
||||||
[BitAutoData(PlanType.EnterpriseAnnually)]
|
[BitAutoData(PlanType.EnterpriseAnnually)]
|
||||||
[BitAutoData(PlanType.EnterpriseMonthly)]
|
[BitAutoData(PlanType.EnterpriseMonthly)]
|
||||||
public void ValidateSecretsManagerPlan_ValidPlan_NoExceptionThrown(
|
public void ValidateSecretsManagerPlan_ValidPlan_NoExceptionThrown(
|
||||||
|
@ -13,7 +13,7 @@ public class StaticStoreTests
|
|||||||
var plans = StaticStore.Plans.ToList();
|
var plans = StaticStore.Plans.ToList();
|
||||||
Assert.NotNull(plans);
|
Assert.NotNull(plans);
|
||||||
Assert.NotEmpty(plans);
|
Assert.NotEmpty(plans);
|
||||||
Assert.Equal(16, plans.Count);
|
Assert.Equal(17, plans.Count);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Theory]
|
[Theory]
|
||||||
@ -21,6 +21,7 @@ public class StaticStoreTests
|
|||||||
[InlineData(PlanType.EnterpriseMonthly)]
|
[InlineData(PlanType.EnterpriseMonthly)]
|
||||||
[InlineData(PlanType.TeamsMonthly)]
|
[InlineData(PlanType.TeamsMonthly)]
|
||||||
[InlineData(PlanType.TeamsAnnually)]
|
[InlineData(PlanType.TeamsAnnually)]
|
||||||
|
[InlineData(PlanType.TeamsStarter)]
|
||||||
public void StaticStore_GetPlan_Success(PlanType planType)
|
public void StaticStore_GetPlan_Success(PlanType planType)
|
||||||
{
|
{
|
||||||
var plan = StaticStore.GetPlan(planType);
|
var plan = StaticStore.GetPlan(planType);
|
||||||
|
@ -2673,7 +2673,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
||||||
"AutoFixture.Xunit2": "[4.17.0, )",
|
"AutoFixture.Xunit2": "[4.17.0, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
||||||
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
||||||
"NSubstitute": "[4.3.0, )",
|
"NSubstitute": "[4.3.0, )",
|
||||||
|
@ -2842,7 +2842,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
||||||
"AutoFixture.Xunit2": "[4.17.0, )",
|
"AutoFixture.Xunit2": "[4.17.0, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
||||||
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
||||||
"NSubstitute": "[4.3.0, )",
|
"NSubstitute": "[4.3.0, )",
|
||||||
@ -2895,14 +2895,14 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AngleSharp": "[1.0.4, )",
|
"AngleSharp": "[1.0.4, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"SharedWeb": "[2023.10.0, )"
|
"SharedWeb": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2910,7 +2910,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -2922,9 +2922,9 @@
|
|||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2981,7 +2981,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
||||||
"AutoFixture.Xunit2": "[4.17.0, )",
|
"AutoFixture.Xunit2": "[4.17.0, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
||||||
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
||||||
"NSubstitute": "[4.3.0, )",
|
"NSubstitute": "[4.3.0, )",
|
||||||
@ -3033,15 +3033,15 @@
|
|||||||
"identity": {
|
"identity": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"SharedWeb": "[2023.10.0, )",
|
"SharedWeb": "[2023.10.1, )",
|
||||||
"Swashbuckle.AspNetCore.SwaggerGen": "[6.5.0, )"
|
"Swashbuckle.AspNetCore.SwaggerGen": "[6.5.0, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3049,7 +3049,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -3061,8 +3061,8 @@
|
|||||||
"integrationtestcommon": {
|
"integrationtestcommon": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Common": "[2023.10.0, )",
|
"Common": "[2023.10.1, )",
|
||||||
"Identity": "[2023.10.0, )",
|
"Identity": "[2023.10.1, )",
|
||||||
"Microsoft.AspNetCore.Mvc.Testing": "[6.0.5, )",
|
"Microsoft.AspNetCore.Mvc.Testing": "[6.0.5, )",
|
||||||
"Microsoft.Extensions.Configuration": "[6.0.1, )"
|
"Microsoft.Extensions.Configuration": "[6.0.1, )"
|
||||||
}
|
}
|
||||||
@ -3070,9 +3070,9 @@
|
|||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2856,7 +2856,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
||||||
"AutoFixture.Xunit2": "[4.17.0, )",
|
"AutoFixture.Xunit2": "[4.17.0, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
||||||
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
||||||
"NSubstitute": "[4.3.0, )",
|
"NSubstitute": "[4.3.0, )",
|
||||||
@ -2908,15 +2908,15 @@
|
|||||||
"identity": {
|
"identity": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"SharedWeb": "[2023.10.0, )",
|
"SharedWeb": "[2023.10.1, )",
|
||||||
"Swashbuckle.AspNetCore.SwaggerGen": "[6.5.0, )"
|
"Swashbuckle.AspNetCore.SwaggerGen": "[6.5.0, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2924,7 +2924,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -2936,9 +2936,9 @@
|
|||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2836,7 +2836,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
||||||
"AutoFixture.Xunit2": "[4.17.0, )",
|
"AutoFixture.Xunit2": "[4.17.0, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
||||||
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
||||||
"NSubstitute": "[4.3.0, )",
|
"NSubstitute": "[4.3.0, )",
|
||||||
@ -2890,8 +2890,8 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
||||||
"AutoFixture.Xunit2": "[4.17.0, )",
|
"AutoFixture.Xunit2": "[4.17.0, )",
|
||||||
"Common": "[2023.10.0, )",
|
"Common": "[2023.10.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
||||||
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
||||||
"NSubstitute": "[4.3.0, )",
|
"NSubstitute": "[4.3.0, )",
|
||||||
@ -2901,7 +2901,7 @@
|
|||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2909,7 +2909,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
|
@ -2746,7 +2746,7 @@
|
|||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2754,7 +2754,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
|
@ -2966,7 +2966,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
"AutoFixture.AutoNSubstitute": "[4.17.0, )",
|
||||||
"AutoFixture.Xunit2": "[4.17.0, )",
|
"AutoFixture.Xunit2": "[4.17.0, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
"Kralizek.AutoFixture.Extensions.MockHttp": "[1.2.0, )",
|
||||||
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
"Microsoft.NET.Test.Sdk": "[17.1.0, )",
|
||||||
"NSubstitute": "[4.3.0, )",
|
"NSubstitute": "[4.3.0, )",
|
||||||
@ -3018,15 +3018,15 @@
|
|||||||
"identity": {
|
"identity": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"SharedWeb": "[2023.10.0, )",
|
"SharedWeb": "[2023.10.1, )",
|
||||||
"Swashbuckle.AspNetCore.SwaggerGen": "[6.5.0, )"
|
"Swashbuckle.AspNetCore.SwaggerGen": "[6.5.0, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3034,7 +3034,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -3046,9 +3046,9 @@
|
|||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,6 @@ BEGIN TRY
|
|||||||
[dbo].[Organization]
|
[dbo].[Organization]
|
||||||
SET
|
SET
|
||||||
[UseSso] = 1,
|
[UseSso] = 1,
|
||||||
[UseKeyConnector] = 1,
|
|
||||||
[UseScim] = 1,
|
[UseScim] = 1,
|
||||||
[UseResetPassword] = 1
|
[UseResetPassword] = 1
|
||||||
WHERE
|
WHERE
|
||||||
|
@ -2709,7 +2709,7 @@
|
|||||||
"migrator": {
|
"migrator": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.Extensions.Logging": "[6.0.0, )",
|
"Microsoft.Extensions.Logging": "[6.0.0, )",
|
||||||
"dbup-sqlserver": "[5.0.8, )"
|
"dbup-sqlserver": "[5.0.8, )"
|
||||||
}
|
}
|
||||||
|
@ -2657,7 +2657,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
|
@ -2657,7 +2657,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
|
@ -2677,7 +2677,7 @@
|
|||||||
"migrator": {
|
"migrator": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.Extensions.Logging": "[6.0.0, )",
|
"Microsoft.Extensions.Logging": "[6.0.0, )",
|
||||||
"dbup-sqlserver": "[5.0.8, )"
|
"dbup-sqlserver": "[5.0.8, )"
|
||||||
}
|
}
|
||||||
|
@ -2801,25 +2801,25 @@
|
|||||||
"AspNetCore.HealthChecks.SqlServer": "[6.0.2, )",
|
"AspNetCore.HealthChecks.SqlServer": "[6.0.2, )",
|
||||||
"AspNetCore.HealthChecks.Uris": "[6.0.3, )",
|
"AspNetCore.HealthChecks.Uris": "[6.0.3, )",
|
||||||
"Azure.Messaging.EventGrid": "[4.10.0, )",
|
"Azure.Messaging.EventGrid": "[4.10.0, )",
|
||||||
"Commercial.Core": "[2023.10.0, )",
|
"Commercial.Core": "[2023.10.1, )",
|
||||||
"Commercial.Infrastructure.EntityFramework": "[2023.10.0, )",
|
"Commercial.Infrastructure.EntityFramework": "[2023.10.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"SharedWeb": "[2023.10.0, )",
|
"SharedWeb": "[2023.10.1, )",
|
||||||
"Swashbuckle.AspNetCore": "[6.5.0, )"
|
"Swashbuckle.AspNetCore": "[6.5.0, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"commercial.core": {
|
"commercial.core": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )"
|
"Core": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"commercial.infrastructure.entityframework": {
|
"commercial.infrastructure.entityframework": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"core": {
|
"core": {
|
||||||
@ -2867,7 +2867,7 @@
|
|||||||
"infrastructure.dapper": {
|
"infrastructure.dapper": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Dapper": "[2.0.123, )"
|
"Dapper": "[2.0.123, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2875,7 +2875,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
@ -2887,9 +2887,9 @@
|
|||||||
"sharedweb": {
|
"sharedweb": {
|
||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Infrastructure.Dapper": "[2023.10.0, )",
|
"Infrastructure.Dapper": "[2023.10.1, )",
|
||||||
"Infrastructure.EntityFramework": "[2023.10.0, )"
|
"Infrastructure.EntityFramework": "[2023.10.1, )"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2657,7 +2657,7 @@
|
|||||||
"type": "Project",
|
"type": "Project",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
"AutoMapper.Extensions.Microsoft.DependencyInjection": "[12.0.1, )",
|
||||||
"Core": "[2023.10.0, )",
|
"Core": "[2023.10.1, )",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Relational": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.SqlServer": "[7.0.5, )",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
"Microsoft.EntityFrameworkCore.Sqlite": "[7.0.5, )",
|
||||||
|
Reference in New Issue
Block a user