Skip to content

Commit e973cbd

Browse files
authored
FISS v0.16.36
Hotfix: the old billing API is being removed, HL and LL updated to use the new one; Makefile updated to ensure image is built for linux/amd64; Dockerfile updated to use latest Python-3.10. (broadinstitute#183)
1 parent 0cb8dbb commit e973cbd

File tree

6 files changed

+12
-8
lines changed

6 files changed

+12
-8
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.10.5-slim
1+
FROM python:3.10-slim
22

33
COPY . /fiss
44

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ publish: clean
8484
rm -rf build dist *.egg-info
8585

8686
image:
87-
docker build -t broadgdac/fiss .
87+
docker build --platform=linux/amd64 -t broadgdac/fiss .
8888

8989
clean:
9090
rm -rf build dist .eggs *.egg-info *~ */*~ *.pyc */*.pyc

changelog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Change Log for FISSFC: the (Fi)recloud (S)ervice (S)elector
33
================================================================================
44
Terms used below: HL = high level interface, LL = low level interface
55

6+
v0.16.36 - Hotfix: the old billing API is being removed, HL and LL updated to
7+
use the new one; Makefile updated to ensure image is built for
8+
linux/amd64; Dockerfile updated to use latest Python-3.10.
9+
610
v0.16.35 - Hotfix: mop returned errors in Python 2 when trying to read the
711
workspace bucket - bucket listing updated to use the workspace
812
billing project, and the error report was cleaned up.

firecloud/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Package version
2-
__version__ = "0.16.35"
2+
__version__ = "0.16.36"

firecloud/api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,12 +1126,12 @@ def get_api_methods_definitions():
11261126
#################
11271127

11281128
def list_billing_projects():
1129-
"""Get activation information for the logged-in user.
1129+
"""list billing projects for a user.
11301130
11311131
Swagger:
1132-
https://api.firecloud.org/#!/Profile/billing
1132+
https://api.firecloud.org/#/BillingV2/listUserBillingProjectsV2
11331133
"""
1134-
return __get("profile/billing")
1134+
return __get("billing/v2")
11351135

11361136
def get_proxy_group(email=None):
11371137
"""Returns the proxy group email for the current user

firecloud/fiss.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1729,9 +1729,9 @@ def proj_list(args):
17291729
projects = fapi.list_billing_projects()
17301730
fapi._check_response_code(projects, 200)
17311731
projects = sorted(projects.json(), key=lambda d: d['projectName'])
1732-
l = map(lambda p: '{0}\t{1}'.format(p['projectName'], p['role']), projects)
1732+
l = map(lambda p: '{0}\t{1}'.format(p['projectName'], ', '.join(sorted(p['roles']))), projects)
17331733
# FIXME: add username col to output, for when iterating over multiple users
1734-
return ["Project\tRole"] + list(l)
1734+
return ["Project\tRole(s)"] + list(l)
17351735

17361736
@fiss_cmd
17371737
def config_validate(args):

0 commit comments

Comments
 (0)