Aufgrund einer Wartung wird GitLab am 18.01. zwischen 8:00 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 18.01. between 8:00 and 9:00 am.

Commits (4)
# ResourceConfiguration # ResourceConfiguration
This project contains the configuration for resources for the resource type system. This project contains the configuration for resources for the resource type system.
\ No newline at end of file \ No newline at end of file
...@@ -29,13 +29,13 @@ namespace Coscine.ResourceConfiguration.Tests ...@@ -29,13 +29,13 @@ namespace Coscine.ResourceConfiguration.Tests
[Test] [Test]
public void TestConstructor() public void TestConstructor()
{ {
Coscine.ResourceConfiguration.ResourceConfiguration resourceConfiguration = new Coscine.ResourceConfiguration.ResourceConfiguration(); _ = new ResourceConfiguration();
} }
[Test] [Test]
public void TestIsValidResource() public void TestIsValidResource()
{ {
Coscine.ResourceConfiguration.ResourceConfiguration resourcenConfiguration = new Coscine.ResourceConfiguration.ResourceConfiguration(); ResourceConfiguration resourcenConfiguration = new ResourceConfiguration();
Assert.True(resourcenConfiguration.IsValidResource(_resourceTypeValid)); Assert.True(resourcenConfiguration.IsValidResource(_resourceTypeValid));
Assert.False(resourcenConfiguration.IsValidResource(_resourceTypeInvalid)); Assert.False(resourcenConfiguration.IsValidResource(_resourceTypeInvalid));
} }
...@@ -43,7 +43,7 @@ namespace Coscine.ResourceConfiguration.Tests ...@@ -43,7 +43,7 @@ namespace Coscine.ResourceConfiguration.Tests
[Test] [Test]
public void TestGetResourceType() public void TestGetResourceType()
{ {
Coscine.ResourceConfiguration.ResourceConfiguration resourcenConfiguration = new Coscine.ResourceConfiguration.ResourceConfiguration(); ResourceConfiguration resourcenConfiguration = new ResourceConfiguration();
Assert.True(resourcenConfiguration.GetResourceType(_resourceTypeValid).GetType() == new ResourceTypeConfigurationObject().GetType()); Assert.True(resourcenConfiguration.GetResourceType(_resourceTypeValid).GetType() == new ResourceTypeConfigurationObject().GetType());
Assert.True(resourcenConfiguration.GetResourceType(_resourceTypeInvalid) == null); Assert.True(resourcenConfiguration.GetResourceType(_resourceTypeInvalid) == null);
} }
...@@ -51,7 +51,7 @@ namespace Coscine.ResourceConfiguration.Tests ...@@ -51,7 +51,7 @@ namespace Coscine.ResourceConfiguration.Tests
[Test] [Test]
public void TestGetResourceTypes() public void TestGetResourceTypes()
{ {
Coscine.ResourceConfiguration.ResourceConfiguration resourcenConfiguration = new Coscine.ResourceConfiguration.ResourceConfiguration(); ResourceConfiguration resourcenConfiguration = new ResourceConfiguration();
Assert.IsTrue(resourcenConfiguration.GetResourceTypesByStatus("active").Count == resourcenConfiguration.GetAvailableResourceTypes().Count); Assert.IsTrue(resourcenConfiguration.GetResourceTypesByStatus("active").Count == resourcenConfiguration.GetAvailableResourceTypes().Count);
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<RootNamespace>Coscine.ResourceConfiguration</RootNamespace> <RootNamespace>Coscine.ResourceConfiguration</RootNamespace>
<AssemblyName>Coscine.ResourceConfiguration</AssemblyName> <AssemblyName>Coscine.ResourceConfiguration</AssemblyName>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net5.0</TargetFramework>
<Version>2.0.0</Version> <Version>2.1.0</Version>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<Authors>RWTH Aachen University</Authors> <Authors>RWTH Aachen University</Authors>
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
"status": "active", "status": "active",
"config": {}, "config": {},
"requiredFields": [ "requiredFields": [
"BucketName",
"Size" "Size"
] ]
}, },
...@@ -40,6 +39,19 @@ ...@@ -40,6 +39,19 @@
"ResourceUrl" "ResourceUrl"
] ]
}, },
"rdss3": {
"name": {
"de": "FDS S3",
"en": "RDS S3"
},
"path": "ResourceTypeWaterbutlerRdsS3\\Coscine.ResourceTypeWaterbutlerRdsS3.dll",
"className": "ResourceTypeWaterbutlerRdsS3",
"status": "active",
"config": {},
"requiredFields": [
"Size"
]
},
"gitlab": { "gitlab": {
"name": { "name": {
"de": "Gitlab", "de": "Gitlab",
......