Skip to content

Commit

Permalink
Merge branch 'release/0.9.14'
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelmathot committed Jul 27, 2021
2 parents 0811949 + 9c495e1 commit 024c887
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 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>netcoreapp3.1;net5.0</TargetFrameworks>
<Version>0.9.13</Version>
<Version>0.9.14</Version>
<Version Condition=" '$(VersionSuffix)' != '' ">$(Version)-$(VersionSuffix)</Version>
<VersionSuffix>$(VersionSuffix)</VersionSuffix>
<AssemblyName>Stars</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion src/Stars.Services/Model/Stac/StacCatalogNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public override IReadOnlyList<IResource> GetRoutes(ICredentials credentials)
.ToList();
}

public static StacCatalogNode CreateUnlocatedNode(StacCatalog catalog)
public static StacCatalogNode CreateUnlocatedNode(IStacCatalog catalog)
{
return new StacCatalogNode(catalog, new Uri(catalog.Id + ".json", UriKind.Relative));
}
Expand Down
4 changes: 1 addition & 3 deletions src/Stars.Services/Model/Stac/StacNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public string FileName
{
if (!string.IsNullOrEmpty(filename))
return filename;
if (IsRoot)
if (ResourceType == ResourceType.Catalog)
return "catalog.json";
return Id + ".json";
}
Expand Down Expand Up @@ -86,8 +86,6 @@ public IReadOnlyList<IResourceLink> GetLinks()

public IStacObject StacObject => stacObject;

public bool IsRoot { get; set; }

public bool CanBeRanged => false;

public abstract IReadOnlyList<IResource> GetRoutes(ICredentials credentials);
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.9.13</Version>
<Version>0.9.14</Version>
<!-- <VersionSuffix>beta.1</VersionSuffix> -->
<AssemblyName>Terradue.Stars.Services</AssemblyName>
<PackageId>Terradue.Stars</PackageId>
Expand Down

0 comments on commit 024c887

Please sign in to comment.