Skip to content

Commit

Permalink
fix(domain): change .cloud to .solutions in tests and doc
Browse files Browse the repository at this point in the history
  • Loading branch information
MingboPeng committed Oct 11, 2024
1 parent b1daf6c commit 6f78722
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Build](https://pollination.cloud-dotnet/workflows/CD/badge.svg)](https://pollination.cloud-dotnet/actions) [![NuGet Version and Downloads count](https://buildstats.info/nuget/PollinationSDK?dWidth=50)](https://www.nuget.org/packages/PollinationSDK)
[![Build](https://github.com/pollination/csharp-sdk/actions/workflows/cd.yaml/badge.svg)](https://github.com/pollination/csharp-sdk/actions/workflows/cd.yaml)
[![NuGet Version and Downloads count](https://buildstats.info/nuget/PollinationSDK?dWidth=50)](https://www.nuget.org/packages/PollinationSDK)

# PollinationSDK - the C# library for the pollination-server

Expand All @@ -9,7 +10,7 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap
- API version: 1.1.0
- SDK version: 1.1.0
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
For more information, please visit [https://pollination.cloud](https://pollination.cloud)
For more information, please visit [https://pollination.solutions](https://pollination.solutions)

## Frameworks supported

Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK.Tests/Api/JobsApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ public void RunInputsTest()

private JobInfo CreateTestJobInfo()
{
//var recipe = @"https://api.staging.pollination.cloud/registries/ladybug-tools/recipe/annual-daylight/0.6.4";
var recipe = @"https://api.staging.pollination.cloud/registries/ladybug-tools/recipe/daylight-factor/0.7.14-viz";
//var recipe = @"https://api.staging.pollination.solutions/registries/ladybug-tools/recipe/annual-daylight/0.6.4";
var recipe = @"https://api.staging.pollination.solutions/registries/ladybug-tools/recipe/daylight-factor/0.7.14-viz";

var job = new Job(recipe);

Expand Down
6 changes: 3 additions & 3 deletions src/PollinationSDK.Tests/Model/RecipeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ public void Init()
using (WebClient wc = new WebClient())
{
// Annual daylight
var url = @"https://api.staging.pollination.cloud/recipes/ladybug-tools/annual-daylight/tags/latest";
var url = @"https://api.staging.pollination.solutions/recipes/ladybug-tools/annual-daylight/tags/latest";
var json = wc.DownloadString(url);
this.annualDaylight = RecipePackage.FromJson(json).Manifest;

// Daylight factor
url = @"https://api.staging.pollination.cloud/recipes/ladybug-tools/daylight-factor/tags/latest";
url = @"https://api.staging.pollination.solutions/recipes/ladybug-tools/daylight-factor/tags/latest";
json = wc.DownloadString(url);
this.daylightFactor = RecipePackage.FromJson(json).Manifest;

// Daylight factor
url = @"https://api.staging.pollination.cloud/recipes/ladybug-tools/annual-energy-use/tags/latest";
url = @"https://api.staging.pollination.solutions/recipes/ladybug-tools/annual-energy-use/tags/latest";
json = wc.DownloadString(url);
this.annualEnergyUse = RecipePackage.FromJson(json).Manifest;
}
Expand Down
Loading

0 comments on commit 6f78722

Please sign in to comment.