Skip to content

Releases: globus/globus-registered-api

v0.6.0

11 Mar 21:24
v0.6.0
42d1c00

Choose a tag to compare

Added

  • Prompt for target descriptions in the gra manage command.
  • Add a document version to the config file with a more user-friendly error message.

Documentation

  • Introduce project documentation.

v0.5.0

11 Mar 12:58
v0.5.0
0e191f2

Choose a tag to compare

Added

  • Add a gra publish command to create and update registered APIs
    in the Flows service.

Fixed

  • Remove whitespace from OpenAPI specification URLs and paths.

    Whitespaces, including newlines, may be introduced via copy-and-paste.
    Extraneous whitespace is now removed to prevent these types of issues.

v0.4.1

05 Mar 23:23
v0.4.1
f1d294d

Choose a tag to compare

Fixed

  • Fix gra build to generate absolute destination URLs
    instead of relative paths using base_url from config.

v0.4.0

05 Mar 00:11
v0.4.0
8038bcc

Choose a tag to compare

Breaking changes

  • Change the GlobusAuth scope config model to only allow one scope per target.

    This is a breaking change for any config with a defined target.

Added

  • Add a gra build command to generate a manifest file for Registered APIs.

v0.3.0

03 Mar 23:00
v0.3.0
6a5a35f

Choose a tag to compare

Added

  • Add Access Role Control to gra api create.

    Usage Example:

    gra api create "My API" \
        --target ./target-json-structure.json \
        --description "My Cool API" \
        --owner "urn:globus:auth:identity:0b8067fc-0bb4-46e4-b23d-3ad543624519" \
        --admin "urn:globus:auth:identity:d86ff962-1b2a-4de8-8bde-7dc993494dcb" \
        --admin "urn:globus:groups:id:b0d11f00-5701-480f-a523-5b03869dfdbc" \
        --viewer "urn:globus:groups:id:ed3219c3-c4ef-4b04-932a-d00bf88ceea7"

Fixed

  • Sort the list of available targets more consistently.

Changed

  • Change the gra api create command to accept a target file,
    instead of constructing one from a supplied OpenAPI specification.

    New usage example:

    gra api create "My API" \
        --target ./target-json-structure.json \
        --description "My Cool API"
  • Change the gra api update command to accept a target file
    with the option --target instead of a target-file argument.

Development

  • Standardize the way that Registered APIs are printed across commands.

v0.2.1

03 Mar 01:04
v0.2.1
a79ff8e

Choose a tag to compare

Fixed

  • Fix an AssertionError that occurs if there are no roles or no targets.

v0.2.0

27 Feb 16:12
v0.2.0
c1ff674

Choose a tag to compare

Added

  • Implement an interactive gra init command to initialize a new repository.
  • Implement an interactive gra manage command to manage a repository.

Development

  • Add re-usable constructs for requesting single- and multi-value user selections.

v0.1.0

26 Feb 22:17
v0.1.0
a72b325

Choose a tag to compare

Added

Initial release.

These commands are currently available:

  • API commands under the gra api command group:

    • gra api create
    • gra api list
    • gra api show
    • gra api update
    • gra api delete
  • Globus Auth session management commands under the gra session command group:

    • gra session whoami
    • gra session logout
  • Repository abstraction commands (currently only stubbed):

    • gra init
    • gra manage
    • gra publish

Supported environment variables:

  • GLOBUS_PROFILE, for profile-aware token storage.
  • GLOBUS_REGISTERED_API_CLIENT_ID and GLOBUS_REGISTERED_API_CLIENT_SECRET
    for using a confidential client for API calls.