Fix .jj and Markdown Licenses

Change-Id: Iadb5074d0e0d4fb2b7d4303aa405e9fc91f4bd21
Reviewed-on: https://asterix-gerrit.ics.uci.edu/426
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Till Westmann <tillw@apache.org>
diff --git a/asterix-examples/src/main/resources/admaql101-demo/README.md b/asterix-examples/src/main/resources/admaql101-demo/README.md
index cd27495..b4c791b 100755
--- a/asterix-examples/src/main/resources/admaql101-demo/README.md
+++ b/asterix-examples/src/main/resources/admaql101-demo/README.md
@@ -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.
+ !-->
+
 # Black Cherry Demo
 Author: Eugenia Gabrielova (genia.likes.science@gmail.com)
 
diff --git a/asterix-examples/src/main/resources/admaql101-demo/admaql101.py b/asterix-examples/src/main/resources/admaql101-demo/admaql101.py
index 295fee6..8d27533 100755
--- a/asterix-examples/src/main/resources/admaql101-demo/admaql101.py
+++ b/asterix-examples/src/main/resources/admaql101-demo/admaql101.py
@@ -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.
+
 import os
 import json
 import sys
diff --git a/asterix-examples/src/main/resources/admaql101-demo/run_101_demo.py b/asterix-examples/src/main/resources/admaql101-demo/run_101_demo.py
index 89efa77..1e060b7 100755
--- a/asterix-examples/src/main/resources/admaql101-demo/run_101_demo.py
+++ b/asterix-examples/src/main/resources/admaql101-demo/run_101_demo.py
@@ -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.
+
 import admaql101
 import requests
 from bottle import route, run, template, get, debug, static_file, request, response
diff --git a/asterix-examples/src/main/resources/tweetbook-demo/README.md b/asterix-examples/src/main/resources/tweetbook-demo/README.md
index 2b490e0..09f5cd7 100755
--- a/asterix-examples/src/main/resources/tweetbook-demo/README.md
+++ b/asterix-examples/src/main/resources/tweetbook-demo/README.md
@@ -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.
+ !-->
+
 # Tweetbook Demo
 Author: Eugenia Gabrielova (genia.likes.science@gmail.com)
 
diff --git a/asterix-examples/src/main/resources/tweetbook-demo/run_tweetbook_demo.py b/asterix-examples/src/main/resources/tweetbook-demo/run_tweetbook_demo.py
index 5307192..3acddcc 100755
--- a/asterix-examples/src/main/resources/tweetbook-demo/run_tweetbook_demo.py
+++ b/asterix-examples/src/main/resources/tweetbook-demo/run_tweetbook_demo.py
@@ -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.
+
 import tweetbook_bootstrap
 from urllib2 import URLError, urlopen
 from urllib import urlencode
diff --git a/asterix-examples/src/main/resources/tweetbook-demo/tweetbook_bootstrap.py b/asterix-examples/src/main/resources/tweetbook-demo/tweetbook_bootstrap.py
index d27939a..f44bdb7 100755
--- a/asterix-examples/src/main/resources/tweetbook-demo/tweetbook_bootstrap.py
+++ b/asterix-examples/src/main/resources/tweetbook-demo/tweetbook_bootstrap.py
@@ -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.
+
 import os
 import json
 import sys