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

🐛 Fix bad yaml file #58

Merged
merged 3 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/global-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@ jobs:
- uses: actions/checkout@v3
with:
path: rulesets

- name: Validate YAML rules
working-directory: rulesets
run: |
#!/bin/bash
rc=0
for file in $(find . -type f -name *.yaml); do
yq eval '.' "$file" > /dev/null 2>&1 || {
echo "::warning:: bad yaml file ${file}"
rc=1
}
done
exit $rc

- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
- name: registry
nameOfCaptureGroup: registry
pattern: org.apache.camel.impl.(?P<registry>(PropertyPlaceholderDelegateRegistry|CompositeRegistry))
description: 'Classes under 'org.apache.camel.impl' have been removed'
description: 'Classes under org.apache.camel.impl have been removed'
effort: 1
labels:
- konveyor.io/source=camel2
Expand Down Expand Up @@ -412,7 +412,7 @@
- name: moved
nameOfCaptureGroup: moved
pattern: org.apache.camel.util.(?P<moved>(AsyncProcessorHelper|AsyncProcessorConverterHelper|EndpointHelper|EventHelper|ExchangeHelper|GZIPHelper|JsonSchemaHelper|MessageHelper|PlatformHelper|PredicateAssertHelper|ResolverHelper|ResourceHelper|UnitOfWorkHelper))
description: 'Classes under 'org.apache.camel.util' have been moved to 'org.apache.camel.support'.'
description: 'Classes under `org.apache.camel.util` have been moved to `org.apache.camel.support`.'
effort: 1
labels:
- konveyor.io/source=camel2
Expand Down Expand Up @@ -526,7 +526,7 @@
pattern: org.apache.camel.impl.ThrottlingInflightRoutePolicy
- category: mandatory
customVariables: []
description: 'Classes under 'org.apache.camel.processor.idempotent' have been moved to 'org.apache.camel.support.processor.idempotent''
description: 'Classes under `org.apache.camel.processor.idempotent` have been moved to `org.apache.camel.support.processor.idempotent`'
effort: 1
labels:
- konveyor.io/source=camel2
Expand Down Expand Up @@ -716,7 +716,7 @@
- name: class
nameOfCaptureGroup: class
pattern: org.apache.camel.(?P<class>(Consume|EndpointInject|Produce))
description: 'Replace the deprecated 'uri' attribute with 'value' in Apache Camel's Consume, EndpointInject, or Produce annotations for modernization '
description: "Replace the deprecated `uri` attribute with `value` in Apache Camel's Consume, EndpointInject, or Produce annotations for modernization"
effort: 0
labels:
- konveyor.io/source=camel2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
labels:
- konveyor.io/include=always
links: []
\ "
ruleID: integration-00001
tag:
- Apache Camel
Expand Down
Loading