This is an automated email from the ASF dual-hosted git repository. danhaywood pushed a commit to branch CAUSEWAY-3666 in repository https://gitbox.apache.org/repos/asf/causeway.git
commit 97bf4f28fe0de7bce66ad5b779b5d1af07fb528c Author: danhaywood <[email protected]> AuthorDate: Sat Mar 16 11:03:14 2024 +0000 CAUSEWAY-3666: adds missing license headers --- antora/pom.xml | 3 +++ .../services/ascii/AsciiIdentifierService.java | 18 ++++++++++++++++++ bom/pom.xml | 3 +++ .../causeway/commons/graph/GraphUtilsTest.java | 18 ++++++++++++++++++ incubator/pom.xml | 3 +++ regressiontests/pom.xml | 3 +++ tooling/pom.xml | 3 +++ .../graphql/applib/src/main/java/module-info.java | 18 ++++++++++++++++++ viewers/graphql/model/src/main/java/module-info.java | 18 ++++++++++++++++++ .../graphql/viewer/test/domain/calc/Calculator.java | 18 ++++++++++++++++++ .../graphql/viewer/test/domain/calc/Month.java | 18 ++++++++++++++++++ .../graphql/viewer/test/domain/calc/Month_Test.java | 18 ++++++++++++++++++ .../graphql/viewer/test/domain/dept/People.java | 18 ++++++++++++++++++ .../graphql/viewer/test/domain/dept/Person.java | 18 ++++++++++++++++++ ...sciiIdentifierServiceSupportingGraphqlViewer.java | 18 ++++++++++++++++++ .../viewer/test/domain/i18n/I18nCalculator.java | 18 ++++++++++++++++++ .../src/test/resources/application-test.properties | 20 ++++++++++++++++++++ .../src/test/resources/junit-platform.properties | 20 ++++++++++++++++++++ .../graphql/viewer/test2/domain/calc/Calculator.java | 18 ++++++++++++++++++ .../graphql/viewer/test2/domain/calc/Month.java | 18 ++++++++++++++++++ .../graphql/viewer/test2/domain/calc/Month_Test.java | 18 ++++++++++++++++++ .../graphql/viewer/test2/domain/dept/People.java | 18 ++++++++++++++++++ .../graphql/viewer/test2/domain/dept/Person.java | 18 ++++++++++++++++++ .../src/test/resources/application-test.properties | 19 +++++++++++++++++++ .../src/test/resources/junit-platform.properties | 19 +++++++++++++++++++ .../graphql/viewer/src/main/java/module-info.java | 18 ++++++++++++++++++ .../viewer/controller/ResourceController.java | 18 ++++++++++++++++++ .../viewer/src/test/resources/application-test.yml | 19 +++++++++++++++++++ .../restfulobjects/test/domain/dom/People.java | 18 ++++++++++++++++++ .../restfulobjects/test/domain/dom/Person.java | 18 ++++++++++++++++++ .../test/src/test/resources/application-test.yml | 19 +++++++++++++++++++ 31 files changed, 491 insertions(+) diff --git a/antora/pom.xml b/antora/pom.xml index f0ffeb544f..18ba626ee9 100644 --- a/antora/pom.xml +++ b/antora/pom.xml @@ -57,6 +57,9 @@ <exclude>**/.classpath</exclude> <exclude>**/.settings/**</exclude> <exclude>**/*.launch</exclude> + <exclude>**/schema.gql</exclude> + <exclude>**/jquery.livequery.js</exclude> + <exclude>**/*._.gql</exclude> <exclude>**/.gitkeep</exclude> <exclude>**/*.iml</exclude> diff --git a/api/applib/src/main/java/org/apache/causeway/applib/services/ascii/AsciiIdentifierService.java b/api/applib/src/main/java/org/apache/causeway/applib/services/ascii/AsciiIdentifierService.java index b39ae2219a..f24c42a0ff 100644 --- a/api/applib/src/main/java/org/apache/causeway/applib/services/ascii/AsciiIdentifierService.java +++ b/api/applib/src/main/java/org/apache/causeway/applib/services/ascii/AsciiIdentifierService.java @@ -1,3 +1,21 @@ +/* + * 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. + */ package org.apache.causeway.applib.services.ascii; /** diff --git a/bom/pom.xml b/bom/pom.xml index deef864a80..e31dc57411 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -2462,6 +2462,9 @@ It is therefore a copy of org.apache:apache, with customisations clearly identif <exclude>**/.classpath</exclude> <exclude>**/.settings/**</exclude> <exclude>**/*.launch</exclude> + <exclude>**/schema.gql</exclude> + <exclude>**/jquery.livequery.js</exclude> + <exclude>**/*._.gql</exclude> <exclude>**/.gitkeep</exclude> <exclude>**/*.iml</exclude> diff --git a/commons/src/test/java/org/apache/causeway/commons/graph/GraphUtilsTest.java b/commons/src/test/java/org/apache/causeway/commons/graph/GraphUtilsTest.java index 7baa30e8ad..c02b025df3 100644 --- a/commons/src/test/java/org/apache/causeway/commons/graph/GraphUtilsTest.java +++ b/commons/src/test/java/org/apache/causeway/commons/graph/GraphUtilsTest.java @@ -1,3 +1,21 @@ +/* + * 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. + */ package org.apache.causeway.commons.graph; import org.junit.jupiter.api.Test; diff --git a/incubator/pom.xml b/incubator/pom.xml index 3aa186253e..a6c9890ddd 100644 --- a/incubator/pom.xml +++ b/incubator/pom.xml @@ -86,6 +86,9 @@ <exclude>**/.classpath</exclude> <exclude>**/.settings/**</exclude> <exclude>**/*.launch</exclude> + <exclude>**/schema.gql</exclude> + <exclude>**/jquery.livequery.js</exclude> + <exclude>**/*._.gql</exclude> <exclude>**/.gitkeep</exclude> <exclude>**/*.iml</exclude> diff --git a/regressiontests/pom.xml b/regressiontests/pom.xml index e4f3854837..380228807e 100644 --- a/regressiontests/pom.xml +++ b/regressiontests/pom.xml @@ -89,6 +89,9 @@ <exclude>**/.classpath</exclude> <exclude>**/.settings/**</exclude> <exclude>**/*.launch</exclude> + <exclude>**/schema.gql</exclude> + <exclude>**/jquery.livequery.js</exclude> + <exclude>**/*._.gql</exclude> <exclude>**/.gitkeep</exclude> <exclude>**/*.iml</exclude> diff --git a/tooling/pom.xml b/tooling/pom.xml index 102476409f..6a5c7ac873 100644 --- a/tooling/pom.xml +++ b/tooling/pom.xml @@ -112,6 +112,9 @@ <exclude>**/.classpath</exclude> <exclude>**/.settings/**</exclude> <exclude>**/*.launch</exclude> + <exclude>**/schema.gql</exclude> + <exclude>**/jquery.livequery.js</exclude> + <exclude>**/*._.gql</exclude> <exclude>**/.gitkeep</exclude> <exclude>**/*.iml</exclude> diff --git a/viewers/graphql/applib/src/main/java/module-info.java b/viewers/graphql/applib/src/main/java/module-info.java index 8f45aa5051..bffc6596e3 100644 --- a/viewers/graphql/applib/src/main/java/module-info.java +++ b/viewers/graphql/applib/src/main/java/module-info.java @@ -1,3 +1,21 @@ +/* + * 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. + */ module org.apache.causeway.incubator.viewer.graphql.applib { exports org.apache.causeway.viewer.graphql.applib; exports org.apache.causeway.viewer.graphql.applib.auth; diff --git a/viewers/graphql/model/src/main/java/module-info.java b/viewers/graphql/model/src/main/java/module-info.java index 2acd702470..53d3e7daf2 100644 --- a/viewers/graphql/model/src/main/java/module-info.java +++ b/viewers/graphql/model/src/main/java/module-info.java @@ -1,3 +1,21 @@ +/* + * 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. + */ module org.apache.causeway.incubator.viewer.graphql.model { exports org.apache.causeway.viewer.graphql.model; exports org.apache.causeway.viewer.graphql.model.context; diff --git a/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/calc/Calculator.java b/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/calc/Calculator.java index 5e18904bc7..37dec3ff74 100644 --- a/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/calc/Calculator.java +++ b/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/calc/Calculator.java @@ -1,3 +1,21 @@ +/* + * 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. + */ package org.apache.causeway.viewer.graphql.viewer.test.domain.calc; import java.math.BigDecimal; diff --git a/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/calc/Month.java b/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/calc/Month.java index c18ab87074..c60432fc34 100644 --- a/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/calc/Month.java +++ b/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/calc/Month.java @@ -1,3 +1,21 @@ +/* + * 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. + */ package org.apache.causeway.viewer.graphql.viewer.test.domain.calc; public enum Month { diff --git a/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/calc/Month_Test.java b/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/calc/Month_Test.java index f87fbf5d1d..0ca83e220a 100644 --- a/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/calc/Month_Test.java +++ b/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/calc/Month_Test.java @@ -1,3 +1,21 @@ +/* + * 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. + */ package org.apache.causeway.viewer.graphql.viewer.test.domain.calc; import org.junit.jupiter.api.Test; diff --git a/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/dept/People.java b/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/dept/People.java index 2bc2915d04..3baf5ffc67 100644 --- a/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/dept/People.java +++ b/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/dept/People.java @@ -1,3 +1,21 @@ +/* + * 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. + */ package org.apache.causeway.viewer.graphql.viewer.test.domain.dept; import java.util.Optional; diff --git a/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/dept/Person.java b/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/dept/Person.java index 612d71ab71..31af378916 100644 --- a/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/dept/Person.java +++ b/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/dept/Person.java @@ -1,3 +1,21 @@ +/* + * 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. + */ package org.apache.causeway.viewer.graphql.viewer.test.domain.dept; import javax.inject.Named; diff --git a/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/i18n/AsciiIdentifierServiceSupportingGraphqlViewer.java b/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/i18n/AsciiIdentifierServiceSupportingGraphqlViewer.java index 0cb18bd068..721ac9c28e 100644 --- a/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/i18n/AsciiIdentifierServiceSupportingGraphqlViewer.java +++ b/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/i18n/AsciiIdentifierServiceSupportingGraphqlViewer.java @@ -1,3 +1,21 @@ +/* + * 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. + */ package org.apache.causeway.viewer.graphql.viewer.test.domain.i18n; import org.apache.causeway.applib.services.ascii.AsciiIdentifierService; diff --git a/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/i18n/I18nCalculator.java b/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/i18n/I18nCalculator.java index 67fa67943e..aa6d1e8171 100644 --- a/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/i18n/I18nCalculator.java +++ b/viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/domain/i18n/I18nCalculator.java @@ -1,3 +1,21 @@ +/* + * 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. + */ package org.apache.causeway.viewer.graphql.viewer.test.domain.i18n; import javax.annotation.Priority; diff --git a/viewers/graphql/test/src/test/resources/application-test.properties b/viewers/graphql/test/src/test/resources/application-test.properties index a86c70af91..ef6857342d 100644 --- a/viewers/graphql/test/src/test/resources/application-test.properties +++ b/viewers/graphql/test/src/test/resources/application-test.properties @@ -1,3 +1,23 @@ +# +# 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. +# + + #logging.level.org.springframework=DEBUG #logging.level.graphql=DEBUG diff --git a/viewers/graphql/test/src/test/resources/junit-platform.properties b/viewers/graphql/test/src/test/resources/junit-platform.properties index f61913bd47..dd22177311 100644 --- a/viewers/graphql/test/src/test/resources/junit-platform.properties +++ b/viewers/graphql/test/src/test/resources/junit-platform.properties @@ -1,2 +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. +# + + # ClassOrderer$OrderAnnotation sorts classes based on their @Order annotation junit.jupiter.testclass.order.default=org.junit.jupiter.api.ClassOrderer$OrderAnnotation \ No newline at end of file diff --git a/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/calc/Calculator.java b/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/calc/Calculator.java index c41768514d..8bc2a4f531 100644 --- a/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/calc/Calculator.java +++ b/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/calc/Calculator.java @@ -1,3 +1,21 @@ +/* + * 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. + */ package org.apache.causeway.viewer.graphql.viewer.test2.domain.calc; import java.math.BigDecimal; diff --git a/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/calc/Month.java b/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/calc/Month.java index 223aa75595..8f5c8ec221 100644 --- a/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/calc/Month.java +++ b/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/calc/Month.java @@ -1,3 +1,21 @@ +/* + * 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. + */ package org.apache.causeway.viewer.graphql.viewer.test2.domain.calc; public enum Month { diff --git a/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/calc/Month_Test.java b/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/calc/Month_Test.java index 4bb21cbceb..6dfa5abca3 100644 --- a/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/calc/Month_Test.java +++ b/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/calc/Month_Test.java @@ -1,3 +1,21 @@ +/* + * 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. + */ package org.apache.causeway.viewer.graphql.viewer.test2.domain.calc; import org.junit.jupiter.api.Test; diff --git a/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/dept/People.java b/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/dept/People.java index f2ecfbc149..b690ace767 100644 --- a/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/dept/People.java +++ b/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/dept/People.java @@ -1,3 +1,21 @@ +/* + * 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. + */ package org.apache.causeway.viewer.graphql.viewer.test2.domain.dept; import java.util.Optional; diff --git a/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/dept/Person.java b/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/dept/Person.java index 9a0b96d847..41da84a4b1 100644 --- a/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/dept/Person.java +++ b/viewers/graphql/test2/src/test/java/org/apache/causeway/viewer/graphql/viewer/test2/domain/dept/Person.java @@ -1,3 +1,21 @@ +/* + * 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. + */ package org.apache.causeway.viewer.graphql.viewer.test2.domain.dept; import javax.inject.Named; diff --git a/viewers/graphql/test2/src/test/resources/application-test.properties b/viewers/graphql/test2/src/test/resources/application-test.properties index a86c70af91..ae647165b7 100644 --- a/viewers/graphql/test2/src/test/resources/application-test.properties +++ b/viewers/graphql/test2/src/test/resources/application-test.properties @@ -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. +# + #logging.level.org.springframework=DEBUG #logging.level.graphql=DEBUG diff --git a/viewers/graphql/test2/src/test/resources/junit-platform.properties b/viewers/graphql/test2/src/test/resources/junit-platform.properties index f61913bd47..82e3e202a9 100644 --- a/viewers/graphql/test2/src/test/resources/junit-platform.properties +++ b/viewers/graphql/test2/src/test/resources/junit-platform.properties @@ -1,2 +1,21 @@ +# +# 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. +# + # ClassOrderer$OrderAnnotation sorts classes based on their @Order annotation junit.jupiter.testclass.order.default=org.junit.jupiter.api.ClassOrderer$OrderAnnotation \ No newline at end of file diff --git a/viewers/graphql/viewer/src/main/java/module-info.java b/viewers/graphql/viewer/src/main/java/module-info.java index 9196631502..dcb45202c9 100644 --- a/viewers/graphql/viewer/src/main/java/module-info.java +++ b/viewers/graphql/viewer/src/main/java/module-info.java @@ -1,3 +1,21 @@ +/* + * 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. + */ module org.apache.causeway.incubator.viewer.graphql.viewer { exports org.apache.causeway.viewer.graphql.viewer; exports org.apache.causeway.viewer.graphql.viewer.integration; diff --git a/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/controller/ResourceController.java b/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/controller/ResourceController.java index 6a00398d3b..aceca7cd25 100644 --- a/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/controller/ResourceController.java +++ b/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/controller/ResourceController.java @@ -1,3 +1,21 @@ +/* + * 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. + */ package org.apache.causeway.viewer.graphql.viewer.controller; import java.util.Objects; diff --git a/viewers/graphql/viewer/src/test/resources/application-test.yml b/viewers/graphql/viewer/src/test/resources/application-test.yml index bd7971342e..2649be55f7 100644 --- a/viewers/graphql/viewer/src/test/resources/application-test.yml +++ b/viewers/graphql/viewer/src/test/resources/application-test.yml @@ -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. +# + causeway: persistence: schema: diff --git a/viewers/restfulobjects/test/src/test/java/org/apache/causeway/viewer/restfulobjects/test/domain/dom/People.java b/viewers/restfulobjects/test/src/test/java/org/apache/causeway/viewer/restfulobjects/test/domain/dom/People.java index 511cc3b1f5..5e6d59174f 100644 --- a/viewers/restfulobjects/test/src/test/java/org/apache/causeway/viewer/restfulobjects/test/domain/dom/People.java +++ b/viewers/restfulobjects/test/src/test/java/org/apache/causeway/viewer/restfulobjects/test/domain/dom/People.java @@ -1,3 +1,21 @@ +/* + * 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. + */ package org.apache.causeway.viewer.restfulobjects.test.domain.dom; import java.util.Optional; diff --git a/viewers/restfulobjects/test/src/test/java/org/apache/causeway/viewer/restfulobjects/test/domain/dom/Person.java b/viewers/restfulobjects/test/src/test/java/org/apache/causeway/viewer/restfulobjects/test/domain/dom/Person.java index 34190ad8cf..c26168ad5d 100644 --- a/viewers/restfulobjects/test/src/test/java/org/apache/causeway/viewer/restfulobjects/test/domain/dom/Person.java +++ b/viewers/restfulobjects/test/src/test/java/org/apache/causeway/viewer/restfulobjects/test/domain/dom/Person.java @@ -1,3 +1,21 @@ +/* + * 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. + */ package org.apache.causeway.viewer.restfulobjects.test.domain.dom; import javax.inject.Named; diff --git a/viewers/restfulobjects/test/src/test/resources/application-test.yml b/viewers/restfulobjects/test/src/test/resources/application-test.yml index 0e4fb593b6..7ddb226be0 100644 --- a/viewers/restfulobjects/test/src/test/resources/application-test.yml +++ b/viewers/restfulobjects/test/src/test/resources/application-test.yml @@ -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. +# + resteasy: jaxrs: app:
