@axa-ch/pod-ice-swibeco-onboarding

2.6.0 • Public • Published

ICE SWOB

This project was bootstrapped with create-pod-app (see below).

For local development the backend must be started.

Generating type definitions for the API

For type-save API access we generate TypeScript types from the GraphQL Schema exposed by the backend.

To (re-)generate the TypeScript types run npm run graphql-codegen.
It is assumed that the mav-backend is cloned in the same folder as the mav-frontend.

POD PodIceMitarbeiterverwaltung

This is a Micro Frontend deployable on the AXA.ch WebHub.

Scripts

To install the pod locally: npm install @axa-ch/pod-ice-mitarbeiterverwaltung

DEV commands

  • npm start start local DEV environment
  • npm run build to trigger a ESM build needed for Midgard
  • npm run test to run local tests
  • npm run release to execute a release to npm (VERY IMPORTANT: Read How To Release on this document).

How to release

  1. update package.json in the "version": "x.x.x" field. Please follow semver best practices

  2. run npm run release

  3. commit to develop, add git tag containg the same version as in step 1 and push

  4. Execute jenkins jobs (build & deploy and if all good: promote) with the version added in point 1

Worth a read

SWOB Backend HELM Chart

# login
$ oc login --token=<token> --server=<server>

# dev stage
$ helm upgrade swob-frontend ./helm-charts -f ./helm-charts/values-dev.yaml --namespace ice-dev-axa-ch -i --wait --cleanup-on-fail

# preprod stage
$ helm upgrade swob-frontend ./helm-charts -f ./helm-charts/values-preprod.yaml --namespace ice-preprod-axa-ch -i --wait --cleanup-on-fail

# prod stage
$ helm upgrade swob-frontend ./helm-charts -f ./helm-charts/values-prod.yaml --namespace ice-prod-axa-ch -i --wait --cleanup-on-fail

Readme

Keywords

none

Package Sidebar

Install

npm i @axa-ch/pod-ice-swibeco-onboarding

Weekly Downloads

1

Version

2.6.0

License

ISC

Unpacked Size

1.31 MB

Total Files

7

Last publish

Collaborators

  • gianlucaguarini
  • valentin-hasler
  • marek.laco
  • domirs
  • axa-ch-user
  • matthias.zuercher
  • selinagahlinger