Skip to content

Commit

Permalink
Merge branch 'main' into 119-new-enum-in-matrimonial-property-scheme-1
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan-gerber authored Oct 31, 2024
2 parents 5c362c2 + abfb194 commit 03c1ad3
Show file tree
Hide file tree
Showing 9 changed files with 557 additions and 252 deletions.
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
# The '*' pattern is global owners.
# Order is important. The last matching pattern has the most precedence.

* @rolfwagner @dkoeni
* @swissfintechinnovations/stream-lead-mortgage
.github/** @swissfintechinnovations/github-infrastructure
9 changes: 9 additions & 0 deletions .github/workflows/license-update.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: SFTI Update License

on:
schedule:
- cron: "0 3 1 1 *" # 03:00 AM on January 1

jobs:
yaml-lint:
uses: swissfintechinnovations/.github/.github/workflows/reusable-license-update-workflow.yaml@main
19 changes: 19 additions & 0 deletions .github/workflows/lint-openapi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'SFTI Lint Specifications: OpenAPI Compliance'

on:
pull_request:
push:
branches:
- main
workflow_dispatch:
inputs:
filenames:
type: string
default: '*.yaml'
description: 'Files to be linted (list of files sperated by a whitespace). Default: *.yaml'

jobs:
openapi-lint:
uses: swissfintechinnovations/.github/.github/workflows/reusable-lint-openapi-workflow.yaml@main
with:
filenames: ${{ github.event.inputs.filenames || '*.yaml' }}
19 changes: 19 additions & 0 deletions .github/workflows/lint-yaml.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'SFTI Lint Specifications: Yaml Compliance'

on:
pull_request:
push:
branches:
- main
workflow_dispatch:
inputs:
filenames:
type: string
default: '*.yaml'
description: 'Files to be linted (list of files sperated by a whitespace). Default: *.yaml'

jobs:
yaml-lint:
uses: swissfintechinnovations/.github/.github/workflows/reusable-lint-yaml-workflow.yaml@main
with:
filenames: ${{ github.event.inputs.filenames || '*.yaml' }}
44 changes: 44 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: SFTI Release

on:
workflow_dispatch:
inputs:
version:
description: "Release version tag (required format: v[mayor].[minor].[bugfix], e.g. v1.3.0)"
type: string
required: true
draft:
description: Should a release draft be created? (Otherwise the release will be published immediately)
type: boolean
default: true
required: true
artifact:
description: Add artifacts to the release. All files from the provided folder(s) are added to the release. Folders or files are seperated by a single whitespace (e.g. file.txt folder/). **Do not use docs/**.
type: string
required: false
force:
description: "If force is true, already published releases can be overwritten. Caution: This action deletes already published releases and can **not** be undone!"
type: boolean
required: false

jobs:
check-permissions:
runs-on: ubuntu-latest
steps:
- name: Check user permission
id: param_check
run: |
if [[ "${{ github.actor }}" != "NikolajMarwitz" && "${{ github.actor }}" != "dkoeni" && "${{ github.actor }}" != "juergen-petry" ]]; then
echo "You have no permissons to start the release action."
exit 1
fi
release:
needs: check-permissions
uses: swissfintechinnovations/.github/.github/workflows/reusable-release-workflow.yaml@main
with:
version: ${{ github.event.inputs.version }}
draft: ${{ fromJSON(github.event.inputs.draft) }} # convert string to boolean
artifact: ${{ github.event.inputs.artifact }}
force: ${{ fromJSON(github.event.inputs.force) }} # convert string to boolean
secrets: inherit
12 changes: 12 additions & 0 deletions .github/workflows/swagger-validator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: SFTI Validate Swagger

on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
swagger-validate:
uses: swissfintechinnovations/.github/.github/workflows/reusable-swagger-validate-workflow.yaml@main
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2023 SFTI
Copyright 2019-2024 SFTI

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
![SFTI_Banner](https://user-images.githubusercontent.com/116151702/232762217-ac254483-0d25-4234-857b-376ff8dbb1e7.png)
<!-- ![SFTI_Banner](https://user-images.githubusercontent.com/116151702/232762217-ac254483-0d25-4234-857b-376ff8dbb1e7.png) -->
![ca-mortgage](https://user-images.githubusercontent.com/116151702/236231740-68b1595a-3cf7-4c5c-9623-3e014d827436.png)


---
[![GitHub release](https://img.shields.io/github/release/swissfintechinnovations/ca-mortgage)](https://github.com/swissfintechinnovations/ca-mortgage/releases/)
![GitHub checks](https://img.shields.io/github/checks-status/swissfintechinnovations/ca-mortgage/main)
![Swagger Validator](https://img.shields.io/swagger/valid/3.0?specUrl=https%3A%2F%2Fraw.githubusercontent.com%2FOAI%2FOpenAPI-Specification%2Fmaster%2Fexamples%2Fv2.0%2Fjson%2Fpetstore-expanded.json)
[![GitHub license](https://img.shields.io/github/license/swissfintechinnovations/ca-mortgage)](https://github.com/swissfintechinnovations/ca-mortgage/blob/main/LICENSE)
[![GitHub release](https://img.shields.io/github/release/swissfintechinnovations/ca-mortgage?color=blue)](https://github.com/swissfintechinnovations/ca-mortgage/releases/)
![Mortgage Major Version](https://img.shields.io/badge/major_version-v3-blue)
[![OpenAPI version](https://img.shields.io/badge/dynamic/yaml?url=https%3A%2F%2Fgithub.com%2Fswissfintechinnovations%2Fca-mortgage%2Fraw%2Fmain%2FmortgageAPI.yaml&query=openapi&prefix=v&label=OpenAPI&color=blue)](https://swagger.io/resources/open-api/)
[![GitHub license](https://img.shields.io/github/license/swissfintechinnovations/ca-mortgage?color=de980d)](https://github.com/swissfintechinnovations/ca-mortgage/blob/main/LICENSE)

[![GitHub Action Status OpenAPI](https://img.shields.io/github/actions/workflow/status/swissfintechinnovations/ca-mortgage/lint-openapi.yaml?branch=main&label=openapi%20checks)](https://github.com/swissfintechinnovations/ca-mortgage/actions/workflows/lint-openapi.yaml)
[![GitHub Action Status Yaml](https://img.shields.io/github/actions/workflow/status/swissfintechinnovations/ca-mortgage/lint-yaml.yaml?branch=main&label=yaml%20checks)](https://github.com/swissfintechinnovations/ca-mortgage/actions/workflows/lint-yaml.yaml)
[![GitHub Action Status Swagger Validator](https://img.shields.io/github/actions/workflow/status/swissfintechinnovations/ca-mortgage/swagger-validator.yaml?branch=main&label=swagger%20validation)](https://github.com/swissfintechinnovations/ca-mortgage/actions/workflows/swagger-validator.yaml)

This is the official SFTI repo for the mortgage API. Documentations may be found in the [Wiki](https://github.com/swissfintechinnovations/ca-mortgage/wiki).

An easy-to-read representation of the Mortgage API is accessible via the following link:
- [Mortgage API](https://editor.swagger.io/?url=https://raw.githubusercontent.com/swissfintechinnovations/ca-mortgage/main/mortgageAPI.yaml)
Loading

0 comments on commit 03c1ad3

Please sign in to comment.