Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement API in app that returns active instances #6767

Closed
12 tasks done
TheTechArch opened this issue Sep 6, 2021 · 4 comments
Closed
12 tasks done

Implement API in app that returns active instances #6767

TheTechArch opened this issue Sep 6, 2021 · 4 comments
Milestone

Comments

@TheTechArch
Copy link
Member

TheTechArch commented Sep 6, 2021

Description

We need to implement a search API for finding instances for the same app that reported already have active

Specification

A simplified model to return to app frontend
SimpleInstance
DateTime LastChanged (UTC, localized by frontend)
string LastChangedBy (full name of user)
string Id

Tasks

  • Add search functionality to platform service
  • Implement new endpoint
  • Create new model
  • QA
  • Manual test
  • Push final nugets
  • Documentation
  • Automated test

Tests

  • active instances are fetched from org/app/instances/instanceOwnerId/active
  • response is an array of active instance with id, last change by and last changed date.
  • get active instances for user without required roles - empty array
  • instance archived is removed from the list
@lvbachmann lvbachmann added this to the 2021 - W38/39 milestone Sep 20, 2021
@acn-sbuad acn-sbuad self-assigned this Sep 21, 2021
@acn-sbuad
Copy link
Member

acn-sbuad commented Sep 24, 2021

nuget 4.15.1-alpha

@jeevananthank
Copy link
Contributor

ttd/apps-test with the latest nuget version, the endpoint to get active instances returns 500 in AT21. moving back to development.

@altinnadmin altinnadmin changed the title Implement API in APP for search for existing instance Implement API in app that returns existing instances Sep 30, 2021
@acn-sbuad acn-sbuad self-assigned this Oct 4, 2021
@acn-sbuad acn-sbuad removed their assignment Oct 4, 2021
@acn-sbuad
Copy link
Member

nuget 4.15.2-alpha for bug fix

@jeevananthank jeevananthank self-assigned this Oct 4, 2021
@jeevananthank
Copy link
Contributor

test is complete.

@jeevananthank jeevananthank removed their assignment Oct 4, 2021
@acn-sbuad acn-sbuad changed the title Implement API in app that returns existing instances Implement API in app that returns active instances Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants