You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by lu...@apache.org on 2015/07/15 08:44:29 UTC
[21/43] incubator-kylin git commit: KYLIN-884 re-structure website,
using new menu, move to root dir
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/ef56d6bd/docs/website/_layouts/page.html
----------------------------------------------------------------------
diff --git a/docs/website/_layouts/page.html b/docs/website/_layouts/page.html
deleted file mode 100644
index 9b38fb8..0000000
--- a/docs/website/_layouts/page.html
+++ /dev/null
@@ -1,33 +0,0 @@
----
-layout: default
----
-
-<!--
-* 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.
--->
-
-<div class="post">
-
- <header class="post-header">
- <h1 class="post-title">{{ page.title }}</h1>
- </header>
-
- <article class="post-content">
- {{ content }}
- </article>
-
-</div>
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/ef56d6bd/docs/website/_layouts/post-blog.html
----------------------------------------------------------------------
diff --git a/docs/website/_layouts/post-blog.html b/docs/website/_layouts/post-blog.html
deleted file mode 100644
index 6e311ec..0000000
--- a/docs/website/_layouts/post-blog.html
+++ /dev/null
@@ -1,38 +0,0 @@
----
-layout: blog
----
-
-<!--
-* 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.
--->
-
-<div class="post" style=" padding:2em 4em 4em 4em">
-
- <header class="post-header">
- <h1 class="post-title">{{ page.title }}</h1>
- <p class="post-meta" >{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
- </header>
-
- <article class="post-content" >
- {{ content }}
- </article>
-
-</div>
-
-
-
-
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/ef56d6bd/docs/website/_layouts/post-cn.html
----------------------------------------------------------------------
diff --git a/docs/website/_layouts/post-cn.html b/docs/website/_layouts/post-cn.html
deleted file mode 100644
index cba1250..0000000
--- a/docs/website/_layouts/post-cn.html
+++ /dev/null
@@ -1,38 +0,0 @@
----
-layout: docs-cn
----
-
-<!--
-* 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.
--->
-
-<div class="post" style=" padding:1.5em 4em 4em 4em">
-
- <header class="post-header">
- <h1 class="post-title">{{ page.title }}</h1>
- <p class="post-meta" >{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
- </header>
-
- <article class="post-content" >
- {{ content }}
- </article>
-
-</div>
-
-
-
-
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/ef56d6bd/docs/website/_layouts/post.html
----------------------------------------------------------------------
diff --git a/docs/website/_layouts/post.html b/docs/website/_layouts/post.html
deleted file mode 100644
index 19732c9..0000000
--- a/docs/website/_layouts/post.html
+++ /dev/null
@@ -1,38 +0,0 @@
----
-layout: docs
----
-
-<!--
-* 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.
--->
-
-<div class="post" style=" padding:1.5em 4em 4em 4em">
-
- <header class="post-header">
- <h1 class="post-title">{{ page.title }}</h1>
- <p class="post-meta" >{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
- </header>
-
- <article class="post-content" >
- {{ content }}
- </article>
-
-</div>
-
-
-
-
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/ef56d6bd/docs/website/_posts/API/2014-12-31-Build-Cube-with-Restful-API.md
----------------------------------------------------------------------
diff --git a/docs/website/_posts/API/2014-12-31-Build-Cube-with-Restful-API.md b/docs/website/_posts/API/2014-12-31-Build-Cube-with-Restful-API.md
deleted file mode 100644
index 594f3aa..0000000
--- a/docs/website/_posts/API/2014-12-31-Build-Cube-with-Restful-API.md
+++ /dev/null
@@ -1,55 +0,0 @@
----
-layout: post
-title: "Build Cube with Restful API"
-categories: api
----
-
-### 1. Authentication
-* Currently, Kylin uses [basic authentication](http://en.wikipedia.org/wiki/Basic_access_authentication).
-* Add `Authorization` header to first request for authentication
-* Or you can do a specific request by `POST http://localhost:7070/kylin/api/user/authentication`
-* Once authenticated, client can go subsequent requests with cookies.
-* Example
-{% highlight Groff markup %}
- POST http://localhost:7070/kylin/api/user/authentication
-
- Authorization:Basic xxxxJD124xxxGFxxxSDF
- Content-Type: application/json;charset=UTF-8
-{% endhighlight %}
-
-### 2. Get details of cube.
-* `GET http://localhost:7070/kylin/api/cubes?cubeName={cube_name}&limit=15&offset=0`
-* Client can find cube segment date ranges in returned cube detail.
-* Example
-{% highlight Groff markup %}
- GET http://localhost:7070/kylin/api/cubes?cubeName=test_kylin_cube_with_slr&limit=15&offset=0
-
- Authorization:Basic xxxxJD124xxxGFxxxSDF
- Content-Type: application/json;charset=UTF-8
-{% endhighlight %}
-### 3. Then submit a build job of the cube.
-* `PUT http://localhost:7070/kylin/api/cubes/{cube_name}/rebuild`
-* For put request body detail please refer to [service doc](https://github.com/KylinOLAP/Kylin/wiki/Restful-Service-Doc).
- * `startTime` and `endTime` should be utc timestamp.
- * `buildType` can be `BUILD` or `MERGE`. `BUILD` is for building a new segment or refreshing an existing segment. `MERGE` is for merging multiple existing segments into one bigger segment.
-* This method will return a newly created job instance, in which the uuid is the identity of job to track job status.
-* Example
-{% highlight Groff markup %}
- PUT http://localhost:7070/kylin/api/cubes/test_kylin_cube_with_slr/rebuild
-
- Authorization:Basic xxxxJD124xxxGFxxxSDF
- Content-Type: application/json;charset=UTF-8
-
- {
- "startTime": 0,
- "endTime": 1388563200000,
- "buildType": "BUILD"
- }
-{% endhighlight %}
-
-### 4. Track job status.
-* `GET http://localhost:7070/kylin/api/jobs/{job_uuid}`
-* Returned `job_status` represents current status of job.
-
-### 5. If the job failed, you can resume the job.
-* `PUT http://localhost:7070/kylin/api/jobs/{job_uuid}/resume`