Skip to content

Commit

Permalink
Merge branch 'hotfix/0.8.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelmathot committed Jun 7, 2021
2 parents 11e1094 + 1964d2d commit c088180
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@
"program": "${workspaceFolder}/src/Stars.Console/bin/Debug/netcoreapp3.1/Stars.dll",
"args": [
"copy",
"https://catalog.charter.uat.esaportal.eu/charter/search?format=atom&uid=802-TSX1_SAR__EEC_RE___SM_S_SRA_20160324T215413_20160324T215421E",
"https://catalog.charter.uat.esaportal.eu//charter/cat/charterdataset/search?format=atom&uid=call100_AB0009e5_001_MUL_L1T",
"-v",
"-r",
"4",
Expand Down
2 changes: 2 additions & 0 deletions src/Stars.Console/Operations/CopyOperation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,8 @@ private async Task<object> CopyNode(IResource node, IRouter router, object state
private AssetFilters CreateAssetFiltersFromOptions()
{
AssetFilters assetFilters = new AssetFilters();
if ( AssetsFilters == null )
return assetFilters;
Regex propertyRegex = new Regex(@"^\{(?'key'[\w:]*)\}(?'value'.*)$");
foreach (var assetName in AssetsFilters)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Stars.Console/Terradue.Stars.Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
<Version>0.8.6</Version>
<Version>0.8.7</Version>
<Version Condition=" '$(VersionSuffix)' != '' ">$(Version)-$(VersionSuffix)</Version>
<VersionSuffix>$(VersionSuffix)</VersionSuffix>
<AssemblyName>Stars</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion src/Stars.Services/Terradue.Stars.Services.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<TargetFramework>netstandard2.1</TargetFramework>
<Title>Terradue.Stars</Title>
<Description>Stars is a set of services for working with Spatio Temporal Catalog such as STAC but not only</Description>
<Version>0.8.6</Version>
<Version>0.8.7</Version>
<!-- <VersionSuffix>beta.1</VersionSuffix> -->
<AssemblyName>Terradue.Stars.Services</AssemblyName>
<PackageId>Terradue.Stars</PackageId>
Expand Down
2 changes: 1 addition & 1 deletion src/Stars.Services/Translator/StacLinkTranslator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public async Task<T> Translate<T>(IResource route) where T : IResource
if (itemNode != null)
{
var links = itemNode.GetLinks();
foreach (IResourceLink stacLink in links.Where(l => l.Relationship == "alternate" && l.ContentType?.MediaType == "application/json"))
foreach (IResourceLink stacLink in links.Where(l => l.Relationship == "alternate" && l.ContentType?.MediaType == "application/geo+json"))
{
try
{
Expand Down

0 comments on commit c088180

Please sign in to comment.