eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject [1/3] incubator-eagle git commit: EAGLE-202 Fix primary key length for mysql and add mysql webservice sample configuration
Date Fri, 18 Mar 2016 10:04:37 GMT
Repository: incubator-eagle
Updated Branches:
  refs/heads/master c6b76b9d7 -> c4bdb63f8


http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/c4bdb63f/eagle-webservice/src/main/resources/application-mysql.conf
----------------------------------------------------------------------
diff --git a/eagle-webservice/src/main/resources/application-mysql.conf b/eagle-webservice/src/main/resources/application-mysql.conf
new file mode 100644
index 0000000..61a899f
--- /dev/null
+++ b/eagle-webservice/src/main/resources/application-mysql.conf
@@ -0,0 +1,28 @@
+# 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.
+
+eagle {
+	service {
+		storage-type="jdbc"
+		storage-adapter="mysql"
+		storage-username="eagle"
+		storage-password=eagle
+		storage-database=eagle
+		storage-connection-url="jdbc:mysql://localhost:3306/eagle"
+		storage-connection-props="encoding=UTF-8"
+		storage-driver-class="com.mysql.jdbc.Driver"
+		storage-connection-max=8
+	}
+}
\ No newline at end of file


Mime
View raw message