Commit 8c903ad4 authored by Petar Hristov's avatar Petar Hristov 💬
Browse files

Merge branch 'Issue/1877-ExtendResourceTypeConfigurationNRWFHs' into 'dev'

Issue/1877 extend resource type configuration nrwf hs

See merge request !152
parents ff06e2b2 254727c0
......@@ -19,8 +19,10 @@ namespace Coscine.Database.Models
{
{ "rds", "coscine/global/rds/ecs-rwth/rds" },
{ "rdsude", "coscine/global/rds/ecs-ude/rds" },
{ "rdsnrw", "coscine/global/rds/ecs-nrw/rds" },
{ "rdss3", "coscine/global/rds/ecs-rwth/rds-s3" },
{ "rdss3ude", "coscine/global/rds/ecs-ude/rds-s3" }
{ "rdss3ude", "coscine/global/rds/ecs-ude/rds-s3" },
{ "rdss3nrw", "coscine/global/rds/ecs-nrw/rds-s3" }
};
public Resource StoreFromObject(ResourceObject resourceObject)
......@@ -551,12 +553,12 @@ namespace Coscine.Database.Models
private bool IsLikeRds(string compare)
{
return compare == "rds" || compare == "rdsude";
return compare == "rds" || compare == "rdsude" || compare == "rdsnrw";
}
private bool IsLikeRdsS3(string compare)
{
return compare == "rdss3" || compare == "rdss3ude";
return compare == "rdss3" || compare == "rdss3ude" || compare == "rdss3nrw";
}
}
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment