Skip to content

Commit

Permalink
Update RELEASE_NOTES, bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
dakotablair committed Feb 3, 2022
1 parent dc155bd commit a077a18
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 27 deletions.
5 changes: 5 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Unreleased

## 0.1.1

* Add `update_samples_acls` method - allows for updating many samples ACLs with
a single call.

## 0.1.0-2alpha

* Add propagate_data_links method - propagates data links from a previous sample to the current (latest) version
Expand Down
2 changes: 1 addition & 1 deletion SampleService.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion kbase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ service-language:
python

module-version:
0.1.0-2alpha
0.1.1

owners:
[gaprice, slebras]
Expand Down
24 changes: 13 additions & 11 deletions lib/SampleService/SampleServiceClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,17 +398,19 @@ def update_sample_acls(self, params, context=None):
def update_samples_acls(self, params, context=None):
"""
Update the ACLs of many samples.
:param params: instance of type "UpdateSamplesACLsParams" ->
structure: parameter "ids" of list of type "sample_id" (A Sample
ID. Must be globally unique. Always assigned by the Sample
service.), parameter "admin" of list of type "user" (A user's
username.), parameter "write" of list of type "user" (A user's
username.), parameter "read" of list of type "user" (A user's
username.), parameter "remove" of list of type "user" (A user's
username.), parameter "public_read" of Long, parameter "at_least"
of type "boolean" (A boolean value, 0 for false, 1 for true.),
parameter "as_admin" of type "boolean" (A boolean value, 0 for
false, 1 for true.)
:param params: instance of type "UpdateSamplesACLsParams"
(update_samples_acls parameters. These parameters are the same as
update_sample_acls, except: ids - a list of IDs of samples to
modify.) -> structure: parameter "ids" of list of type "sample_id"
(A Sample ID. Must be globally unique. Always assigned by the
Sample service.), parameter "admin" of list of type "user" (A
user's username.), parameter "write" of list of type "user" (A
user's username.), parameter "read" of list of type "user" (A
user's username.), parameter "remove" of list of type "user" (A
user's username.), parameter "public_read" of Long, parameter
"at_least" of type "boolean" (A boolean value, 0 for false, 1 for
true.), parameter "as_admin" of type "boolean" (A boolean value, 0
for false, 1 for true.)
"""
return self._client.call_method('SampleService.update_samples_acls',
[params], self._service_ver, context)
Expand Down
28 changes: 15 additions & 13 deletions lib/SampleService/SampleServiceImpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ class SampleService:
# state. A method could easily clobber the state set by another while
# the latter method is running.
######################################### noqa
VERSION = "0.1.0-2alpha"
VERSION = "0.1.1"
GIT_URL = "[email protected]:kbase/sample_service.git"
GIT_COMMIT_HASH = "33909140352e79b5aa3320d4b2fe66798ef9b92f"
GIT_COMMIT_HASH = "3f492c0c498144f40fb05f002178dbaa9fee6e0e"

#BEGIN_CLASS_HEADER
#END_CLASS_HEADER
Expand Down Expand Up @@ -518,17 +518,19 @@ def update_sample_acls(self, ctx, params):
def update_samples_acls(self, ctx, params):
"""
Update the ACLs of many samples.
:param params: instance of type "UpdateSamplesACLsParams" ->
structure: parameter "ids" of list of type "sample_id" (A Sample
ID. Must be globally unique. Always assigned by the Sample
service.), parameter "admin" of list of type "user" (A user's
username.), parameter "write" of list of type "user" (A user's
username.), parameter "read" of list of type "user" (A user's
username.), parameter "remove" of list of type "user" (A user's
username.), parameter "public_read" of Long, parameter "at_least"
of type "boolean" (A boolean value, 0 for false, 1 for true.),
parameter "as_admin" of type "boolean" (A boolean value, 0 for
false, 1 for true.)
:param params: instance of type "UpdateSamplesACLsParams"
(update_samples_acls parameters. These parameters are the same as
update_sample_acls, except: ids - a list of IDs of samples to
modify.) -> structure: parameter "ids" of list of type "sample_id"
(A Sample ID. Must be globally unique. Always assigned by the
Sample service.), parameter "admin" of list of type "user" (A
user's username.), parameter "write" of list of type "user" (A
user's username.), parameter "read" of list of type "user" (A
user's username.), parameter "remove" of list of type "user" (A
user's username.), parameter "public_read" of Long, parameter
"at_least" of type "boolean" (A boolean value, 0 for false, 1 for
true.), parameter "as_admin" of type "boolean" (A boolean value, 0
for false, 1 for true.)
"""
# ctx is the context object
#BEGIN update_samples_acls
Expand Down
2 changes: 1 addition & 1 deletion test/SampleService_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
# TODO should really test a start up for the case where the metadata validation config is not
# supplied, but that's almost never going to be the case and the code is trivial, so YAGNI

VER = '0.1.0-2alpha'
VER = '0.1.1'

_AUTH_DB = 'test_auth_db'
_WS_DB = 'test_ws_db'
Expand Down

0 comments on commit a077a18

Please sign in to comment.