Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Coscine
backend
libraries
Database
Commits
c18652f3
Commit
c18652f3
authored
Nov 02, 2021
by
Petar Hristov
💬
Browse files
Merge branch 'Hotfix/73-fixResourceCreateRDS' into 'master'
Fix: RDS Create (rpdm/issues#73) See merge request
!148
parents
47e3d098
23e642ff
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/Database/Models/ResourceModel.cs
View file @
c18652f3
...
...
@@ -124,6 +124,9 @@ namespace Coscine.Database.Models
{
BucketName
=
resource
.
Id
.
ToString
(),
Size
=
rdsResourceTypeObject
.
Size
,
AccessKey
=
_configuration
.
GetString
(
"coscine/global/rds/ecs-rwth/rds/object_user_name"
),
SecretKey
=
_configuration
.
GetString
(
"coscine/global/rds/ecs-rwth/rds/object_user_secretkey"
),
Endpoint
=
_configuration
.
GetString
(
"coscine/global/rds/ecs-rwth/rds/s3_endpoint"
),
};
rdsResourceTypeModel
.
Insert
(
rdsResourceType
);
resource
.
ResourceTypeOptionId
=
rdsResourceType
.
Id
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment