Skip to content

Commit 5683ef4

Browse files
authored
Merge pull request #144 from bcgov/release/v0.4.0
Release COMS v0.4.0
2 parents 63f4971 + c6f441f commit 5683ef4

File tree

8 files changed

+49
-33
lines changed

8 files changed

+49
-33
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ assignees: ''
1010
#### Describe the bug
1111
<!-- A clear and concise description of what the bug is. -->
1212

13+
#### Version Number
14+
<!-- The specific application version you are currently using. -->
15+
<!-- This can be found by visiting the root of the application. -->
16+
<!-- Please include the `app.gitRev` and the `app.version`. -->
17+
1318
#### To Reproduce
1419

1520
Steps to reproduce the behavior:

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ assignees: ''
1010
#### Is your feature request related to a problem? Please describe.
1111
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
1212

13+
#### Version Number
14+
<!-- The specific application version you are currently using. -->
15+
<!-- This can be found by visiting the root of the application. -->
16+
<!-- Please include the `app.gitRev` and the `app.version`. -->
17+
1318
#### Describe the solution you'd like
1419
<!-- A clear and concise description of what you want to happen. -->
1520

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ At this time, only the latest version of Common Object Management Service is sup
1414

1515
| Version | Supported |
1616
| ------- | ------------------ |
17-
| 0.3.0 | :white_check_mark: |
18-
| < 0.3.x | :x: |
17+
| 0.4.0 | :white_check_mark: |
18+
| < 0.4.x | :x: |
1919

2020
## Reporting a Bug
2121

app/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "common-object-management-service",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"private": true,
55
"description": "",
66
"author": "NR Common Service Showcase <NR.CommonServiceShowcase@gov.bc.ca>",

app/src/docs/v1.api-spec.yaml

Lines changed: 31 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,11 @@ paths:
6767
/bucket:
6868
put:
6969
summary: Creates a bucket
70-
description: Creates a bucket in the COMS database. Bucket should exist in S3.
70+
description: >-
71+
Creates a bucket record. Bucket should exist in S3. If the set of
72+
`bucket`, `endpoint` and `key` match an existing record, the user will
73+
be added to that existing bucket with full permissions instead of
74+
generating a new bucket record.
7175
operationId: createBucket
7276
tags:
7377
- Bucket
@@ -100,8 +104,8 @@ paths:
100104
get:
101105
summary: Search for buckets
102106
description: >-
103-
Returns a list of buckets matching all search criteria across all known
104-
versions of buckets.
107+
Returns a list of buckets matching all search criteria across all bucket
108+
records
105109
operationId: searchBuckets
106110
tags:
107111
- Bucket
@@ -143,7 +147,7 @@ paths:
143147
$ref: "#/components/responses/Error"
144148
get:
145149
summary: Returns a bucket
146-
description: Returns a bucket based on bucketId
150+
description: Returns a bucket record based on bucketId
147151
operationId: readBucket
148152
tags:
149153
- Bucket
@@ -162,7 +166,7 @@ paths:
162166
$ref: "#/components/responses/Error"
163167
patch:
164168
summary: Updates a bucket
165-
description: Returns updated bucket
169+
description: Updates the bucket record
166170
operationId: updateBucket
167171
tags:
168172
- Bucket
@@ -188,7 +192,10 @@ paths:
188192
$ref: "#/components/responses/Error"
189193
delete:
190194
summary: Deletes a bucket
191-
description: Deletes the bucket based on bucketId
195+
description: >-
196+
Deletes the bucket record based on bucketId. This request does not
197+
dispatch an S3 operation to request the deletion of the associated
198+
bucket.
192199
operationId: deleteBucket
193200
tags:
194201
- Bucket
@@ -332,8 +339,8 @@ paths:
332339
- $ref: "#/components/parameters/Path-ObjectId"
333340
- $ref: "#/components/parameters/Query-Download"
334341
- $ref: "#/components/parameters/Query-ExpiresIn"
335-
- $ref: "#/components/parameters/Query-VersionId"
336342
- $ref: "#/components/parameters/Query-S3VersionId"
343+
- $ref: "#/components/parameters/Query-VersionId"
337344
responses:
338345
"200":
339346
description: Returns the object
@@ -392,8 +399,8 @@ paths:
392399
- Object
393400
parameters:
394401
- $ref: "#/components/parameters/Path-ObjectId"
395-
- $ref: "#/components/parameters/Query-VersionId"
396402
- $ref: "#/components/parameters/Query-S3VersionId"
403+
- $ref: "#/components/parameters/Query-VersionId"
397404
responses:
398405
"204":
399406
description: Returns object headers
@@ -565,8 +572,8 @@ paths:
565572
parameters:
566573
- $ref: "#/components/parameters/Header-Metadata"
567574
- $ref: "#/components/parameters/Path-ObjectId"
568-
- $ref: "#/components/parameters/Query-VersionId"
569575
- $ref: "#/components/parameters/Query-S3VersionId"
576+
- $ref: "#/components/parameters/Query-VersionId"
570577
responses:
571578
"204":
572579
$ref: "#/components/responses/NoContent"
@@ -590,8 +597,8 @@ paths:
590597
parameters:
591598
- $ref: "#/components/parameters/Header-Metadata"
592599
- $ref: "#/components/parameters/Path-ObjectId"
593-
- $ref: "#/components/parameters/Query-VersionId"
594600
- $ref: "#/components/parameters/Query-S3VersionId"
601+
- $ref: "#/components/parameters/Query-VersionId"
595602
responses:
596603
"204":
597604
$ref: "#/components/responses/NoContent"
@@ -617,8 +624,8 @@ paths:
617624
parameters:
618625
- $ref: "#/components/parameters/Header-Metadata"
619626
- $ref: "#/components/parameters/Path-ObjectId"
620-
- $ref: "#/components/parameters/Query-VersionId"
621627
- $ref: "#/components/parameters/Query-S3VersionId"
628+
- $ref: "#/components/parameters/Query-VersionId"
622629
responses:
623630
"204":
624631
$ref: "#/components/responses/NoContent"
@@ -640,8 +647,8 @@ paths:
640647
parameters:
641648
- $ref: "#/components/parameters/Path-ObjectId"
642649
- $ref: "#/components/parameters/Query-TagSet"
643-
- $ref: "#/components/parameters/Query-VersionId"
644650
- $ref: "#/components/parameters/Query-S3VersionId"
651+
- $ref: "#/components/parameters/Query-VersionId"
645652
responses:
646653
"204":
647654
$ref: "#/components/responses/NoContent"
@@ -664,8 +671,8 @@ paths:
664671
parameters:
665672
- $ref: "#/components/parameters/Path-ObjectId"
666673
- $ref: "#/components/parameters/Query-TagSet"
667-
- $ref: "#/components/parameters/Query-VersionId"
668674
- $ref: "#/components/parameters/Query-S3VersionId"
675+
- $ref: "#/components/parameters/Query-VersionId"
669676
responses:
670677
"204":
671678
$ref: "#/components/responses/NoContent"
@@ -689,8 +696,8 @@ paths:
689696
parameters:
690697
- $ref: "#/components/parameters/Path-ObjectId"
691698
- $ref: "#/components/parameters/Query-TagSet"
692-
- $ref: "#/components/parameters/Query-VersionId"
693699
- $ref: "#/components/parameters/Query-S3VersionId"
700+
- $ref: "#/components/parameters/Query-VersionId"
694701
responses:
695702
"204":
696703
$ref: "#/components/responses/NoContent"
@@ -2051,7 +2058,7 @@ components:
20512058
The unique identifier for the bucket. When `objectPerms=true`
20522059
response will include buckets containing objects with matching
20532060
permissions.
2054-
example: bf246e31-c807-496c-bc93-cd8bc2f1897hf
2061+
example: bf246e31-c807-496c-bc93-cd8bc2f1897f
20552062
permissions:
20562063
type: array
20572064
items:
@@ -2135,10 +2142,9 @@ components:
21352142
type: boolean
21362143
example: true
21372144
s3VersionId:
2138-
type: integer
2139-
format: int32
2140-
description: a version identifier created in S3
2141-
example: 1647462569641
2145+
type: string
2146+
description: A version identifier created in S3
2147+
example: "1647462569641"
21422148
Response-ObjectDetails:
21432149
title: Response Object Details
21442150
type: object
@@ -2277,7 +2283,7 @@ components:
22772283
value:
22782284
type: object
22792285
description: Contents of the field that was in error.
2280-
example: utf-8x
2286+
example: {}
22812287
message:
22822288
type: string
22832289
description: The error message for the field.
@@ -2297,7 +2303,7 @@ components:
22972303
s3VersionId:
22982304
type: string
22992305
description: a version identifier created in S3
2300-
example: 1647462569641
2306+
example: "1647462569641"
23012307
S3-Metadata:
23022308
title: S3 Metadata
23032309
type: object
@@ -2357,8 +2363,8 @@ components:
23572363
example: AES256
23582364
s3VersionId:
23592365
type: string
2360-
description: a version identifier created in S3
2361-
example: 1647462569641
2366+
description: A version identifier created in S3
2367+
example: "1647462569641"
23622368
S3-Version:
23632369
title: S3 Version
23642370
type: object
@@ -2387,8 +2393,8 @@ components:
23872393
description: Key of the object
23882394
s3VersionId:
23892395
type: string
2390-
description: a version identifier created in S3
2391-
example: 1647462569641
2396+
description: A version identifier created in S3
2397+
example: "1647462569641"
23922398
IsLatest:
23932399
description: >-
23942400
Specifies whether the object is (true) or is not (false) the latest

charts/coms/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: common-object-management-service
33
# This is the chart version. This version number should be incremented each time you make changes
44
# to the chart and its templates, including the app version.
55
# Versions are expected to follow Semantic Versioning (https://semver.org/)
6-
version: 0.0.10
6+
version: 0.0.11
77
kubeVersion: ">= 1.13.0"
88
description: A microservice for managing access control to S3 Objects
99
# A chart can be either an 'application' or a 'library' chart.
@@ -43,6 +43,6 @@ maintainers:
4343
# incremented each time you make changes to the application. Versions are not expected to
4444
# follow Semantic Versioning. They should reflect the version the application is using.
4545
# It is recommended to use it with quotes.
46-
appVersion: "0.3.0"
46+
appVersion: "0.4.0"
4747
deprecated: false
4848
annotations: {}

charts/coms/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# common-object-management-service
22

3-
![Version: 0.0.9](https://img.shields.io/badge/Version-0.0.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.3.0](https://img.shields.io/badge/AppVersion-0.3.0-informational?style=flat-square)
3+
![Version: 0.0.11](https://img.shields.io/badge/Version-0.0.11-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.4.0](https://img.shields.io/badge/AppVersion-0.4.0-informational?style=flat-square)
44

55
A microservice for managing access control to S3 Objects
66

0 commit comments

Comments
 (0)