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

[DO NOT MERGE][WORK IN PROGRESS]kie-issues#1613: Add CI :: License headers / check GitHub Actions workflow #2746

Open
wants to merge 34 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
e63e164
kie-issues#1613: Add apache-rat check github action
jomarko Nov 15, 2024
571eab2
remove checkstyle.header.template
jomarko Nov 15, 2024
e83541f
Update .github/workflows/pr-rat-check.yml
jomarko Nov 18, 2024
bed1c37
Update .github/workflows/pr-rat-check.yml
jomarko Nov 18, 2024
9f863fa
update triggers
jomarko Nov 18, 2024
7681a7e
List excluded files explicitely
jomarko Nov 20, 2024
eb1037b
add third-party excludes
jomarko Nov 20, 2024
767a6e2
List explicitely all files in the .rat-excludes
jomarko Nov 21, 2024
0d481a3
Use apache-rat v0.16.1
jomarko Nov 21, 2024
17003e0
Everthing -> Everything
jomarko Nov 21, 2024
5b92220
CI :: License headers
jomarko Nov 22, 2024
c0f1875
Merge branch 'main' into kie-issues#1613
jomarko Nov 22, 2024
4c94cde
NOTICE -> LICENSE
jomarko Nov 22, 2024
a548b7d
BPMN and DMN xsd LICENSE
jomarko Nov 22, 2024
478818a
Makefile licenseheader
jomarko Nov 22, 2024
deea9b6
Fix *.dmn license headers
jomarko Nov 22, 2024
f8650c6
Fix README.md license headers
jomarko Nov 22, 2024
d2aff84
fix docker-compose
jomarko Nov 22, 2024
fdb5987
fix svg icons
jomarko Nov 22, 2024
5781ee8
application.properties
jomarko Nov 22, 2024
a20a419
fix hiring.bpmn
jomarko Nov 22, 2024
697df72
.less licenses
jomarko Nov 22, 2024
c10c787
fix css and scss
jomarko Nov 22, 2024
d8e03f9
fix Chart.yaml
jomarko Nov 22, 2024
4e8d8ad
fix java files
jomarko Nov 22, 2024
7c48f93
DEV_DEPLOYMENTS
jomarko Nov 22, 2024
bb783a8
mdx
jomarko Nov 22, 2024
16ae495
types.ts
jomarko Nov 22, 2024
1104eae
revert run-script-if and image-builder README
jomarko Nov 25, 2024
00288c9
Base64Util.java
jomarko Nov 25, 2024
51c0fad
licenses delimeter
jomarko Nov 25, 2024
c612cfc
Add js.back files
jomarko Nov 25, 2024
61180fb
Merge branch 'main' into kie-issues#1613
jomarko Nov 25, 2024
982d0d3
sonataflow-operator yaml files
jomarko Nov 25, 2024
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
43 changes: 43 additions & 0 deletions .github/workflows/ci_check_license_headers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#

name: "CI :: License headers"

on:
push:
branches: [main]
pull_request:
branches: ["**"]
types: [opened, reopened, ready_for_review, synchronize]

jobs:
check:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Download Apache RAT
run: |
curl -LO https://repo1.maven.org/maven2/org/apache/rat/apache-rat/0.16.1/apache-rat-0.16.1.jar

- name: Run Apache RAT
run: |
java -jar apache-rat-0.16.1.jar -d . -E .rat-excludes | grep "== File:" && echo "The files listed above are missing license headers." && exit 1 || echo "All files have license headers."
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -346,3 +346,7 @@ turbo.json
# IntelliJ projects should be on _intellij-projects folder, never on specific packages.
packages/*/.idea
examples/*/.idea


# Apache RAT check excludes file
!.rat-excludes
1,968 changes: 1,968 additions & 0 deletions .rat-excludes

Large diffs are not rendered by default.

773 changes: 773 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

84 changes: 1 addition & 83 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -5,87 +5,5 @@ This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).

The Initial Developer of some parts of the framework, which are copied from, derived from, or
inspired by KIE (Knowledge Is Everthing) group, is Red Hat, Inc (https://www.redhat.com/).
inspired by KIE (Knowledge Is Everything) group, is Red Hat, Inc (https://www.redhat.com/).
Copyright Red Hat, Inc. and/or its affiliates.. All Rights Reserved.

This product also includes the following third-party components:

* animate.css (http://daneden.me/animate)

Copyright (c) 2016 Daniel Eden

* bootstrap (https://getbootstrap.com/)

Copyright 2011-2019 Twitter, Inc.

* bootstrap-datepicker (https://github.com/smalot/bootstrap-datetimepicker)

Copyright 2012 Stefan Petre

* bootstrap-select (http://silviomoreto.github.io/bootstrap-select)

Copyright 2013-2017 bootstrap-select

* Context Dependency Injection (CDI)

Copyright (C) 2009 The JSR-330 Expert Group

* connected (https://github.com/Vertispan/connected)

Copyright (C) 2017 Vertispan

* Eclipse Modeling Framework (https://eclipse.dev/modeling/emf/)

Copyright (C) Eclipse and contributors: Copyright (c) 2010 SAP AG

* Font Awesome (https://fontawesome.com/)

Copyright Dave Gandy 2016. All rights reserved

* Google Web Toolkit (GWT) (https://www.gwtproject.org/)

Copyright 2007 Google Inc.

* GWT Bootstrap 3 (https://github.com/gwtbootstrap3/gwtbootstrap3)

Copyright (C) 2013 GwtBootstrap3

* highlight.js (https://highlightjs.org)

Copyright (C) highlight.js

* Jakarta EE (https://jakarta.ee/)

Copyright (C) Eclipse and contributors

* Java Enterprise Edition (https://www.oracle.com/java/technologies/java-ee-glance.html)

Copyright (c) 2017, 2020 Oracle and/or its affiliates. All rights reserved.

* Java Standard Edition (https://www.oracle.com/java/technologies/java-se-glance.html)

Copyright (c) 2005-2013 Oracle and/or its affiliates

* jQuery UI (http://jqueryui.com)

Copyright jQuery Foundation

* libgdx (https://github.com/libgdx/libgdx)

Copyright (c) 2008, Avian Contributors

* Lienzo (https://github.com/dikalo/lienzo-core)

Copyright (c) 2017 Ahome' Innovation Technologies

* Respond.js (https://github.com/scottjehl/Respond)

Copyright 2013 Scott Jehl

* SnakeYAML (https://bitbucket.org/snakeyaml/snakeyaml)

Copyright (c) 2018, SnakeYAML

* wysihtml (https://github.com/Voog/wysihtml)

Copyright (C) 2012-2016 XING AG, Voog and contributors
17 changes: 17 additions & 0 deletions examples/commit-message-validation-service/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

METADATA_PATH := github.com/apache/incubator-kie-tools/examples/commit-message-validation-service/pkg/metadata
SET_COMMIT_MESSAGE_VALIDATION_SERVICE_PORT := $(METADATA_PATH).Port=$(shell build-env commitMessageValidationService.port)
SET_COMMIT_MESSAGE_VALIDATION_SERVICE_ENABLED_VALIDATORS := $(METADATA_PATH).Validators=$(shell build-env commitMessageValidationService.validators)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<definitions
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
expressionLanguage="https://www.omg.org/spec/DMN/20230324/FEEL/"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<definitions
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
expressionLanguage="https://www.omg.org/spec/DMN/20230324/FEEL/"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<definitions
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/"
Expand Down
18 changes: 18 additions & 0 deletions examples/dmn-editor-standalone-examples/static/models/empty.dmn
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<definitions
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
expressionLanguage="https://www.omg.org/spec/DMN/20230324/FEEL/"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<dmn:definitions
xmlns:dmn="https://www.omg.org/spec/DMN/20230324/MODEL/"
xmlns="https://kie.apache.org/dmn/_857FE424-BEDA-4772-AB8E-2F4CDDB864AB"
Expand Down
17 changes: 17 additions & 0 deletions examples/jbpm-compact-architecture-example/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

# jBPM Compact Architecture Quarkus Example

This example showcases a basic implementation of a **Hiring** Process that drives a _Candidate_ through different
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#

services:
postgres:
container_name: postgres
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<dmn:definitions
xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/"
xmlns="https://kiegroup.org/dmn/_0DCC505E-71B4-4C29-8848-4006623FE51A"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#

# Packaging
#quarkus.package.type=fast-jar

Expand Down
Loading
Loading