question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

STORY: Create workspaces API resource collection

See original GitHub issue

Workspaces are created, updated, retrieved and deleted through the /workspaces resource collection on the API.

  • Expose resource collection from HTTP API.
  • CRUD operations for workspaces based on defined data model
  • Resource state stored in state store
  • Initialize required Cosmos containers and data.

Acceptance critiera

  • Bootstrap cosmos db with /workspaces container #111
  • Workspaces resource collection exposed in api
  • Workspaces persisted, and retrieved from State store
    • [GET] /workspaces - returns all resource documents that are not marked as deleted #114
    • [POST] /workspaces - creates a resource document in the state store #112
    • [GET] /workspaces/{workspace_id} - returns the given resource document from the state store #113

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
christoferlofcommented, May 26, 2021

@christoferlof @Lybecker - I updated the acceptance criteria

[GET] /worksapces - returns all resource documents that are not marked as deleted - can you verify if my understanding here is correct, or should it return all?

@TessFerrandez correct, only return workspaces that are not marked as deleted.

1reaction
christoferlofcommented, May 26, 2021

@christoferlof and @Lybecker - we currently don’t have a physical data model, do we need to create one, or can we use a minimal assumed set for this story, and then incrementally add as we need?

@TessFerrandez minimal assumed set for this story please, and then we add as we need. Should be aligned with the logical data model though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating workspaces - Postman Learning Center
You can group your projects together, with workspace acting as the single source of truth for related APIs, collections, environments, mocks, monitors, ...
Read more >
Using Amazon API Gateway with Amazon WorkSpaces to ...
This post describes how to create a private API in API Gateway as an endpoint for Amazon WorkSpaces to access AWS services.
Read more >
Collections - ADM Help Centers
A resource collection is a set of resource instances. For example, the defects collection contains resources that represent defects.
Read more >
Workspaces (Projects) - Mavenlink API
Workspaces (also know as Projects) are Mavenlink's primary space for communication and collaboration ... Whether you can create line items in this workspace...
Read more >
Workspaces - Terraform Cloud - HashiCorp Developer
Workspaces enable Terraform Cloud to manage collections of infrastructure ... managing resources, the state history can be useful for tracking changes over ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found