Skip to content

Commit

Permalink
Merge branch 'release/2.19.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
floeschau committed Feb 19, 2024
2 parents d82d6f7 + 9e3cd4e commit e0300f0
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 3 deletions.
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>net6.0</TargetFrameworks>
<Version>2.19.2</Version>
<Version>2.19.3</Version>
<!-- <VersionSuffix>beta.8</VersionSuffix> -->
<Description>Stars is a CLI for working with Spatio Temporal Catalog such as STAC but not only</Description>
<Version Condition=" '$(VersionSuffix)' != '' ">$(Version)-$(VersionSuffix)</Version>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"filter-lang": "cql2-json",
"filter": {
"op": "=",
"args": [
{
"property": "t2:product_type"
},
"S2MSI2A"
]
},
"result": {
"{http://a9.com/-/opensearch/extensions/eo/1.0/}productType": "S2MSI2A"
}
}
9 changes: 9 additions & 0 deletions src/Stars.Data/Suppliers/OpenSearchableSupplier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,9 @@ private void FillParametersFromIsInListPredicate(IsInListPredicate isInListPredi
case "collection":
parameters.Set("{http://a9.com/-/opensearch/extensions/eo/1.0/}parentIdentifier", "{" + string.Join(",", values) + "}");
return;
case "t2:product_type":
parameters.Set("{http://a9.com/-/opensearch/extensions/eo/1.0/}productType", "{" + string.Join(",", values) + "}");
return;
case "keywords":
parameters.Set("{http://purl.org/dc/terms/}subject", "{" + string.Join(",", values) + "}");
return;
Expand Down Expand Up @@ -506,6 +509,9 @@ private void FillParametersFromIsLikePredicate(IsLikePredicate isLikePredicate,
case "keywords":
parameters.Set("{http://purl.org/dc/terms/}subject", value);
return;
case "t2:product_type":
parameters.Set("{http://a9.com/-/opensearch/extensions/eo/1.0/}productType", value);
return;
case "eo:cloud_cover":
parameters.Set("{http://a9.com/-/opensearch/extensions/eo/1.0/}cloudCover", value);
return;
Expand Down Expand Up @@ -553,6 +559,9 @@ private void FillParametersFromBinaryComparisonPredicate(BinaryComparisonPredica
case "collection":
parameters.Set("{http://a9.com/-/opensearch/extensions/eo/1.0/}parentIdentifier", ValueToNumberSetOrInterval(value.ToString(), binaryComparisonPredicate.Op));
return;
case "t2:product_type":
parameters.Set("{http://a9.com/-/opensearch/extensions/eo/1.0/}productType", ValueToNumberSetOrInterval(value.ToString(), binaryComparisonPredicate.Op));
return;
case "eo:cloud_cover":
parameters.Set("{http://a9.com/-/opensearch/extensions/eo/1.0/}cloudCover", ValueToNumberSetOrInterval(value.ToString(), binaryComparisonPredicate.Op));
return;
Expand Down
2 changes: 1 addition & 1 deletion src/Stars.Data/Terradue.Stars.Data.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ProjectName>Terradue.Stars.Data</ProjectName>
<Title>Terradue.Stars.Data</Title>
<Description>Collection of data Plugins for Terradue.Stars</Description>
<Version>2.19.2</Version>
<Version>2.19.3</Version>
<!-- <VersionSuffix>beta.8</VersionSuffix> -->
<Version Condition=" '$(VersionSuffix)' != '' ">$(Version)-$(VersionSuffix)</Version>
<NoWarn>NU1603</NoWarn>
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.0</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>2.19.2</Version>
<Version>2.19.3</Version>
<!-- <VersionSuffix>beta.8</VersionSuffix> -->
<Version Condition=" '$(VersionSuffix)' != '' ">$(Version)-$(VersionSuffix)</Version>
<AssemblyName>Terradue.Stars.Services</AssemblyName>
Expand Down

0 comments on commit e0300f0

Please sign in to comment.