Skip to content

Commit

Permalink
Update the Beam Katas Java to use the new course metadata yaml format (
Browse files Browse the repository at this point in the history
…apache#9901)

* Change from study_project.xml to yaml files

* Remove *-remote-info.yaml file except for course-remote-info.yaml

* Update the all the *-remote-info.yaml files

* Add copyright for all *-info.yaml files

* Exclude Katas remote-info.yaml files from RAT check
  • Loading branch information
henryken authored and pabloem committed Oct 28, 2019
1 parent aeb7153 commit eb7edf3
Show file tree
Hide file tree
Showing 135 changed files with 1,915 additions and 3,151 deletions.
3,151 changes: 0 additions & 3,151 deletions learning/katas/java/.idea/study_project.xml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#
# 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:https://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.
#

type: edu
files:
- name: src/org/apache/beam/learning/katas/commontransforms/aggregation/count/Task.java
visible: true
placeholders:
- offset: 1707
length: 29
placeholder_text: TODO()
- name: test/org/apache/beam/learning/katas/commontransforms/aggregation/count/TaskTest.java
visible: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
id: 713738
update_date: Wed, 19 Jun 2019 09:23:51 UTC
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#
# 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:https://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.
#

type: edu
files:
- name: src/org/apache/beam/learning/katas/commontransforms/aggregation/max/Task.java
visible: true
placeholders:
- offset: 1709
length: 35
placeholder_text: TODO()
- name: test/org/apache/beam/learning/katas/commontransforms/aggregation/max/TaskTest.java
visible: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
id: 713742
update_date: Wed, 19 Jun 2019 09:24:06 UTC
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#
# 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:https://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.
#

type: edu
files:
- name: src/org/apache/beam/learning/katas/commontransforms/aggregation/mean/Task.java
visible: true
placeholders:
- offset: 1709
length: 28
placeholder_text: TODO()
- name: test/org/apache/beam/learning/katas/commontransforms/aggregation/mean/TaskTest.java
visible: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
id: 713740
update_date: Wed, 19 Jun 2019 09:23:58 UTC
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#
# 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:https://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.
#

type: edu
files:
- name: src/org/apache/beam/learning/katas/commontransforms/aggregation/min/Task.java
visible: true
placeholders:
- offset: 1709
length: 35
placeholder_text: TODO()
- name: test/org/apache/beam/learning/katas/commontransforms/aggregation/min/TaskTest.java
visible: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
id: 713741
update_date: Wed, 19 Jun 2019 09:24:02 UTC
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#
# 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:https://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.
#

type: edu
files:
- name: src/org/apache/beam/learning/katas/commontransforms/aggregation/sum/Task.java
visible: true
placeholders:
- offset: 1709
length: 35
placeholder_text: TODO()
- name: test/org/apache/beam/learning/katas/commontransforms/aggregation/sum/TaskTest.java
visible: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
id: 713739
update_date: Wed, 19 Jun 2019 09:23:55 UTC
25 changes: 25 additions & 0 deletions learning/katas/java/Common Transforms/Aggregation/lesson-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#
# 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:https://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.
#

content:
- Count
- Sum
- Mean
- Min
- Max
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
id: 229514
update_date: Fri, 31 May 2019 17:51:12 UTC
unit: 202039
29 changes: 29 additions & 0 deletions learning/katas/java/Common Transforms/Filter/Filter/task-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#
# 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:https://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.
#

type: edu
files:
- name: src/org/apache/beam/learning/katas/commontransforms/filter/filter/Task.java
visible: true
placeholders:
- offset: 1718
length: 49
placeholder_text: TODO()
- name: test/org/apache/beam/learning/katas/commontransforms/filter/filter/TaskTest.java
visible: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
id: 713737
update_date: Wed, 19 Jun 2019 09:23:47 UTC
29 changes: 29 additions & 0 deletions learning/katas/java/Common Transforms/Filter/ParDo/task-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#
# 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:https://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.
#

type: edu
files:
- name: src/org/apache/beam/learning/katas/commontransforms/filter/pardo/Task.java
visible: true
placeholders:
- offset: 1752
length: 292
placeholder_text: TODO()
- name: test/org/apache/beam/learning/katas/commontransforms/filter/pardo/TaskTest.java
visible: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
id: 713736
update_date: Wed, 19 Jun 2019 09:23:44 UTC
22 changes: 22 additions & 0 deletions learning/katas/java/Common Transforms/Filter/lesson-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +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:https://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.
#

content:
- ParDo
- Filter
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
id: 229513
update_date: Fri, 31 May 2019 17:50:56 UTC
unit: 202038
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#
# 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:https://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.
#

type: edu
files:
- name: src/org/apache/beam/learning/katas/commontransforms/withkeys/Task.java
visible: true
placeholders:
- offset: 1875
length: 117
placeholder_text: TODO()
- name: test/org/apache/beam/learning/katas/commontransforms/withkeys/TaskTest.java
visible: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
id: 754089
update_date: Wed, 19 Jun 2019 09:24:09 UTC
21 changes: 21 additions & 0 deletions learning/katas/java/Common Transforms/WithKeys/lesson-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +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:https://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.
#

content:
- WithKeys
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
id: 237992
update_date: Mon, 17 Jun 2019 17:11:31 UTC
unit: -1
23 changes: 23 additions & 0 deletions learning/katas/java/Common Transforms/section-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +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:https://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.
#

content:
- Filter
- Aggregation
- WithKeys
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
id: 85641
update_date: Fri, 31 May 2019 17:51:12 UTC
Loading

0 comments on commit eb7edf3

Please sign in to comment.