Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
Loading items

Target

Select target project
  • coscine/backend/apis/project
1 result
Select Git revision
Loading items
Show changes
Commits on Source (5)
# Project Api # Project API
This Api represents the connection to the projects. This API represents the connection to the projects.
## NuGet packages
To use Kestrel you need to add the following NuGet packages:
* ```Microsoft.AspNetCore.Server.Kestrel```
* ```Microsoft.AspNetCore.Mvc```
* ```Microsoft.AspNetCore```
## Consul keys
The following Consul keys are required:
* "coscine/global/waterbutler_url"
* "coscine/global/rds_access_key"
* "coscine/global/rds_secret_key"
* "coscine/global/gitlabtoken"
* Look at cs/action Consul keys
## Https usage ## Https usage
...@@ -27,6 +9,4 @@ and then trust the generated certificate ```dotnet dev-certs https --trust``` ...@@ -27,6 +9,4 @@ and then trust the generated certificate ```dotnet dev-certs https --trust```
## Testing the new server ## Testing the new server
The server ist now available under: https://localhost:6000/ (port may be different!) The server is now available under: https://localhost:6000/ (port may be different!)
job "projectapi" {
datacenters = ["dc1"]
group "projectapi" {
task "projectapi" {
driver = "raw_exec"
config {
command = "C:/Programs/api/project/Project.exe"
args = []
}
}
}
}
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<RootNamespace>Coscine.Api.Project.Tests</RootNamespace> <RootNamespace>Coscine.Api.Project.Tests</RootNamespace>
<AssemblyName>Coscine.Api.Project.Tests</AssemblyName> <AssemblyName>Coscine.Api.Project.Tests</AssemblyName>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<Version>4.2.0</Version></PropertyGroup> <Version>4.2.1</Version></PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\Project\Project.csproj" /> <ProjectReference Include="..\Project\Project.csproj" />
</ItemGroup> </ItemGroup>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<AssemblyName>Coscine.Api.Project</AssemblyName> <AssemblyName>Coscine.Api.Project</AssemblyName>
<GenerateDocumentationFile>true</GenerateDocumentationFile> <GenerateDocumentationFile>true</GenerateDocumentationFile>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<Version>4.2.0</Version> <Version>4.2.1</Version>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<Authors>RWTH Aachen University</Authors> <Authors>RWTH Aachen University</Authors>
......