From 8af5c9b0b1c47395093ca06d64876e9840e52d20 Mon Sep 17 00:00:00 2001 From: Frederic Mercier Date: Thu, 27 Jun 2024 09:14:51 +0200 Subject: [PATCH 1/5] DBACLD-139987 - put in place link check in Markdown files --- .github/workflows/check-links.yml | 25 +++++++++++++++++++++++++ .md_check_config.json | 14 ++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 .github/workflows/check-links.yml create mode 100644 .md_check_config.json diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml new file mode 100644 index 0000000..2ea6949 --- /dev/null +++ b/.github/workflows/check-links.yml @@ -0,0 +1,25 @@ +name: Check Markdown links + +#on: +# push: +# branches: +# - master +# pull_request: +# branches: [master] +on: push +jobs: + markdown-link-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: technote-space/get-diff-action@v6 + with: + PATTERNS: | + **/**.md + + - uses: gaurav-nelson/github-action-markdown-link-check@v1 + with: + use-quiet-mode: 'yes' + use-verbose-mode: 'yes' + config-file: '.md_check_config.json' + diff --git a/.md_check_config.json b/.md_check_config.json new file mode 100644 index 0000000..9d513d9 --- /dev/null +++ b/.md_check_config.json @@ -0,0 +1,14 @@ +{ + "ignorePatterns": [ + { + "pattern": "^http://localhost" + } + ], + "replacementPatterns": [ + { + "pattern": "^/LICENSE", + "replacement": "{{BASEURL}}/LICENSE" + } + ], + "timeout": "20s" + } \ No newline at end of file From 820871084bc3bda81484cce76322633bfe9904dc Mon Sep 17 00:00:00 2001 From: Frederic Mercier Date: Thu, 27 Jun 2024 09:39:26 +0200 Subject: [PATCH 2/5] update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8cc4a49..12ff3e0 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ This tutorial uses the Miniloan Service decision service. To further explore the ## Issues and contributions -For issues specifically related to this tutorial, please use the [GitHub issue tracker](https://github.com/DecisionsDev/odm-for-container-getting-started/issues). For more general issues related to IBM Operational Decision Manager, you can [get help]([https://developer.ibm.com/odm/home/connect/](https://community.ibm.com/community/user/automation/communities/community-home?CommunityKey=c0005a22-520b-4181-bfad-feffd8bdc022)) from the ODM community or, if you own production licenses for Operational Decision Manager, through the usual support channels. +For issues specifically related to this tutorial, please use the [GitHub issue tracker](https://github.com/DecisionsDev/odm-for-container-getting-started/issues). For more general issues related to IBM Operational Decision Manager, you can [get help](https://community.ibm.com/community/user/automation/communities/community-home?communitykey=c0005a22-520b-4181-bfad-feffd8bdc022) from the ODM community or, if you own production licenses for Operational Decision Manager, through the usual support channels. ## Licensing information From 4d6a5908f73be5660e4c756c888b708b3b56491c Mon Sep 17 00:00:00 2001 From: laurent grateau Date: Fri, 9 Aug 2024 15:06:54 +0200 Subject: [PATCH 3/5] DBACLD-148300 Enable detect secret --- .pre-commit-config.yaml | 21 +++++++++ .secrets.baseline | 96 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 .pre-commit-config.yaml create mode 100644 .secrets.baseline diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..50c1a6e --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,21 @@ +# This is an example configuration to enable detect-secrets in the pre-commit hook. +# Add this file to the root folder of your repository. +# +# Read pre-commit hook framework https://pre-commit.com/ for more details about the structure of config yaml file and how git pre-commit would invoke each hook. +# +# This line indicates we will use the hook from ibm/detect-secrets to run scan during committing phase. +repos: + - repo: https://github.com/ibm/detect-secrets + # If you desire to use a specific version of detect-secrets, you can replace `master` with other git revisions such as branch, tag or commit sha. + # You are encouraged to use static refs such as tags, instead of branch name + # + # Running "pre-commit autoupdate" automatically updates rev to latest tag + rev: 0.13.1+ibm.62.dss + hooks: + - id: detect-secrets # pragma: whitelist secret + # Add options for detect-secrets-hook binary. You can run `detect-secrets-hook --help` to list out all possible options. + # You may also run `pre-commit run detect-secrets` to preview the scan result. + # when "--baseline" without "--use-all-plugins", pre-commit scan with just plugins in baseline file + # when "--baseline" with "--use-all-plugins", pre-commit scan with all available plugins + # add "--fail-on-unaudited" to fail pre-commit for unaudited potential secrets + args: [--baseline, .secrets.baseline, --use-all-plugins] diff --git a/.secrets.baseline b/.secrets.baseline new file mode 100644 index 0000000..78f893e --- /dev/null +++ b/.secrets.baseline @@ -0,0 +1,96 @@ +{ + "exclude": { + "files": "^.secrets.baseline$", + "lines": null + }, + "generated_at": "2024-08-09T13:05:01Z", + "plugins_used": [ + { + "name": "AWSKeyDetector" + }, + { + "name": "ArtifactoryDetector" + }, + { + "name": "AzureStorageKeyDetector" + }, + { + "base64_limit": 4.5, + "name": "Base64HighEntropyString" + }, + { + "name": "BasicAuthDetector" + }, + { + "name": "BoxDetector" + }, + { + "name": "CloudantDetector" + }, + { + "ghe_instance": "github.ibm.com", + "name": "GheDetector" + }, + { + "name": "GitHubTokenDetector" + }, + { + "hex_limit": 3, + "name": "HexHighEntropyString" + }, + { + "name": "IbmCloudIamDetector" + }, + { + "name": "IbmCosHmacDetector" + }, + { + "name": "JwtTokenDetector" + }, + { + "keyword_exclude": null, + "name": "KeywordDetector" + }, + { + "name": "MailchimpDetector" + }, + { + "name": "NpmDetector" + }, + { + "name": "PrivateKeyDetector" + }, + { + "name": "SlackDetector" + }, + { + "name": "SoftlayerDetector" + }, + { + "name": "SquareOAuthDetector" + }, + { + "name": "StripeDetector" + }, + { + "name": "TwilioKeyDetector" + } + ], + "results": { + "doc/topics/tut_icp_gs_odm_cp4ba_prereqs.md": [ + { + "hashed_secret": "f44217a81173869e08671753c52553646ff5d95b", + "is_secret": false, + "is_verified": false, + "line_number": 66, + "type": "Secret Keyword", + "verified_result": null + } + ] + }, + "version": "0.13.1+ibm.62.dss", + "word_list": { + "file": null, + "hash": null + } +} From 8195b9ce035691183f00a73d1d346e73088c11c3 Mon Sep 17 00:00:00 2001 From: Frederic Mercier Date: Fri, 6 Dec 2024 11:48:06 +0100 Subject: [PATCH 4/5] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 12ff3e0..03f8381 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ This tutorial is for technical and business users who want an introduction to business rules authoring and management with IBM Operational Decision Manager (ODM) running in a container environment. Here are the different offerings where you can use this Getting Started tutorial: * [IBM Operational Decision Manager for Developers](https://hub.docker.com/r/ibmcom/odm/) - To deploy ODM in Docker environments, for evaluation and development purposes. - * [IBM Operational Decision Manager for Developers on Certified Kubernetes](https://artifacthub.io/packages/helm/ibm-odm-charts/ibm-odm-dev/24.0.0) - To deploy ODM on Certified Kubernetes environments, for evaluation and development purposes. + * [IBM Operational Decision Manager for Developers on Certified Kubernetes](https://artifacthub.io/packages/helm/ibm-odm-charts/ibm-odm-dev/24.1.0) - To deploy ODM on Certified Kubernetes environments, for evaluation and development purposes. * [IBM Operational Decision Manager for production on Certified Kubernetes](https://www.ibm.com/docs/en/odm/9.0.0?topic=kubernetes-installing-odm-production) - To deploy ODM on Certified Kubernetes environments, for production use. - * [IBM Operational Decision Manager in IBM Cloud Pak for Business Automation in starter mode](https://www.ibm.com/docs/en/cloud-paks/cp-biz-automation/24.0.0?topic=deployments-installing-cp4ba-multi-pattern-starter-deployment) - To deploy ODM on RedHat OpenShift in the context of IBM Cloud Pak for Business Automation in starter mode. + * [IBM Operational Decision Manager in IBM Cloud Pak for Business Automation in starter mode](https://www.ibm.com/docs/en/cloud-paks/cp-biz-automation/24.1.0?topic=deployments-installing-cp4ba-multi-pattern-starter-deployment) - To deploy ODM on RedHat OpenShift in the context of IBM Cloud Pak for Business Automation in starter mode. ## Time required From d6b8c47f097041deab2b7be1ddf57a89f7ce812f Mon Sep 17 00:00:00 2001 From: Frederic Mercier Date: Fri, 6 Dec 2024 11:58:20 +0100 Subject: [PATCH 5/5] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 03f8381..bafd736 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ This tutorial is for technical and business users who want an introduction to business rules authoring and management with IBM Operational Decision Manager (ODM) running in a container environment. Here are the different offerings where you can use this Getting Started tutorial: * [IBM Operational Decision Manager for Developers](https://hub.docker.com/r/ibmcom/odm/) - To deploy ODM in Docker environments, for evaluation and development purposes. - * [IBM Operational Decision Manager for Developers on Certified Kubernetes](https://artifacthub.io/packages/helm/ibm-odm-charts/ibm-odm-dev/24.1.0) - To deploy ODM on Certified Kubernetes environments, for evaluation and development purposes. + * [IBM Operational Decision Manager for Developers on Certified Kubernetes](https://artifacthub.io/packages/helm/ibm-odm-charts/ibm-odm-dev/24.0.1) - To deploy ODM on Certified Kubernetes environments, for evaluation and development purposes. * [IBM Operational Decision Manager for production on Certified Kubernetes](https://www.ibm.com/docs/en/odm/9.0.0?topic=kubernetes-installing-odm-production) - To deploy ODM on Certified Kubernetes environments, for production use. - * [IBM Operational Decision Manager in IBM Cloud Pak for Business Automation in starter mode](https://www.ibm.com/docs/en/cloud-paks/cp-biz-automation/24.1.0?topic=deployments-installing-cp4ba-multi-pattern-starter-deployment) - To deploy ODM on RedHat OpenShift in the context of IBM Cloud Pak for Business Automation in starter mode. + * [IBM Operational Decision Manager in IBM Cloud Pak for Business Automation in starter mode](https://www.ibm.com/docs/en/cloud-paks/cp-biz-automation/24.0.1?topic=deployments-installing-cp4ba-multi-pattern-starter-deployment) - To deploy ODM on RedHat OpenShift in the context of IBM Cloud Pak for Business Automation in starter mode. ## Time required