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

sig#779 - Enable configMap to seed test data #207

Closed
evegufy opened this issue Jul 16, 2024 · 0 comments · Fixed by #241
Closed

sig#779 - Enable configMap to seed test data #207

evegufy opened this issue Jul 16, 2024 · 0 comments · Fixed by #241
Labels
enhancement New feature or request

Comments

@evegufy
Copy link
Contributor

evegufy commented Jul 16, 2024

Description

Enable helm chart to seed test data with configmap and move default seeding path and processidentity userid out of values file, into migrations job, as changing those values isn't intuitive.

Example for configmap:

apiVersion: v1
kind: ConfigMap
metadata:
  name: example-config
  namespace: {{ .Release.Namespace }}
data:
  addresses.test.json: |-
    [
      {
        "id": "b4db3945-19a7-4a50-97d6-e66e8dfd04fc",
        "date_created": "2022-03-24 18:01:33.306000 +00:00",
        "date_last_changed": "2022-03-24 18:01:33.306000 +00:00",
        "city": "Munich",
        "region": null,
        "streetadditional": null,
        "streetname": "Street",
        "streetnumber": "1",
        "zipcode": "00001",
        "country_alpha2code": "DE"
      }
    ]
  companies.test.json: |-
    [
      {
        "id": "2dc4249f-b5ca-4d42-bef1-7a7a950a4f88",
        "date_created": "2022-03-24 18:01:33.306000 +00:00",
        "business_partner_number": "BPNL00000003CRHL",
        "name": "CX-Test-Access",
        "shortname": "CX-Test-Access",
        "company_status_id": 2,
        "address_id": "b4db3945-19a7-4a50-97d6-e66e8dfd04fe",
        "self_description_document_id": "f90962ee-a358-4381-8947-c56268ff32c7"
      }
    ]

Additional Information

analog change as for portal-backend

relates to #205 (comment)

@evegufy evegufy added the enhancement New feature or request label Jul 16, 2024
@evegufy evegufy added this to Portal Jul 16, 2024
@github-project-automation github-project-automation bot moved this to NEW USER REQUEST in Portal Jul 16, 2024
@evegufy evegufy moved this from NEW USER REQUEST to BACKLOG in Portal Jul 16, 2024
@evegufy evegufy added this to the Release 24.12 milestone Jul 25, 2024
@evegufy evegufy changed the title Enable configMap to seed test data sig#779 - Enable configMap to seed test data Sep 23, 2024
@evegufy evegufy moved this from BACKLOG to IN PROGRESS in Portal Sep 26, 2024
@evegufy evegufy linked a pull request Sep 26, 2024 that will close this issue
9 tasks
@github-project-automation github-project-automation bot moved this from IN PROGRESS to USER READY in Portal Sep 27, 2024
@Phil91 Phil91 moved this from USER READY to IN REVIEW in Portal Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
1 participant