diff --git a/.forgejo/workflows/build-checkin.yml b/.forgejo/workflows/build-checkin.yml deleted file mode 100644 index 3971e9df..00000000 --- a/.forgejo/workflows/build-checkin.yml +++ /dev/null @@ -1,83 +0,0 @@ -name: Build & Deploy Checkin Service - -on: - push: - tags: - - "checkin-dev[0-9]+.[0-9]+.[0-9]+" - - "checkin-dev[0-9]+.[0-9]+.[0-9]+*" - workflow_dispatch: - -env: - REGISTRY: ${{ vars.CONTAINER_REGISTRY }} - REGISTRY_USERNAME: ${{ vars.CONTAINER_REGISTRY_USERNAME }} - REGISTRY_PASSWORD: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }} - CONTAINER_IMAGE_NAME: ${{ vars.CONTAINER_REGISTRY }}/${{ vars.CONTAINER_IMAGE_OWNER }} - IMAGE_VERSION: latest - SERVICE_NAME: hrms-api-checkin - DISCORD_WEBHOOK: ${{ vars.DISCORD_WEBHOOK }} - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Tag Version - shell: bash - run: | - if [[ "${{ github.event_name }}" == "push" ]]; then - VERSION=$(echo "${{ github.ref_name }}" | sed 's/checkin-dev//g') - echo "IMAGE_VERSION=${VERSION}" >> $GITHUB_ENV - else - echo "IMAGE_VERSION=${{ env.IMAGE_VERSION }}-${{ github.run_number }}" >> $GITHUB_ENV - fi - - name: Login in to registry - uses: docker/login-action@v3 - with: - registry: ${{ env.REGISTRY }} - username: ${{ env.REGISTRY_USERNAME }} - password: ${{ env.REGISTRY_PASSWORD }} - - - name: Build and push docker image - uses: docker/build-push-action@v5 - with: - platforms: linux/amd64 - context: . - file: ./BMA.EHR.CheckInConsumer/Dockerfile - tags: ${{ env.CONTAINER_IMAGE_NAME }}/${{ env.SERVICE_NAME }}:latest,${{ env.CONTAINER_IMAGE_NAME }}/${{ env.SERVICE_NAME }}:${{ env.IMAGE_VERSION }} - push: true - - - name: Remote Deploy - uses: appleboy/ssh-action@v1.2.1 - with: - host: ${{ vars.SSH_DEPLOY_HOST }} - port: ${{ vars.SSH_DEPLOY_PORT }} - username: ${{ secrets.SSH_DEPLOY_USER }} - password: ${{ secrets.SSH_DEPLOY_PASSWORD }} - script: | - cd ~/repo - ./replace-env.sh API_CHECKIN "${{ env.IMAGE_VERSION }}" - ./deploy.sh ${{ env.SERVICE_NAME }} - - - name: Discord Notification - if: always() - run: | - STATUS="${{ job.status == 'success' && '✅ Success' || '❌ Failed' }}" - COLOR="${{ job.status == 'success' && '3066993' || '15158332' }}" - TIMESTAMP=$(date -u +%Y-%m-%dT%H:%M:%SZ) - curl -H "Content-Type: application/json" \ - -X POST \ - -d "{ - \"embeds\": [{ - \"title\": \"$STATUS\", - \"description\": \"**Build & Deploy**\\n- Image: \`${{ env.CONTAINER_IMAGE_NAME }}/${{ env.SERVICE_NAME }}\`\\n- Version: \`${{ env.IMAGE_VERSION }}\`\\n- By: \`${{ gitea.actor }}\`\", - \"color\": $COLOR, - \"footer\": { - \"text\": \"Release Notification\", - \"icon_url\": \"https://example.com/success-icon.png\" - }, - \"timestamp\": \"$TIMESTAMP\" - }] - }" \ - ${{ env.DISCORD_WEBHOOK }} diff --git a/.forgejo/workflows/build-discipline.yml b/.forgejo/workflows/build-discipline.yml deleted file mode 100644 index 767d775b..00000000 --- a/.forgejo/workflows/build-discipline.yml +++ /dev/null @@ -1,83 +0,0 @@ -name: Build & Deploy Discipline Service - -on: - push: - tags: - - "discipline-dev[0-9]+.[0-9]+.[0-9]+" - - "discipline-dev[0-9]+.[0-9]+.[0-9]+*" - workflow_dispatch: - -env: - REGISTRY: ${{ vars.CONTAINER_REGISTRY }} - REGISTRY_USERNAME: ${{ vars.CONTAINER_REGISTRY_USERNAME }} - REGISTRY_PASSWORD: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }} - CONTAINER_IMAGE_NAME: ${{ vars.CONTAINER_REGISTRY }}/${{ vars.CONTAINER_IMAGE_OWNER }} - IMAGE_VERSION: latest - SERVICE_NAME: hrms-api-discipline - DISCORD_WEBHOOK: ${{ vars.DISCORD_WEBHOOK }} - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Tag Version - shell: bash - run: | - if [[ "${{ github.event_name }}" == "push" ]]; then - VERSION=$(echo "${{ github.ref_name }}" | sed 's/discipline-dev//g') - echo "IMAGE_VERSION=${VERSION}" >> $GITHUB_ENV - else - echo "IMAGE_VERSION=${{ env.IMAGE_VERSION }}-${{ github.run_number }}" >> $GITHUB_ENV - fi - - name: Login in to registry - uses: docker/login-action@v3 - with: - registry: ${{ env.REGISTRY }} - username: ${{ env.REGISTRY_USERNAME }} - password: ${{ env.REGISTRY_PASSWORD }} - - - name: Build and push docker image - uses: docker/build-push-action@v5 - with: - platforms: linux/amd64 - context: . - file: ./BMA.EHR.Discipline.Service/Dockerfile - tags: ${{ env.CONTAINER_IMAGE_NAME }}/${{ env.SERVICE_NAME }}:latest,${{ env.CONTAINER_IMAGE_NAME }}/${{ env.SERVICE_NAME }}:${{ env.IMAGE_VERSION }} - push: true - - - name: Remote Deploy - uses: appleboy/ssh-action@v1.2.1 - with: - host: ${{ vars.SSH_DEPLOY_HOST }} - port: ${{ vars.SSH_DEPLOY_PORT }} - username: ${{ secrets.SSH_DEPLOY_USER }} - password: ${{ secrets.SSH_DEPLOY_PASSWORD }} - script: | - cd ~/repo - ./replace-env.sh API_DISCIPLINE "${{ env.IMAGE_VERSION }}" - ./deploy.sh ${{ env.SERVICE_NAME }} - - - name: Discord Notification - if: always() - run: | - STATUS="${{ job.status == 'success' && '✅ Success' || '❌ Failed' }}" - COLOR="${{ job.status == 'success' && '3066993' || '15158332' }}" - TIMESTAMP=$(date -u +%Y-%m-%dT%H:%M:%SZ) - curl -H "Content-Type: application/json" \ - -X POST \ - -d "{ - \"embeds\": [{ - \"title\": \"$STATUS\", - \"description\": \"**Build & Deploy**\\n- Image: \`${{ env.CONTAINER_IMAGE_NAME }}/${{ env.SERVICE_NAME }}\`\\n- Version: \`${{ env.IMAGE_VERSION }}\`\\n- By: \`${{ gitea.actor }}\`\", - \"color\": $COLOR, - \"footer\": { - \"text\": \"Release Notification\", - \"icon_url\": \"https://example.com/success-icon.png\" - }, - \"timestamp\": \"$TIMESTAMP\" - }] - }" \ - ${{ env.DISCORD_WEBHOOK }} diff --git a/.forgejo/workflows/build-insignia.yml b/.forgejo/workflows/build-insignia.yml deleted file mode 100644 index 7ddcbdbd..00000000 --- a/.forgejo/workflows/build-insignia.yml +++ /dev/null @@ -1,83 +0,0 @@ -name: Build & Deploy Insignia Service - -on: - push: - tags: - - "insignia-dev[0-9]+.[0-9]+.[0-9]+" - - "insignia-dev[0-9]+.[0-9]+.[0-9]+*" - workflow_dispatch: - -env: - REGISTRY: ${{ vars.CONTAINER_REGISTRY }} - REGISTRY_USERNAME: ${{ vars.CONTAINER_REGISTRY_USERNAME }} - REGISTRY_PASSWORD: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }} - CONTAINER_IMAGE_NAME: ${{ vars.CONTAINER_REGISTRY }}/${{ vars.CONTAINER_IMAGE_OWNER }} - IMAGE_VERSION: latest - SERVICE_NAME: hrms-api-insignia - DISCORD_WEBHOOK: ${{ vars.DISCORD_WEBHOOK }} - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Tag Version - shell: bash - run: | - if [[ "${{ github.event_name }}" == "push" ]]; then - VERSION=$(echo "${{ github.ref_name }}" | sed 's/insignia-dev//g') - echo "IMAGE_VERSION=${VERSION}" >> $GITHUB_ENV - else - echo "IMAGE_VERSION=${{ env.IMAGE_VERSION }}-${{ github.run_number }}" >> $GITHUB_ENV - fi - - name: Login in to registry - uses: docker/login-action@v3 - with: - registry: ${{ env.REGISTRY }} - username: ${{ env.REGISTRY_USERNAME }} - password: ${{ env.REGISTRY_PASSWORD }} - - - name: Build and push docker image - uses: docker/build-push-action@v5 - with: - platforms: linux/amd64 - context: . - file: ./BMA.EHR.Insignia/Dockerfile - tags: ${{ env.CONTAINER_IMAGE_NAME }}/${{ env.SERVICE_NAME }}:latest,${{ env.CONTAINER_IMAGE_NAME }}/${{ env.SERVICE_NAME }}:${{ env.IMAGE_VERSION }} - push: true - - - name: Remote Deploy - uses: appleboy/ssh-action@v1.2.1 - with: - host: ${{ vars.SSH_DEPLOY_HOST }} - port: ${{ vars.SSH_DEPLOY_PORT }} - username: ${{ secrets.SSH_DEPLOY_USER }} - password: ${{ secrets.SSH_DEPLOY_PASSWORD }} - script: | - cd ~/repo - ./replace-env.sh API_INSIGNIA "${{ env.IMAGE_VERSION }}" - ./deploy.sh ${{ env.SERVICE_NAME }} - - - name: Discord Notification - if: always() - run: | - STATUS="${{ job.status == 'success' && '✅ Success' || '❌ Failed' }}" - COLOR="${{ job.status == 'success' && '3066993' || '15158332' }}" - TIMESTAMP=$(date -u +%Y-%m-%dT%H:%M:%SZ) - curl -H "Content-Type: application/json" \ - -X POST \ - -d "{ - \"embeds\": [{ - \"title\": \"$STATUS\", - \"description\": \"**Build & Deploy**\\n- Image: \`${{ env.CONTAINER_IMAGE_NAME }}/${{ env.SERVICE_NAME }}\`\\n- Version: \`${{ env.IMAGE_VERSION }}\`\\n- By: \`${{ gitea.actor }}\`\", - \"color\": $COLOR, - \"footer\": { - \"text\": \"Release Notification\", - \"icon_url\": \"https://example.com/success-icon.png\" - }, - \"timestamp\": \"$TIMESTAMP\" - }] - }" \ - ${{ env.DISCORD_WEBHOOK }} diff --git a/.forgejo/workflows/build-leave.yml b/.forgejo/workflows/build-leave.yml deleted file mode 100644 index b1c9c168..00000000 --- a/.forgejo/workflows/build-leave.yml +++ /dev/null @@ -1,83 +0,0 @@ -name: Build & Deploy Leave Service - -on: - push: - tags: - - "leave-dev[0-9]+.[0-9]+.[0-9]+" - - "leave-dev[0-9]+.[0-9]+.[0-9]+*" - workflow_dispatch: - -env: - REGISTRY: ${{ vars.CONTAINER_REGISTRY }} - REGISTRY_USERNAME: ${{ vars.CONTAINER_REGISTRY_USERNAME }} - REGISTRY_PASSWORD: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }} - CONTAINER_IMAGE_NAME: ${{ vars.CONTAINER_REGISTRY }}/${{ vars.CONTAINER_IMAGE_OWNER }} - IMAGE_VERSION: latest - SERVICE_NAME: hrms-api-leave - DISCORD_WEBHOOK: ${{ vars.DISCORD_WEBHOOK }} - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Tag Version - shell: bash - run: | - if [[ "${{ github.event_name }}" == "push" ]]; then - VERSION=$(echo "${{ github.ref_name }}" | sed 's/leave-dev//g') - echo "IMAGE_VERSION=${VERSION}" >> $GITHUB_ENV - else - echo "IMAGE_VERSION=${{ env.IMAGE_VERSION }}-${{ github.run_number }}" >> $GITHUB_ENV - fi - - name: Login in to registry - uses: docker/login-action@v3 - with: - registry: ${{ env.REGISTRY }} - username: ${{ env.REGISTRY_USERNAME }} - password: ${{ env.REGISTRY_PASSWORD }} - - - name: Build and push docker image - uses: docker/build-push-action@v5 - with: - platforms: linux/amd64 - context: . - file: ./BMA.EHR.Leave/Dockerfile - tags: ${{ env.CONTAINER_IMAGE_NAME }}/${{ env.SERVICE_NAME }}:latest,${{ env.CONTAINER_IMAGE_NAME }}/${{ env.SERVICE_NAME }}:${{ env.IMAGE_VERSION }} - push: true - - - name: Remote Deploy - uses: appleboy/ssh-action@v1.2.1 - with: - host: ${{ vars.SSH_DEPLOY_HOST }} - port: ${{ vars.SSH_DEPLOY_PORT }} - username: ${{ secrets.SSH_DEPLOY_USER }} - password: ${{ secrets.SSH_DEPLOY_PASSWORD }} - script: | - cd ~/repo - ./replace-env.sh API_LEAVE "${{ env.IMAGE_VERSION }}" - ./deploy.sh ${{ env.SERVICE_NAME }} - - - name: Discord Notification - if: always() - run: | - STATUS="${{ job.status == 'success' && '✅ Success' || '❌ Failed' }}" - COLOR="${{ job.status == 'success' && '3066993' || '15158332' }}" - TIMESTAMP=$(date -u +%Y-%m-%dT%H:%M:%SZ) - curl -H "Content-Type: application/json" \ - -X POST \ - -d "{ - \"embeds\": [{ - \"title\": \"$STATUS\", - \"description\": \"**Build & Deploy**\\n- Image: \`${{ env.CONTAINER_IMAGE_NAME }}/${{ env.SERVICE_NAME }}\`\\n- Version: \`${{ env.IMAGE_VERSION }}\`\\n- By: \`${{ gitea.actor }}\`\", - \"color\": $COLOR, - \"footer\": { - \"text\": \"Release Notification\", - \"icon_url\": \"https://example.com/success-icon.png\" - }, - \"timestamp\": \"$TIMESTAMP\" - }] - }" \ - ${{ env.DISCORD_WEBHOOK }} diff --git a/.forgejo/workflows/build-placement.yml b/.forgejo/workflows/build-placement.yml deleted file mode 100644 index 351b1e59..00000000 --- a/.forgejo/workflows/build-placement.yml +++ /dev/null @@ -1,83 +0,0 @@ -name: Build & Deploy Placement Service - -on: - push: - tags: - - "placement-dev[0-9]+.[0-9]+.[0-9]+" - - "placement-dev[0-9]+.[0-9]+.[0-9]+*" - workflow_dispatch: - -env: - REGISTRY: ${{ vars.CONTAINER_REGISTRY }} - REGISTRY_USERNAME: ${{ vars.CONTAINER_REGISTRY_USERNAME }} - REGISTRY_PASSWORD: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }} - CONTAINER_IMAGE_NAME: ${{ vars.CONTAINER_REGISTRY }}/${{ vars.CONTAINER_IMAGE_OWNER }} - IMAGE_VERSION: latest - SERVICE_NAME: hrms-api-placement - DISCORD_WEBHOOK: ${{ vars.DISCORD_WEBHOOK }} - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Tag Version - shell: bash - run: | - if [[ "${{ github.event_name }}" == "push" ]]; then - VERSION=$(echo "${{ github.ref_name }}" | sed 's/placement-dev//g') - echo "IMAGE_VERSION=${VERSION}" >> $GITHUB_ENV - else - echo "IMAGE_VERSION=${{ env.IMAGE_VERSION }}-${{ github.run_number }}" >> $GITHUB_ENV - fi - - name: Login in to registry - uses: docker/login-action@v3 - with: - registry: ${{ env.REGISTRY }} - username: ${{ env.REGISTRY_USERNAME }} - password: ${{ env.REGISTRY_PASSWORD }} - - - name: Build and push docker image - uses: docker/build-push-action@v5 - with: - platforms: linux/amd64 - context: . - file: ./BMA.EHR.Placement.Service/Dockerfile - tags: ${{ env.CONTAINER_IMAGE_NAME }}/${{ env.SERVICE_NAME }}:latest,${{ env.CONTAINER_IMAGE_NAME }}/${{ env.SERVICE_NAME }}:${{ env.IMAGE_VERSION }} - push: true - - - name: Remote Deploy - uses: appleboy/ssh-action@v1.2.1 - with: - host: ${{ vars.SSH_DEPLOY_HOST }} - port: ${{ vars.SSH_DEPLOY_PORT }} - username: ${{ secrets.SSH_DEPLOY_USER }} - password: ${{ secrets.SSH_DEPLOY_PASSWORD }} - script: | - cd ~/repo - ./replace-env.sh API_PLACEMENT "${{ env.IMAGE_VERSION }}" - ./deploy.sh ${{ env.SERVICE_NAME }} - - - name: Discord Notification - if: always() - run: | - STATUS="${{ job.status == 'success' && '✅ Success' || '❌ Failed' }}" - COLOR="${{ job.status == 'success' && '3066993' || '15158332' }}" - TIMESTAMP=$(date -u +%Y-%m-%dT%H:%M:%SZ) - curl -H "Content-Type: application/json" \ - -X POST \ - -d "{ - \"embeds\": [{ - \"title\": \"$STATUS\", - \"description\": \"**Build & Deploy**\\n- Image: \`${{ env.CONTAINER_IMAGE_NAME }}/${{ env.SERVICE_NAME }}\`\\n- Version: \`${{ env.IMAGE_VERSION }}\`\\n- By: \`${{ gitea.actor }}\`\", - \"color\": $COLOR, - \"footer\": { - \"text\": \"Release Notification\", - \"icon_url\": \"https://example.com/success-icon.png\" - }, - \"timestamp\": \"$TIMESTAMP\" - }] - }" \ - ${{ env.DISCORD_WEBHOOK }} diff --git a/.forgejo/workflows/build-retirement.yml b/.forgejo/workflows/build-retirement.yml deleted file mode 100644 index 257f68f2..00000000 --- a/.forgejo/workflows/build-retirement.yml +++ /dev/null @@ -1,83 +0,0 @@ -name: Build & Deploy Retirement Service - -on: - push: - tags: - - "retirement-dev[0-9]+.[0-9]+.[0-9]+" - - "retirement-dev[0-9]+.[0-9]+.[0-9]+*" - workflow_dispatch: - -env: - REGISTRY: ${{ vars.CONTAINER_REGISTRY }} - REGISTRY_USERNAME: ${{ vars.CONTAINER_REGISTRY_USERNAME }} - REGISTRY_PASSWORD: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }} - CONTAINER_IMAGE_NAME: ${{ vars.CONTAINER_REGISTRY }}/${{ vars.CONTAINER_IMAGE_OWNER }} - IMAGE_VERSION: latest - SERVICE_NAME: hrms-api-retirement - DISCORD_WEBHOOK: ${{ vars.DISCORD_WEBHOOK }} - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Tag Version - shell: bash - run: | - if [[ "${{ github.event_name }}" == "push" ]]; then - VERSION=$(echo "${{ github.ref_name }}" | sed 's/retirement-dev//g') - echo "IMAGE_VERSION=${VERSION}" >> $GITHUB_ENV - else - echo "IMAGE_VERSION=${{ env.IMAGE_VERSION }}-${{ github.run_number }}" >> $GITHUB_ENV - fi - - name: Login in to registry - uses: docker/login-action@v3 - with: - registry: ${{ env.REGISTRY }} - username: ${{ env.REGISTRY_USERNAME }} - password: ${{ env.REGISTRY_PASSWORD }} - - - name: Build and push docker image - uses: docker/build-push-action@v5 - with: - platforms: linux/amd64 - context: . - file: ./BMA.EHR.Retirement.Service/Dockerfile - tags: ${{ env.CONTAINER_IMAGE_NAME }}/${{ env.SERVICE_NAME }}:latest,${{ env.CONTAINER_IMAGE_NAME }}/${{ env.SERVICE_NAME }}:${{ env.IMAGE_VERSION }} - push: true - - - name: Remote Deploy - uses: appleboy/ssh-action@v1.2.1 - with: - host: ${{ vars.SSH_DEPLOY_HOST }} - port: ${{ vars.SSH_DEPLOY_PORT }} - username: ${{ secrets.SSH_DEPLOY_USER }} - password: ${{ secrets.SSH_DEPLOY_PASSWORD }} - script: | - cd ~/repo - ./replace-env.sh API_RETIREMENT "${{ env.IMAGE_VERSION }}" - ./deploy.sh ${{ env.SERVICE_NAME }} - - - name: Discord Notification - if: always() - run: | - STATUS="${{ job.status == 'success' && '✅ Success' || '❌ Failed' }}" - COLOR="${{ job.status == 'success' && '3066993' || '15158332' }}" - TIMESTAMP=$(date -u +%Y-%m-%dT%H:%M:%SZ) - curl -H "Content-Type: application/json" \ - -X POST \ - -d "{ - \"embeds\": [{ - \"title\": \"$STATUS\", - \"description\": \"**Build & Deploy**\\n- Image: \`${{ env.CONTAINER_IMAGE_NAME }}/${{ env.SERVICE_NAME }}\`\\n- Version: \`${{ env.IMAGE_VERSION }}\`\\n- By: \`${{ gitea.actor }}\`\", - \"color\": $COLOR, - \"footer\": { - \"text\": \"Release Notification\", - \"icon_url\": \"https://example.com/success-icon.png\" - }, - \"timestamp\": \"$TIMESTAMP\" - }] - }" \ - ${{ env.DISCORD_WEBHOOK }} diff --git a/.github/workflows/discord-notify.yml b/.github/workflows/discord-notify.yml deleted file mode 100644 index ce4ee51d..00000000 --- a/.github/workflows/discord-notify.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Discord PR Notify - -on: - pull_request: - types: [opened] - -jobs: - discord: - runs-on: ubuntu-latest - steps: - - name: Send Discord - run: | - curl -X POST "${{ secrets.DISCORD_WEBHOOK_PULLREQUEST }}" \ - -H "Content-Type: application/json" \ - -d '{ - "embeds": [{ - "title": "🔔 **Service:** ${{ github.repository }}", - "description": "👤 **Author:** ${{ github.event.pull_request.user.login }}\n🌿 **Branch:** ${{ github.event.pull_request.head.ref }} → ${{ github.event.pull_request.base.ref }}\n📦 **Pull Request:** [#${{ github.event.pull_request.number }} - ${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})", - "color": 5814783, - "timestamp": "${{ github.event.pull_request.created_at }}" - }] - }' diff --git a/.github/workflows/dockerhub-release-checkin.yaml b/.github/workflows/dockerhub-release-checkin.yaml deleted file mode 100644 index b80c44f7..00000000 --- a/.github/workflows/dockerhub-release-checkin.yaml +++ /dev/null @@ -1,101 +0,0 @@ -name: DockerHub Release - CheckIn Consumer -run-name: DockerHub Release - CheckIn Consumer by ${{ github.actor }} -on: - push: - tags: - - "checkin-[0-9]+.[0-9]+.[0-9]+" - workflow_dispatch: - inputs: - IMAGE_VER: - description: "Image version (e.g., latest, v1.0.0)" - required: false - default: "latest" - -env: - DOCKERHUB_REGISTRY: docker.io - IMAGE_NAME: hrms-api-checkin - DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} - -jobs: - release-to-dockerhub: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set output tags - id: vars - run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT - - - name: Generate version - id: gen_ver - run: | - if [[ $GITHUB_REF == 'refs/tags/'* ]]; then - IMAGE_VER=${{ steps.vars.outputs.tag }} - else - IMAGE_VER=${{ github.event.inputs.IMAGE_VER }} - fi - if [[ $IMAGE_VER == '' ]]; then - IMAGE_VER='test-vBeta' - fi - echo "image_ver=${IMAGE_VER}" >> $GITHUB_OUTPUT - echo "Generated version: ${IMAGE_VER}" - - - name: Display version - run: | - echo "Git Ref: $GITHUB_REF" - echo "Image Version: ${{ steps.gen_ver.outputs.image_ver }}" - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - registry: ${{env.DOCKERHUB_REGISTRY}} - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push Docker image - uses: docker/build-push-action@v5 - with: - context: . - file: BMA.EHR.CheckInConsumer/Dockerfile - platforms: linux/amd64 - push: true - tags: | - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ steps.gen_ver.outputs.image_ver }} - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest - labels: | - org.opencontainers.image.title=BMA EHR CheckIn Consumer - org.opencontainers.image.description=HRMS CheckIn Consumer Service - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Notify Discord on success - if: success() - env: - IMAGE_VER: ${{ steps.gen_ver.outputs.image_ver }} - run: | - TAG_INFO="Tag: ${IMAGE_VER:-unknown}" - REF_INFO="Ref: ${GITHUB_REF}" - ACTOR_INFO="Actor: ${GITHUB_ACTOR}" - MSG="✅ DockerHub release succeeded\n${TAG_INFO}\n${REF_INFO}\n${ACTOR_INFO}" - curl -s -H "Content-Type: application/json" \ - -X POST \ - -d "{\"content\":\"${MSG}\"}" \ - "$DISCORD_WEBHOOK" - - - name: Notify Discord on failure - if: failure() - env: - IMAGE_VER: ${{ steps.gen_ver.outputs.image_ver }} - run: | - TAG_INFO="Tag: ${IMAGE_VER:-unknown}" - REF_INFO="Ref: ${GITHUB_REF}" - ACTOR_INFO="Actor: ${GITHUB_ACTOR}" - MSG="❌ DockerHub release failed\n${TAG_INFO}\n${REF_INFO}\n${ACTOR_INFO}" - curl -s -H "Content-Type: application/json" \ - -X POST \ - -d "{\"content\":\"${MSG}\"}" \ - "$DISCORD_WEBHOOK" diff --git a/.github/workflows/dockerhub-release-command.yaml b/.github/workflows/dockerhub-release-command.yaml deleted file mode 100644 index 571fd6c9..00000000 --- a/.github/workflows/dockerhub-release-command.yaml +++ /dev/null @@ -1,101 +0,0 @@ -name: DockerHub Release - Command Service -run-name: DockerHub Release - Command Service by ${{ github.actor }} -on: - push: - tags: - - "command-[0-9]+.[0-9]+.[0-9]+" - workflow_dispatch: - inputs: - IMAGE_VER: - description: "Image version (e.g., latest, v1.0.0)" - required: false - default: "latest" - -env: - DOCKERHUB_REGISTRY: docker.io - IMAGE_NAME: hrms-api-command - DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} - -jobs: - release-to-dockerhub: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set output tags - id: vars - run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT - - - name: Generate version - id: gen_ver - run: | - if [[ $GITHUB_REF == 'refs/tags/'* ]]; then - IMAGE_VER=${{ steps.vars.outputs.tag }} - else - IMAGE_VER=${{ github.event.inputs.IMAGE_VER }} - fi - if [[ $IMAGE_VER == '' ]]; then - IMAGE_VER='test-vBeta' - fi - echo "image_ver=${IMAGE_VER}" >> $GITHUB_OUTPUT - echo "Generated version: ${IMAGE_VER}" - - - name: Display version - run: | - echo "Git Ref: $GITHUB_REF" - echo "Image Version: ${{ steps.gen_ver.outputs.image_ver }}" - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - registry: ${{env.DOCKERHUB_REGISTRY}} - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push Docker image - uses: docker/build-push-action@v5 - with: - context: . - file: BMA.EHR.Command.Service/Dockerfile - platforms: linux/amd64 - push: true - tags: | - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ steps.gen_ver.outputs.image_ver }} - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest - labels: | - org.opencontainers.image.title=BMA EHR Command Service - org.opencontainers.image.description=HRMS Command API Service - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Notify Discord on success - if: success() - env: - IMAGE_VER: ${{ steps.gen_ver.outputs.image_ver }} - run: | - TAG_INFO="Tag: ${IMAGE_VER:-unknown}" - REF_INFO="Ref: ${GITHUB_REF}" - ACTOR_INFO="Actor: ${GITHUB_ACTOR}" - MSG="✅ DockerHub release succeeded\n${TAG_INFO}\n${REF_INFO}\n${ACTOR_INFO}" - curl -s -H "Content-Type: application/json" \ - -X POST \ - -d "{\"content\":\"${MSG}\"}" \ - "$DISCORD_WEBHOOK" - - - name: Notify Discord on failure - if: failure() - env: - IMAGE_VER: ${{ steps.gen_ver.outputs.image_ver }} - run: | - TAG_INFO="Tag: ${IMAGE_VER:-unknown}" - REF_INFO="Ref: ${GITHUB_REF}" - ACTOR_INFO="Actor: ${GITHUB_ACTOR}" - MSG="❌ DockerHub release failed\n${TAG_INFO}\n${REF_INFO}\n${ACTOR_INFO}" - curl -s -H "Content-Type: application/json" \ - -X POST \ - -d "{\"content\":\"${MSG}\"}" \ - "$DISCORD_WEBHOOK" diff --git a/.github/workflows/dockerhub-release-discipline.yaml b/.github/workflows/dockerhub-release-discipline.yaml deleted file mode 100644 index f4642bd8..00000000 --- a/.github/workflows/dockerhub-release-discipline.yaml +++ /dev/null @@ -1,101 +0,0 @@ -name: DockerHub Release - Discipline Service -run-name: DockerHub Release - Discipline Service by ${{ github.actor }} -on: - push: - tags: - - "discipline-[0-9]+.[0-9]+.[0-9]+" - workflow_dispatch: - inputs: - IMAGE_VER: - description: "Image version (e.g., latest, v1.0.0)" - required: false - default: "latest" - -env: - DOCKERHUB_REGISTRY: docker.io - IMAGE_NAME: hrms-api-discipline - DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} - -jobs: - release-to-dockerhub: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set output tags - id: vars - run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT - - - name: Generate version - id: gen_ver - run: | - if [[ $GITHUB_REF == 'refs/tags/'* ]]; then - IMAGE_VER=${{ steps.vars.outputs.tag }} - else - IMAGE_VER=${{ github.event.inputs.IMAGE_VER }} - fi - if [[ $IMAGE_VER == '' ]]; then - IMAGE_VER='test-vBeta' - fi - echo "image_ver=${IMAGE_VER}" >> $GITHUB_OUTPUT - echo "Generated version: ${IMAGE_VER}" - - - name: Display version - run: | - echo "Git Ref: $GITHUB_REF" - echo "Image Version: ${{ steps.gen_ver.outputs.image_ver }}" - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - registry: ${{env.DOCKERHUB_REGISTRY}} - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push Docker image - uses: docker/build-push-action@v5 - with: - context: . - file: BMA.EHR.Discipline.Service/Dockerfile - platforms: linux/amd64 - push: true - tags: | - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ steps.gen_ver.outputs.image_ver }} - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest - labels: | - org.opencontainers.image.title=BMA EHR Discipline Service - org.opencontainers.image.description=HRMS Discipline API Service - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Notify Discord on success - if: success() - env: - IMAGE_VER: ${{ steps.gen_ver.outputs.image_ver }} - run: | - TAG_INFO="Tag: ${IMAGE_VER:-unknown}" - REF_INFO="Ref: ${GITHUB_REF}" - ACTOR_INFO="Actor: ${GITHUB_ACTOR}" - MSG="✅ DockerHub release succeeded\n${TAG_INFO}\n${REF_INFO}\n${ACTOR_INFO}" - curl -s -H "Content-Type: application/json" \ - -X POST \ - -d "{\"content\":\"${MSG}\"}" \ - "$DISCORD_WEBHOOK" - - - name: Notify Discord on failure - if: failure() - env: - IMAGE_VER: ${{ steps.gen_ver.outputs.image_ver }} - run: | - TAG_INFO="Tag: ${IMAGE_VER:-unknown}" - REF_INFO="Ref: ${GITHUB_REF}" - ACTOR_INFO="Actor: ${GITHUB_ACTOR}" - MSG="❌ DockerHub release failed\n${TAG_INFO}\n${REF_INFO}\n${ACTOR_INFO}" - curl -s -H "Content-Type: application/json" \ - -X POST \ - -d "{\"content\":\"${MSG}\"}" \ - "$DISCORD_WEBHOOK" diff --git a/.github/workflows/dockerhub-release-insignia.yaml b/.github/workflows/dockerhub-release-insignia.yaml deleted file mode 100644 index 79d89963..00000000 --- a/.github/workflows/dockerhub-release-insignia.yaml +++ /dev/null @@ -1,101 +0,0 @@ -name: DockerHub Release - Insignia Service -run-name: DockerHub Release - Insignia Service by ${{ github.actor }} -on: - push: - tags: - - "insignia-[0-9]+.[0-9]+.[0-9]+" - workflow_dispatch: - inputs: - IMAGE_VER: - description: "Image version (e.g., latest, v1.0.0)" - required: false - default: "latest" - -env: - DOCKERHUB_REGISTRY: docker.io - IMAGE_NAME: hrms-api-insignia - DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} - -jobs: - release-to-dockerhub: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set output tags - id: vars - run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT - - - name: Generate version - id: gen_ver - run: | - if [[ $GITHUB_REF == 'refs/tags/'* ]]; then - IMAGE_VER=${{ steps.vars.outputs.tag }} - else - IMAGE_VER=${{ github.event.inputs.IMAGE_VER }} - fi - if [[ $IMAGE_VER == '' ]]; then - IMAGE_VER='test-vBeta' - fi - echo "image_ver=${IMAGE_VER}" >> $GITHUB_OUTPUT - echo "Generated version: ${IMAGE_VER}" - - - name: Display version - run: | - echo "Git Ref: $GITHUB_REF" - echo "Image Version: ${{ steps.gen_ver.outputs.image_ver }}" - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - registry: ${{env.DOCKERHUB_REGISTRY}} - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push Docker image - uses: docker/build-push-action@v5 - with: - context: . - file: BMA.EHR.Insignia/Dockerfile - platforms: linux/amd64 - push: true - tags: | - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ steps.gen_ver.outputs.image_ver }} - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest - labels: | - org.opencontainers.image.title=BMA EHR Insignia Service - org.opencontainers.image.description=HRMS Insignia API Service - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Notify Discord on success - if: success() - env: - IMAGE_VER: ${{ steps.gen_ver.outputs.image_ver }} - run: | - TAG_INFO="Tag: ${IMAGE_VER:-unknown}" - REF_INFO="Ref: ${GITHUB_REF}" - ACTOR_INFO="Actor: ${GITHUB_ACTOR}" - MSG="✅ DockerHub release succeeded\n${TAG_INFO}\n${REF_INFO}\n${ACTOR_INFO}" - curl -s -H "Content-Type: application/json" \ - -X POST \ - -d "{\"content\":\"${MSG}\"}" \ - "$DISCORD_WEBHOOK" - - - name: Notify Discord on failure - if: failure() - env: - IMAGE_VER: ${{ steps.gen_ver.outputs.image_ver }} - run: | - TAG_INFO="Tag: ${IMAGE_VER:-unknown}" - REF_INFO="Ref: ${GITHUB_REF}" - ACTOR_INFO="Actor: ${GITHUB_ACTOR}" - MSG="❌ DockerHub release failed\n${TAG_INFO}\n${REF_INFO}\n${ACTOR_INFO}" - curl -s -H "Content-Type: application/json" \ - -X POST \ - -d "{\"content\":\"${MSG}\"}" \ - "$DISCORD_WEBHOOK" diff --git a/.github/workflows/dockerhub-release-leave.yaml b/.github/workflows/dockerhub-release-leave.yaml deleted file mode 100644 index f9c2e0ba..00000000 --- a/.github/workflows/dockerhub-release-leave.yaml +++ /dev/null @@ -1,119 +0,0 @@ -name: DockerHub Release - Leave Service -run-name: DockerHub Release - Leave Service by ${{ github.actor }} -on: - push: - tags: - - "leave-[0-9]+.[0-9]+.[0-9]+" - # branches: - # - main - # - develop - workflow_dispatch: - inputs: - IMAGE_VER: - description: "Image version (e.g., latest, v1.0.0)" - required: false - default: "latest" - -env: - DOCKERHUB_REGISTRY: docker.io - IMAGE_NAME: hrms-api-leave - DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} - -jobs: - release-to-dockerhub: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set output tags - id: vars - run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT - - - name: Generate version - id: gen_ver - run: | - if [[ $GITHUB_REF == 'refs/tags/'* ]]; then - IMAGE_VER=${{ steps.vars.outputs.tag }} - elif [[ $GITHUB_REF == 'refs/heads/'* ]]; then - BRANCH_NAME=${GITHUB_REF#refs/heads/} - IMAGE_VER="${BRANCH_NAME}-latest" - else - IMAGE_VER=${{ github.event.inputs.IMAGE_VER }} - fi - if [[ $IMAGE_VER == '' ]]; then - IMAGE_VER='test-vBeta' - fi - echo "image_ver=${IMAGE_VER}" >> $GITHUB_OUTPUT - echo "Generated version: ${IMAGE_VER}" - - - name: Display version - run: | - echo "Git Ref: $GITHUB_REF" - echo "Image Version: ${{ steps.gen_ver.outputs.image_ver }}" - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - registry: ${{env.DOCKERHUB_REGISTRY}} - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Extract metadata for Docker - id: meta - uses: docker/metadata-action@v5 - with: - images: ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }} - tags: | - type=ref,event=tag - type=ref,event=branch - type=raw,value=${{ steps.gen_ver.outputs.image_ver }} - type=raw,value=latest,enable={{is_default_branch}} - - - name: Build and push Docker image - uses: docker/build-push-action@v5 - with: - context: . - file: BMA.EHR.Leave/Dockerfile - platforms: linux/amd64 - push: true - tags: | - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ steps.gen_ver.outputs.image_ver }} - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest - labels: ${{ steps.meta.outputs.labels }} - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Image digest - run: echo "Image pushed with digest ${{ steps.build.outputs.digest }}" - - - name: Notify Discord on success - if: success() - env: - IMAGE_VER: ${{ steps.gen_ver.outputs.image_ver }} - run: | - TAG_INFO="Tag: ${IMAGE_VER:-unknown}" - REF_INFO="Ref: ${GITHUB_REF}" - ACTOR_INFO="Actor: ${GITHUB_ACTOR}" - MSG="✅ DockerHub release succeeded\n${TAG_INFO}\n${REF_INFO}\n${ACTOR_INFO}" - curl -s -H "Content-Type: application/json" \ - -X POST \ - -d "{\"content\":\"${MSG}\"}" \ - "$DISCORD_WEBHOOK" - - - name: Notify Discord on failure - if: failure() - env: - IMAGE_VER: ${{ steps.gen_ver.outputs.image_ver }} - run: | - TAG_INFO="Tag: ${IMAGE_VER:-unknown}" - REF_INFO="Ref: ${GITHUB_REF}" - ACTOR_INFO="Actor: ${GITHUB_ACTOR}" - MSG="❌ DockerHub release failed\n${TAG_INFO}\n${REF_INFO}\n${ACTOR_INFO}" - curl -s -H "Content-Type: application/json" \ - -X POST \ - -d "{\"content\":\"${MSG}\"}" \ - "$DISCORD_WEBHOOK" diff --git a/.github/workflows/dockerhub-release-placement.yaml b/.github/workflows/dockerhub-release-placement.yaml deleted file mode 100644 index d4e3dade..00000000 --- a/.github/workflows/dockerhub-release-placement.yaml +++ /dev/null @@ -1,101 +0,0 @@ -name: DockerHub Release - Placement Service -run-name: DockerHub Release - Placement Service by ${{ github.actor }} -on: - push: - tags: - - "placement-[0-9]+.[0-9]+.[0-9]+" - workflow_dispatch: - inputs: - IMAGE_VER: - description: "Image version (e.g., latest, v1.0.0)" - required: false - default: "latest" - -env: - DOCKERHUB_REGISTRY: docker.io - IMAGE_NAME: hrms-api-placement - DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} - -jobs: - release-to-dockerhub: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set output tags - id: vars - run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT - - - name: Generate version - id: gen_ver - run: | - if [[ $GITHUB_REF == 'refs/tags/'* ]]; then - IMAGE_VER=${{ steps.vars.outputs.tag }} - else - IMAGE_VER=${{ github.event.inputs.IMAGE_VER }} - fi - if [[ $IMAGE_VER == '' ]]; then - IMAGE_VER='test-vBeta' - fi - echo "image_ver=${IMAGE_VER}" >> $GITHUB_OUTPUT - echo "Generated version: ${IMAGE_VER}" - - - name: Display version - run: | - echo "Git Ref: $GITHUB_REF" - echo "Image Version: ${{ steps.gen_ver.outputs.image_ver }}" - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - registry: ${{env.DOCKERHUB_REGISTRY}} - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push Docker image - uses: docker/build-push-action@v5 - with: - context: . - file: BMA.EHR.Placement.Service/Dockerfile - platforms: linux/amd64 - push: true - tags: | - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ steps.gen_ver.outputs.image_ver }} - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest - labels: | - org.opencontainers.image.title=BMA EHR Placement Service - org.opencontainers.image.description=HRMS Placement API Service - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Notify Discord on success - if: success() - env: - IMAGE_VER: ${{ steps.gen_ver.outputs.image_ver }} - run: | - TAG_INFO="Tag: ${IMAGE_VER:-unknown}" - REF_INFO="Ref: ${GITHUB_REF}" - ACTOR_INFO="Actor: ${GITHUB_ACTOR}" - MSG="✅ DockerHub release succeeded\n${TAG_INFO}\n${REF_INFO}\n${ACTOR_INFO}" - curl -s -H "Content-Type: application/json" \ - -X POST \ - -d "{\"content\":\"${MSG}\"}" \ - "$DISCORD_WEBHOOK" - - - name: Notify Discord on failure - if: failure() - env: - IMAGE_VER: ${{ steps.gen_ver.outputs.image_ver }} - run: | - TAG_INFO="Tag: ${IMAGE_VER:-unknown}" - REF_INFO="Ref: ${GITHUB_REF}" - ACTOR_INFO="Actor: ${GITHUB_ACTOR}" - MSG="❌ DockerHub release failed\n${TAG_INFO}\n${REF_INFO}\n${ACTOR_INFO}" - curl -s -H "Content-Type: application/json" \ - -X POST \ - -d "{\"content\":\"${MSG}\"}" \ - "$DISCORD_WEBHOOK" diff --git a/.github/workflows/dockerhub-release-reportv2.yaml b/.github/workflows/dockerhub-release-reportv2.yaml deleted file mode 100644 index 4dc73f3f..00000000 --- a/.github/workflows/dockerhub-release-reportv2.yaml +++ /dev/null @@ -1,101 +0,0 @@ -name: DockerHub Release - Report Service -run-name: DockerHub Release - Report Service by ${{ github.actor }} -on: - push: - tags: - - "reportv2-[0-9]+.[0-9]+.[0-9]+" - workflow_dispatch: - inputs: - IMAGE_VER: - description: "Image version (e.g., latest, v1.0.0)" - required: false - default: "latest" - -env: - DOCKERHUB_REGISTRY: docker.io - IMAGE_NAME: hrms-api-reportv2 - DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} - -jobs: - release-to-dockerhub: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set output tags - id: vars - run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT - - - name: Generate version - id: gen_ver - run: | - if [[ $GITHUB_REF == 'refs/tags/'* ]]; then - IMAGE_VER=${{ steps.vars.outputs.tag }} - else - IMAGE_VER=${{ github.event.inputs.IMAGE_VER }} - fi - if [[ $IMAGE_VER == '' ]]; then - IMAGE_VER='test-vBeta' - fi - echo "image_ver=${IMAGE_VER}" >> $GITHUB_OUTPUT - echo "Generated version: ${IMAGE_VER}" - - - name: Display version - run: | - echo "Git Ref: $GITHUB_REF" - echo "Image Version: ${{ steps.gen_ver.outputs.image_ver }}" - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - registry: ${{env.DOCKERHUB_REGISTRY}} - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push Docker image - uses: docker/build-push-action@v5 - with: - context: . - file: BMA.EHR.Report.Service/Dockerfile - platforms: linux/amd64 - push: true - tags: | - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ steps.gen_ver.outputs.image_ver }} - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest - labels: | - org.opencontainers.image.title=BMA EHR Report Service - org.opencontainers.image.description=HRMS Report API Service - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Notify Discord on success - if: success() - env: - IMAGE_VER: ${{ steps.gen_ver.outputs.image_ver }} - run: | - TAG_INFO="Tag: ${IMAGE_VER:-unknown}" - REF_INFO="Ref: ${GITHUB_REF}" - ACTOR_INFO="Actor: ${GITHUB_ACTOR}" - MSG="✅ DockerHub release succeeded\n${TAG_INFO}\n${REF_INFO}\n${ACTOR_INFO}" - curl -s -H "Content-Type: application/json" \ - -X POST \ - -d "{\"content\":\"${MSG}\"}" \ - "$DISCORD_WEBHOOK" - - - name: Notify Discord on failure - if: failure() - env: - IMAGE_VER: ${{ steps.gen_ver.outputs.image_ver }} - run: | - TAG_INFO="Tag: ${IMAGE_VER:-unknown}" - REF_INFO="Ref: ${GITHUB_REF}" - ACTOR_INFO="Actor: ${GITHUB_ACTOR}" - MSG="❌ DockerHub release failed\n${TAG_INFO}\n${REF_INFO}\n${ACTOR_INFO}" - curl -s -H "Content-Type: application/json" \ - -X POST \ - -d "{\"content\":\"${MSG}\"}" \ - "$DISCORD_WEBHOOK" diff --git a/.github/workflows/dockerhub-release-retirement.yaml b/.github/workflows/dockerhub-release-retirement.yaml deleted file mode 100644 index 50ace5cd..00000000 --- a/.github/workflows/dockerhub-release-retirement.yaml +++ /dev/null @@ -1,101 +0,0 @@ -name: DockerHub Release - Retirement Service -run-name: DockerHub Release - Retirement Service by ${{ github.actor }} -on: - push: - tags: - - "retirement-[0-9]+.[0-9]+.[0-9]+" - workflow_dispatch: - inputs: - IMAGE_VER: - description: "Image version (e.g., latest, v1.0.0)" - required: false - default: "latest" - -env: - DOCKERHUB_REGISTRY: docker.io - IMAGE_NAME: hrms-api-retirement - DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} - -jobs: - release-to-dockerhub: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set output tags - id: vars - run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT - - - name: Generate version - id: gen_ver - run: | - if [[ $GITHUB_REF == 'refs/tags/'* ]]; then - IMAGE_VER=${{ steps.vars.outputs.tag }} - else - IMAGE_VER=${{ github.event.inputs.IMAGE_VER }} - fi - if [[ $IMAGE_VER == '' ]]; then - IMAGE_VER='test-vBeta' - fi - echo "image_ver=${IMAGE_VER}" >> $GITHUB_OUTPUT - echo "Generated version: ${IMAGE_VER}" - - - name: Display version - run: | - echo "Git Ref: $GITHUB_REF" - echo "Image Version: ${{ steps.gen_ver.outputs.image_ver }}" - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - registry: ${{env.DOCKERHUB_REGISTRY}} - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push Docker image - uses: docker/build-push-action@v5 - with: - context: . - file: BMA.EHR.Retirement.Service/Dockerfile - platforms: linux/amd64 - push: true - tags: | - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ steps.gen_ver.outputs.image_ver }} - ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest - labels: | - org.opencontainers.image.title=BMA EHR Retirement Service - org.opencontainers.image.description=HRMS Retirement API Service - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Notify Discord on success - if: success() - env: - IMAGE_VER: ${{ steps.gen_ver.outputs.image_ver }} - run: | - TAG_INFO="Tag: ${IMAGE_VER:-unknown}" - REF_INFO="Ref: ${GITHUB_REF}" - ACTOR_INFO="Actor: ${GITHUB_ACTOR}" - MSG="✅ DockerHub release succeeded\n${TAG_INFO}\n${REF_INFO}\n${ACTOR_INFO}" - curl -s -H "Content-Type: application/json" \ - -X POST \ - -d "{\"content\":\"${MSG}\"}" \ - "$DISCORD_WEBHOOK" - - - name: Notify Discord on failure - if: failure() - env: - IMAGE_VER: ${{ steps.gen_ver.outputs.image_ver }} - run: | - TAG_INFO="Tag: ${IMAGE_VER:-unknown}" - REF_INFO="Ref: ${GITHUB_REF}" - ACTOR_INFO="Actor: ${GITHUB_ACTOR}" - MSG="❌ DockerHub release failed\n${TAG_INFO}\n${REF_INFO}\n${ACTOR_INFO}" - curl -s -H "Content-Type: application/json" \ - -X POST \ - -d "{\"content\":\"${MSG}\"}" \ - "$DISCORD_WEBHOOK" diff --git a/.github/workflows/release_Retirement.yaml b/.github/workflows/release_Retirement.yaml index 3fd5bedf..6cdceae0 100644 --- a/.github/workflows/release_Retirement.yaml +++ b/.github/workflows/release_Retirement.yaml @@ -1,9 +1,9 @@ name: release-dev run-name: release-dev ${{ github.actor }} on: - # push: - # tags: - # - "retirement-[0-9]+.[0-9]+.[0-9]+" + push: + tags: + - "retirement-[0-9]+.[0-9]+.[0-9]+" workflow_dispatch: env: REGISTRY: docker.frappet.com diff --git a/.github/workflows/release_checkin_consumer.yaml b/.github/workflows/release_checkin_consumer.yaml index f9081264..31b015e6 100644 --- a/.github/workflows/release_checkin_consumer.yaml +++ b/.github/workflows/release_checkin_consumer.yaml @@ -1,9 +1,9 @@ name: release-dev run-name: release-dev ${{ github.actor }} on: - # push: - # tags: - # - "consumer-[0-9]+.[0-9]+.[0-9]+" + push: + tags: + - "consumer-[0-9]+.[0-9]+.[0-9]+" workflow_dispatch: env: REGISTRY: docker.frappet.com diff --git a/.github/workflows/release_command.yaml b/.github/workflows/release_command.yaml index dba3012e..462ed688 100644 --- a/.github/workflows/release_command.yaml +++ b/.github/workflows/release_command.yaml @@ -1,9 +1,9 @@ name: release-dev run-name: release-dev ${{ github.actor }} on: - # push: - # tags: - # - "command-[0-9]+.[0-9]+.[0-9]+" + push: + tags: + - "command-[0-9]+.[0-9]+.[0-9]+" workflow_dispatch: env: REGISTRY: docker.frappet.com diff --git a/.github/workflows/release_discipline.yaml b/.github/workflows/release_discipline.yaml index f4cb42da..0e8737f4 100644 --- a/.github/workflows/release_discipline.yaml +++ b/.github/workflows/release_discipline.yaml @@ -1,9 +1,9 @@ name: release-dev run-name: release-dev ${{ github.actor }} on: - # push: - # tags: - # - "discipline-[0-9]+.[0-9]+.[0-9]+" + push: + tags: + - "discipline-[0-9]+.[0-9]+.[0-9]+" workflow_dispatch: env: REGISTRY: docker.frappet.com diff --git a/.github/workflows/release_insignia.yaml b/.github/workflows/release_insignia.yaml index af497b37..124d1e9c 100644 --- a/.github/workflows/release_insignia.yaml +++ b/.github/workflows/release_insignia.yaml @@ -1,9 +1,9 @@ name: release-dev run-name: release-dev ${{ github.actor }} on: - # push: - # tags: - # - "insignia-[0-9]+.[0-9]+.[0-9]+" + push: + tags: + - "insignia-[0-9]+.[0-9]+.[0-9]+" workflow_dispatch: env: REGISTRY: docker.frappet.com diff --git a/.github/workflows/release_leave.yaml b/.github/workflows/release_leave.yaml index 9b5e0014..b017222d 100644 --- a/.github/workflows/release_leave.yaml +++ b/.github/workflows/release_leave.yaml @@ -1,9 +1,9 @@ name: release-dev run-name: release-dev ${{ github.actor }} on: - # push: - # tags: - # - "leave-[0-9]+.[0-9]+.[0-9]+" + push: + tags: + - "leave-[0-9]+.[0-9]+.[0-9]+" workflow_dispatch: env: REGISTRY: docker.frappet.com @@ -57,7 +57,7 @@ jobs: push: true tags: ${{env.REGISTRY}}/${{env.IMAGE_NAME}}:${{ steps.gen_ver.outputs.image_ver }},${{env.REGISTRY}}/${{env.IMAGE_NAME}}:latest - name: Remote Deployment - uses: appleboy/ssh-action@v1 + uses: appleboy/ssh-action@v0.1.8 with: host: ${{env.DEPLOY_HOST}} username: frappet diff --git a/.github/workflows/release_placement.yaml b/.github/workflows/release_placement.yaml index 377cbaf4..d9c2f266 100644 --- a/.github/workflows/release_placement.yaml +++ b/.github/workflows/release_placement.yaml @@ -1,9 +1,9 @@ name: release-dev run-name: release-dev ${{ github.actor }} on: - # push: - # tags: - # - "placement-[0-9]+.[0-9]+.[0-9]+" + push: + tags: + - "placement-[0-9]+.[0-9]+.[0-9]+" workflow_dispatch: env: REGISTRY: docker.frappet.com diff --git a/.github/workflows/release_report.yaml b/.github/workflows/release_report.yaml index e529729b..9ba5a7c4 100644 --- a/.github/workflows/release_report.yaml +++ b/.github/workflows/release_report.yaml @@ -1,107 +1,107 @@ name: release-dev run-name: release-dev ${{ github.actor }} on: - # push: - # tags: - # - "reportv2-[0-9]+.[0-9]+.[0-9]+" + push: + tags: + - "reportv2-[0-9]+.[0-9]+.[0-9]+" workflow_dispatch: env: - REGISTRY: docker.frappet.com - IMAGE_NAME: ehr/bma-ehr-report-v2-service - DEPLOY_HOST: frappet.com - DEPLOY_PORT: 10102 - # COMPOSE_PATH: /home/frappet/docker/bma-ehr - COMPOSE_PATH: /home/frappet/docker/bma/bma-ehr-report-v2 - TOKEN_LINE: uxuK5hDzS2DsoC5piJBrWRLiz8GgY7iMZZldOWsDDF0 + REGISTRY: docker.frappet.com + IMAGE_NAME: ehr/bma-ehr-report-v2-service + DEPLOY_HOST: frappet.com + DEPLOY_PORT: 10102 + # COMPOSE_PATH: /home/frappet/docker/bma-ehr + COMPOSE_PATH: /home/frappet/docker/bma/bma-ehr-report-v2 + TOKEN_LINE: uxuK5hDzS2DsoC5piJBrWRLiz8GgY7iMZZldOWsDDF0 jobs: - # act workflow_dispatch -W .github/workflows/release_report.yaml --input IMAGE_VER=latest -s DOCKER_USER=admin -s DOCKER_PASS=FPTadmin2357 -s SSH_PASSWORD=FPTadmin2357 - release-dev: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Set output tags - id: vars - run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT - - name: Gen Version - id: gen_ver - run: | - if [[ $GITHUB_REF == 'refs/tags/'* ]]; then - IMAGE_VER=${{ steps.vars.outputs.tag }} - else - IMAGE_VER=${{ github.event.inputs.IMAGE_VER }} - fi - if [[ $IMAGE_VER == '' ]]; then - IMAGE_VER='test-vBeta' - fi - echo '::set-output name=image_ver::'$IMAGE_VER - - name: Check Version - run: | - echo $GITHUB_REF - echo ${{ steps.gen_ver.outputs.image_ver }} - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - name: Login in to registry - uses: docker/login-action@v2 - with: - registry: ${{env.REGISTRY}} - username: ${{secrets.DOCKER_USER}} - password: ${{secrets.DOCKER_PASS}} - - name: Build and load local docker image - uses: docker/build-push-action@v3 - with: - context: . - platforms: linux/amd64 - file: BMA.EHR.Report.Service/Dockerfile - push: true - tags: ${{env.REGISTRY}}/${{env.IMAGE_NAME}}:${{ steps.gen_ver.outputs.image_ver }},${{env.REGISTRY}}/${{env.IMAGE_NAME}}:latest + # act workflow_dispatch -W .github/workflows/release_report.yaml --input IMAGE_VER=latest -s DOCKER_USER=admin -s DOCKER_PASS=FPTadmin2357 -s SSH_PASSWORD=FPTadmin2357 + release-dev: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set output tags + id: vars + run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT + - name: Gen Version + id: gen_ver + run: | + if [[ $GITHUB_REF == 'refs/tags/'* ]]; then + IMAGE_VER=${{ steps.vars.outputs.tag }} + else + IMAGE_VER=${{ github.event.inputs.IMAGE_VER }} + fi + if [[ $IMAGE_VER == '' ]]; then + IMAGE_VER='test-vBeta' + fi + echo '::set-output name=image_ver::'$IMAGE_VER + - name: Check Version + run: | + echo $GITHUB_REF + echo ${{ steps.gen_ver.outputs.image_ver }} + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + - name: Login in to registry + uses: docker/login-action@v2 + with: + registry: ${{env.REGISTRY}} + username: ${{secrets.DOCKER_USER}} + password: ${{secrets.DOCKER_PASS}} + - name: Build and load local docker image + uses: docker/build-push-action@v3 + with: + context: . + platforms: linux/amd64 + file: BMA.EHR.Report.Service/Dockerfile + push: true + tags: ${{env.REGISTRY}}/${{env.IMAGE_NAME}}:${{ steps.gen_ver.outputs.image_ver }},${{env.REGISTRY}}/${{env.IMAGE_NAME}}:latest - - name: Reload docker compose - uses: appleboy/ssh-action@v0.1.8 - with: - host: ${{env.DEPLOY_HOST}} - username: frappet - password: ${{ secrets.SSH_PASSWORD }} - port: ${{env.DEPLOY_PORT}} - script: | - cd "${{env.COMPOSE_PATH}}" - docker compose pull - docker compose up -d - echo "${{ steps.gen_ver.outputs.image_ver }}"> success - - name: Notify Discord Success - if: success() - run: | - curl -H "Content-Type: application/json" \ - -X POST \ - -d '{ - "embeds": [{ - "title": "✅ Deployment Success!", - "description": "**Details:**\n- Image: `${{env.IMAGE_NAME}}`\n- Version: `${{ steps.gen_ver.outputs.image_ver }}`\n- Deployed by: `${{github.actor}}`", - "color": 3066993, - "footer": { - "text": "Release Notification", - "icon_url": "https://example.com/success-icon.png" - }, - "timestamp": "'$(date -u +%Y-%m-%dT%H:%M:%SZ)'" - }] - }' \ - ${{ secrets.DISCORD_WEBHOOK }} + - name: Reload docker compose + uses: appleboy/ssh-action@v0.1.8 + with: + host: ${{env.DEPLOY_HOST}} + username: frappet + password: ${{ secrets.SSH_PASSWORD }} + port: ${{env.DEPLOY_PORT}} + script: | + cd "${{env.COMPOSE_PATH}}" + docker compose pull + docker compose up -d + echo "${{ steps.gen_ver.outputs.image_ver }}"> success + - name: Notify Discord Success + if: success() + run: | + curl -H "Content-Type: application/json" \ + -X POST \ + -d '{ + "embeds": [{ + "title": "✅ Deployment Success!", + "description": "**Details:**\n- Image: `${{env.IMAGE_NAME}}`\n- Version: `${{ steps.gen_ver.outputs.image_ver }}`\n- Deployed by: `${{github.actor}}`", + "color": 3066993, + "footer": { + "text": "Release Notification", + "icon_url": "https://example.com/success-icon.png" + }, + "timestamp": "'$(date -u +%Y-%m-%dT%H:%M:%SZ)'" + }] + }' \ + ${{ secrets.DISCORD_WEBHOOK }} - - name: Notify Discord Failure - if: failure() - run: | - curl -H "Content-Type: application/json" \ - -X POST \ - -d '{ - "embeds": [{ - "title": "❌ Deployment Failed!", - "description": "**Details:**\n- Image: `${{env.IMAGE_NAME}}`\n- Version: `${{ steps.gen_ver.outputs.image_ver }}`\n- Attempted by: `${{github.actor}}`", - "color": 15158332, - "footer": { - "text": "Release Notification", - "icon_url": "https://example.com/failure-icon.png" - }, - "timestamp": "'$(date -u +%Y-%m-%dT%H:%M:%SZ)'" - }] - }' \ - ${{ secrets.DISCORD_WEBHOOK }} + - name: Notify Discord Failure + if: failure() + run: | + curl -H "Content-Type: application/json" \ + -X POST \ + -d '{ + "embeds": [{ + "title": "❌ Deployment Failed!", + "description": "**Details:**\n- Image: `${{env.IMAGE_NAME}}`\n- Version: `${{ steps.gen_ver.outputs.image_ver }}`\n- Attempted by: `${{github.actor}}`", + "color": 15158332, + "footer": { + "text": "Release Notification", + "icon_url": "https://example.com/failure-icon.png" + }, + "timestamp": "'$(date -u +%Y-%m-%dT%H:%M:%SZ)'" + }] + }' \ + ${{ secrets.DISCORD_WEBHOOK }} diff --git a/.gitignore b/.gitignore index f60d8ec1..529fa551 100644 --- a/.gitignore +++ b/.gitignore @@ -16,18 +16,8 @@ # Mono auto generated files mono_crash.* -# JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider .idea/ -*.iml -*.ipr -*.iws -out/ -.idea_modules/ -atlassian-ide-plugin.xml -com_crashlytics_export_strings.xml -crashlytics.properties -crashlytics-build.properties -fabric.properties +.vs/ # Build results [Dd]ebug/ @@ -373,10 +363,4 @@ MigrationBackup/ .ionide/ # Fody - auto-generated XML schema -FodyWeavers.xsd - -# VS Code C# Dev Kit cache -*.lscache - -# Claude Code -.claude/ \ No newline at end of file +FodyWeavers.xsd \ No newline at end of file diff --git a/.idea/.idea.BMA.EHR.Solution/.idea/.name b/.idea/.idea.BMA.EHR.Solution/.idea/.name new file mode 100644 index 00000000..888d8763 --- /dev/null +++ b/.idea/.idea.BMA.EHR.Solution/.idea/.name @@ -0,0 +1 @@ +BMA.EHR.Solution \ No newline at end of file diff --git a/.idea/.idea.BMA.EHR.Solution/.idea/AndroidProjectSystem.xml b/.idea/.idea.BMA.EHR.Solution/.idea/AndroidProjectSystem.xml new file mode 100644 index 00000000..e82600c9 --- /dev/null +++ b/.idea/.idea.BMA.EHR.Solution/.idea/AndroidProjectSystem.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/.idea.BMA.EHR.Solution/.idea/aws.xml b/.idea/.idea.BMA.EHR.Solution/.idea/aws.xml new file mode 100644 index 00000000..b63b642c --- /dev/null +++ b/.idea/.idea.BMA.EHR.Solution/.idea/aws.xml @@ -0,0 +1,11 @@ + + + + + + \ No newline at end of file diff --git a/.idea/.idea.BMA.EHR.Solution/.idea/encodings.xml b/.idea/.idea.BMA.EHR.Solution/.idea/encodings.xml new file mode 100644 index 00000000..df87cf95 --- /dev/null +++ b/.idea/.idea.BMA.EHR.Solution/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/.idea.BMA.EHR.Solution/.idea/indexLayout.xml b/.idea/.idea.BMA.EHR.Solution/.idea/indexLayout.xml new file mode 100644 index 00000000..7b08163c --- /dev/null +++ b/.idea/.idea.BMA.EHR.Solution/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/.idea.BMA.EHR.Solution/.idea/projectSettingsUpdater.xml b/.idea/.idea.BMA.EHR.Solution/.idea/projectSettingsUpdater.xml new file mode 100644 index 00000000..ef20cb08 --- /dev/null +++ b/.idea/.idea.BMA.EHR.Solution/.idea/projectSettingsUpdater.xml @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/.idea/.idea.BMA.EHR.Solution/.idea/shelf/Uncommitted_changes_before_Merge_at_23_6_25_16_09_[Changes]/shelved.patch b/.idea/.idea.BMA.EHR.Solution/.idea/shelf/Uncommitted_changes_before_Merge_at_23_6_25_16_09_[Changes]/shelved.patch new file mode 100644 index 00000000..96d6b3d9 --- /dev/null +++ b/.idea/.idea.BMA.EHR.Solution/.idea/shelf/Uncommitted_changes_before_Merge_at_23_6_25_16_09_[Changes]/shelved.patch @@ -0,0 +1,67 @@ +Index: .idea/.idea.BMA.EHR.Solution/.idea/workspace.xml +IDEA additional info: +Subsystem: com.intellij.openapi.diff.impl.patch.BaseRevisionTextPatchEP +<+>\n\n \n BMA.EHR.CheckInConsumer/BMA.EHR.CheckInConsumer.csproj\n BMA.EHR.CheckInConsumer/BMA.EHR.CheckInConsumer.csproj\n BMA.EHR.Command.Service/BMA.EHR.Command.Service.csproj\n BMA.EHR.Command.Service/BMA.EHR.Command.Service.csproj\n BMA.EHR.Command.Service/BMA.EHR.Command.Service.csproj\n BMA.EHR.Discipline.Service/BMA.EHR.Discipline.Service.csproj\n BMA.EHR.Discipline.Service/BMA.EHR.Discipline.Service.csproj\n BMA.EHR.Discipline.Service/BMA.EHR.Discipline.Service.csproj\n BMA.EHR.Insignia/BMA.EHR.Insignia.csproj\n BMA.EHR.Insignia/BMA.EHR.Insignia.csproj\n BMA.EHR.Insignia/BMA.EHR.Insignia.csproj\n BMA.EHR.Leave/BMA.EHR.Leave.csproj\n BMA.EHR.Leave/BMA.EHR.Leave.csproj\n BMA.EHR.Leave/BMA.EHR.Leave.csproj\n BMA.EHR.MetaData.Service/BMA.EHR.MetaData.Service.csproj\n BMA.EHR.MetaData.Service/BMA.EHR.MetaData.Service.csproj\n BMA.EHR.MetaData.Service/BMA.EHR.MetaData.Service.csproj\n BMA.EHR.OrganizationEmployee.Service/BMA.EHR.OrganizationEmployee.Service.csproj\n BMA.EHR.OrganizationEmployee.Service/BMA.EHR.OrganizationEmployee.Service.csproj\n BMA.EHR.OrganizationEmployee.Service/BMA.EHR.OrganizationEmployee.Service.csproj\n BMA.EHR.Placement.Service/BMA.EHR.Placement.Service.csproj\n BMA.EHR.Placement.Service/BMA.EHR.Placement.Service.csproj\n BMA.EHR.Placement.Service/BMA.EHR.Placement.Service.csproj\n BMA.EHR.Report.Service/BMA.EHR.Report.Service.csproj\n BMA.EHR.Report.Service/BMA.EHR.Report.Service.csproj\n BMA.EHR.Report.Service/BMA.EHR.Report.Service.csproj\n BMA.EHR.Report.Service/BMA.EHR.Report.Service.csproj\n BMA.EHR.Report.Service/BMA.EHR.Report.Service.csproj\n BMA.EHR.Retirement.Service/BMA.EHR.Retirement.Service.csproj\n BMA.EHR.Retirement.Service/BMA.EHR.Retirement.Service.csproj\n BMA.EHR.Retirement.Service/BMA.EHR.Retirement.Service.csproj\n LinkageResponseTest/LinkageResponseTest.csproj\n LinkageResponseTest/LinkageResponseTest.csproj\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {\n "customColor": "",\n "associatedIndex": 2\n}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n 1724638841465\n \n \n \n \n \n \n \n \n \n \n \n \n file://$PROJECT_DIR$/BMA.EHR.Leave/Controllers/LeaveController.cs\n 1159\n \n \n \n \n \n \n \n \n \n \n +Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP +<+>UTF-8 +=================================================================== +diff --git a/.idea/.idea.BMA.EHR.Solution/.idea/workspace.xml b/.idea/.idea.BMA.EHR.Solution/.idea/workspace.xml +--- a/.idea/.idea.BMA.EHR.Solution/.idea/workspace.xml (revision 27acadbb077eded5c9f01ce18df7d9a5ef9bfb63) ++++ b/.idea/.idea.BMA.EHR.Solution/.idea/workspace.xml (date 1750669762540) +@@ -66,22 +66,22 @@ +