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

[PRIO 2] Local development setup #511

Closed
13 tasks done
ds-ashanmugavel opened this issue Dec 21, 2023 · 8 comments · Fixed by #1268
Closed
13 tasks done

[PRIO 2] Local development setup #511

ds-ashanmugavel opened this issue Dec 21, 2023 · 8 comments · Fixed by #1268
Assignees
Labels
2 - Local Deployment Settings / Umbrella Helm backend Backend related issues frontend Frontend related Issues spillover temporary label for spill over

Comments

@ds-ashanmugavel
Copy link
Contributor

ds-ashanmugavel commented Dec 21, 2023

As a contributor
I want to start backend and frontend locally
so that I can participate on the development on trace-x on local resources

Link

Hints / Details

Acceptance Criteria

  • HELM Chart realization to be reused
  • Backend can be started locally
  • Frontend can be started locally
  • Required shared services like (irs, dtr, semantic hub,edc) could be used in local setup (mocks or instances)
  • Frontend can use local deployed backend
  • External services connected to the backend will be returning mock responses
  • Authentication against the portal is not necessary
    • All roles (admin, user, supervisor) MUST be used
  • Local deployment is documented in a sufficient way for external contributors
  • Upload test data
  • Document how to set up (updated)
    • Define what is out of scope and working
    • INSTALL.md

Out of Scope

  • Notification flow up and running
  • IRS Sync up and working
@github-project-automation github-project-automation bot moved this to inbox in Trace-X Dec 21, 2023
@jzbmw jzbmw added backend Backend related issues frontend Frontend related Issues labels Jan 9, 2024
@jzbmw jzbmw changed the title [BE][FE] Local development setup Local development setup Jan 9, 2024
@mkanal mkanal moved this from inbox to backlog in Trace-X Feb 6, 2024
@ds-ext-sceronik
Copy link
Contributor

@mkanal @jzbmw @ds-mwesener
for local deployment if We should first consider reducing number of used EDCs from 2 to 1 to use only one instance of EDC for consuming and providing purpouses.

Also question if local setup should be single instance or 2 instances deployed and configured that way so it would be possible to send notifications between them ?

@ds-mwesener
Copy link
Contributor

To be discussed.

@ds-mwesener ds-mwesener added the DISCUSSION_NEEDED This ticket needs discussion within teammembers label Feb 16, 2024
@mauantoniojw
Copy link

in case is helpful, a wiremock image can be useful to mock external services like irs, edcs, etc.
keycloak is something the local environment can also run for auth (realm file that includes Supervisor, User and Admin)

@mkanal mkanal removed the DISCUSSION_NEEDED This ticket needs discussion within teammembers label Mar 5, 2024
@mkanal
Copy link
Contributor

mkanal commented Mar 5, 2024

We have resolved the discussion by adding story #728 which corrects the edc notification flow. Discussion label was removed.

@ds-lcapellino
Copy link
Contributor

Also update the INSTALL.md file in order to have an up to date tutorial.

@ds-lcapellino ds-lcapellino moved this from backlog to next in Trace-X Apr 23, 2024
@ds-lcapellino
Copy link
Contributor

As discussed in today's daily, we moved this issue to the current sprint.

@ds-lcapellino ds-lcapellino moved this from next to wip in Trace-X Apr 25, 2024
@ds-lcapellino ds-lcapellino self-assigned this Apr 25, 2024
@ds-lcapellino ds-lcapellino moved this from wip to next in Trace-X Apr 25, 2024
@ds-lcapellino ds-lcapellino removed their assignment Apr 25, 2024
@RazvanZmau RazvanZmau added the spillover temporary label for spill over label Apr 30, 2024
@mkanal mkanal moved this from next to backlog in Trace-X May 14, 2024
@mkanal mkanal moved this from backlog to next in Trace-X Jun 26, 2024
@mkanal mkanal changed the title Local development setup [PRIO 2] Local development setup Jun 26, 2024
@ds-mwesener ds-mwesener moved this from next to wip in Trace-X Jul 11, 2024
@ds-jhartmann
Copy link
Contributor

ds-jhartmann commented Jul 23, 2024

Created a configuration for trace-x in the umbrella repository: https://github.com/eclipse-tractusx/tractus-x-umbrella/tree/chore/trace-x-integration
Added frontend configs and documentation how to use the umbrella chart in #1268

  • HELM Chart realization to be reused
  • Backend can be started locally (as part of umbrella chart)
  • Frontend can be started locally
  • Required shared services like (irs, dtr, semantic hub,edc) could be used in local setup (mocks or instances)
  • Frontend can use local deployed backend (backend as part of umbrella chart)
  • External services connected to the backend will be returning mock responses
  • Authentication against the portal is not necessary
    • All roles (admin, user, supervisor) MUST be used
  • Local deployment is documented in a sufficient way for external contributors
  • Upload test data
  • Document how to set up (updated)
    • Define what is out of scope and working
    • INSTALL.md

@ds-mwesener ds-mwesener moved this from wip to test in Trace-X Jul 24, 2024
@ds-mwesener ds-mwesener self-assigned this Jul 24, 2024
@ds-mwesener ds-mwesener moved this from test to review in Trace-X Jul 26, 2024
@ds-mwesener
Copy link
Contributor

Story is done. Please validate or move to done. Thanks

@ds-crehm ds-crehm reopened this Jul 30, 2024
@mkanal mkanal moved this from review to done in Trace-X Aug 6, 2024
@mkanal mkanal closed this as completed Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 - Local Deployment Settings / Umbrella Helm backend Backend related issues frontend Frontend related Issues spillover temporary label for spill over
Projects
Status: done
Development

Successfully merging a pull request may close this issue.

10 participants