Skip to content

Commit 76d015e

Browse files
committed
Revert "Support Parameters Store syntax"
This reverts commit c9326eb.
1 parent c9326eb commit 76d015e

17 files changed

Lines changed: 20 additions & 53 deletions

File tree

Billing.Server.AppStore/Billing.Server.AppStore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<RootNamespace>Zebble</RootNamespace>
66
<PackageId>Zebble.Billing.Server.AppStore</PackageId>
77
<Product>$(AssemblyName) ($(TargetFramework))</Product>
8-
<Version>1.0.70.0</Version>
8+
<Version>1.0.71.0</Version>
99
<PackOnBuild>true</PackOnBuild>
1010
<NeutralLanguage>en</NeutralLanguage>
1111
<DefineConstants>$(DefineConstants)</DefineConstants>

Billing.Server.AppStore/Extensions/ZebbleBillingServicesBuilderExtensions.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ public static partial class ZebbleBillingServicesBuilderExtensions
1313
public static ZebbleBillingServicesBuilder AddAppStore(this ZebbleBillingServicesBuilder builder, string configKey = "ZebbleBilling:AppStore")
1414
{
1515
builder.Services.AddOptions<AppStoreOptions>()
16-
.Configure<IConfiguration>((opts, config) =>
17-
{
18-
config.GetSection(configKey)?.Bind(opts);
19-
config.GetSection(ConfigurationPath.KeyDelimiter + configKey)?.Bind(opts);
20-
})
16+
.Configure<IConfiguration>((opts, config) => config.GetSection(configKey)?.Bind(opts))
2117
.Validate(opts => opts.PackageName.HasValue(), $"{nameof(AppStoreOptions.PackageName)} is empty.")
2218
.Validate(opts => opts.SharedSecret.HasValue(), $"{nameof(AppStoreOptions.SharedSecret)} is empty.")
2319
.Validate(opts => opts.PrivateKey.HasValue(), $"{nameof(AppStoreOptions.PrivateKey)} is empty.")

Billing.Server.CafeBazaar/Billing.Server.CafeBazaar.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<RootNamespace>Zebble</RootNamespace>
66
<PackageId>Zebble.Billing.Server.CafeBazaar</PackageId>
77
<Product>$(AssemblyName) ($(TargetFramework))</Product>
8-
<Version>1.0.34.0</Version>
8+
<Version>1.0.35.0</Version>
99
<PackOnBuild>true</PackOnBuild>
1010
<NeutralLanguage>en</NeutralLanguage>
1111
<DefineConstants>$(DefineConstants)</DefineConstants>
@@ -37,7 +37,7 @@
3737
<None Remove=".gitignore" />
3838
<None Remove="icon.png" />
3939
<None Remove="README.md" />
40-
<PackageReference Include="CafeBazaar.DeveloperApi" Version="1.0.22" />
40+
<PackageReference Include="CafeBazaar.DeveloperApi" Version="1.0.23" />
4141
<ProjectReference Include="..\Billing.Server\Billing.Server.csproj" />
4242
</ItemGroup>
4343
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(Running)'=='local'">

Billing.Server.CafeBazaar/Extensions/ZebbleBillingServicesBuilderExtensions.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@ public static ZebbleBillingServicesBuilder AddCafeBazaar(this ZebbleBillingServi
1212
builder.Services.AddCafeBazaarDeveloperApi($"{configKey}:DeveloperApi");
1313

1414
builder.Services.AddOptions<CafeBazaarOptions>()
15-
.Configure<IConfiguration>((opts, config) =>
16-
{
17-
config.GetSection(configKey)?.Bind(opts);
18-
config.GetSection(ConfigurationPath.KeyDelimiter + configKey)?.Bind(opts);
19-
})
15+
.Configure<IConfiguration>((opts, config) => config.GetSection(configKey)?.Bind(opts))
2016
.Validate(opts => opts.PackageName.HasValue(), $"{nameof(CafeBazaarOptions.PackageName)} is empty.");
2117

2218
builder.Services.AddStoreConnector<CafeBazaarConnector>("CafeBazaar");

Billing.Server.DynamoDb/Billing.Server.DynamoDb.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<RootNamespace>Zebble</RootNamespace>
66
<PackageId>Zebble.Billing.Server.DynamoDb</PackageId>
77
<Product>$(AssemblyName) ($(TargetFramework))</Product>
8-
<Version>1.0.46.0</Version>
8+
<Version>1.0.47.0</Version>
99
<PackOnBuild>true</PackOnBuild>
1010
<NeutralLanguage>en</NeutralLanguage>
1111
<DefineConstants>$(DefineConstants)</DefineConstants>

Billing.Server.EntityFramework/Billing.Server.EntityFramework.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<RootNamespace>Zebble</RootNamespace>
66
<PackageId>Zebble.Billing.Server.EntityFramework</PackageId>
77
<Product>$(AssemblyName) ($(TargetFramework))</Product>
8-
<Version>1.0.43.0</Version>
8+
<Version>1.0.44.0</Version>
99
<PackOnBuild>true</PackOnBuild>
1010
<NeutralLanguage>en</NeutralLanguage>
1111
<DefineConstants>$(DefineConstants)</DefineConstants>

Billing.Server.EntityFramework/Extensions/ZebbleBillingServicesBuilderExtensions.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ public static partial class ZebbleBillingServicesBuilderExtensions
99
public static ZebbleBillingServicesBuilder AddEntityFramework(this ZebbleBillingServicesBuilder builder, string configKey = "ZebbleBilling:EntityFramework")
1010
{
1111
builder.Services.AddOptions<EntityFrameworkOptions>()
12-
.Configure<IConfiguration>((opts, config) =>
13-
{
14-
config.GetSection(configKey)?.Bind(opts);
15-
config.GetSection(ConfigurationPath.KeyDelimiter + configKey)?.Bind(opts);
16-
})
12+
.Configure<IConfiguration>((opts, config) => config.GetSection(configKey)?.Bind(opts))
1713
.Validate(opts => opts.ConnectionString.HasValue(), $"{nameof(EntityFrameworkOptions.ConnectionString)} is empty.");
1814

1915
builder.Services.AddDbContext<SubscriptionDbContext>();

Billing.Server.GooglePlay/Billing.Server.GooglePlay.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<RootNamespace>Zebble</RootNamespace>
66
<PackageId>Zebble.Billing.Server.GooglePlay</PackageId>
77
<Product>$(AssemblyName) ($(TargetFramework))</Product>
8-
<Version>1.0.67.0</Version>
8+
<Version>1.0.68.0</Version>
99
<PackOnBuild>true</PackOnBuild>
1010
<NeutralLanguage>en</NeutralLanguage>
1111
<DefineConstants>$(DefineConstants)</DefineConstants>

Billing.Server.GooglePlay/Extensions/ZebbleBillingServicesBuilderExtensions.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ public static partial class ZebbleBillingServicesBuilderExtensions
1616
public static ZebbleBillingServicesBuilder AddGooglePlay(this ZebbleBillingServicesBuilder builder, string configKey = "ZebbleBilling:GooglePlay")
1717
{
1818
builder.Services.AddOptions<GooglePlayOptions>()
19-
.Configure<IConfiguration>((opts, config) =>
20-
{
21-
config.GetSection(configKey)?.Bind(opts);
22-
config.GetSection(ConfigurationPath.KeyDelimiter + configKey)?.Bind(opts);
23-
})
19+
.Configure<IConfiguration>((opts, config) => config.GetSection(configKey)?.Bind(opts))
2420
.Validate(opts => opts.PackageName.HasValue(), $"{nameof(GooglePlayOptions.PackageName)} is empty.")
2521
.Validate(opts => opts.Store.ProjectId.HasValue(), $"{nameof(GooglePlayStoreOptions.ProjectId)} is empty.")
2622
.Validate(opts => opts.Store.PrivateKeyId.HasValue(), $"{nameof(GooglePlayStoreOptions.PrivateKeyId)} is empty.")

Billing.Server.Huawei/Billing.Server.Huawei.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<RootNamespace>Zebble</RootNamespace>
66
<PackageId>Zebble.Billing.Server.Huawei</PackageId>
77
<Product>$(AssemblyName) ($(TargetFramework))</Product>
8-
<Version>1.0.18.0</Version>
8+
<Version>1.0.19.0</Version>
99
<PackOnBuild>true</PackOnBuild>
1010
<NeutralLanguage>en</NeutralLanguage>
1111
<DefineConstants>$(DefineConstants)</DefineConstants>
@@ -37,7 +37,7 @@
3737
<None Remove=".gitignore" />
3838
<None Remove="icon.png" />
3939
<None Remove="README.md" />
40-
<PackageReference Include="Huawei.DeveloperApi" Version="1.0.4" />
40+
<PackageReference Include="Huawei.DeveloperApi" Version="1.0.5" />
4141
<PackageReference Include="Macross.Json.Extensions" Version="3.0.0" />
4242
<ProjectReference Include="..\Billing.Server\Billing.Server.csproj" />
4343
</ItemGroup>

0 commit comments

Comments
 (0)