You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myriad.apache.org by sm...@apache.org on 2015/12/10 08:13:04 UTC
[1/2] incubator-myriad git commit: Added 'destroy api' details to
Myriad REST API section
Repository: incubator-myriad
Updated Branches:
refs/heads/master 5b65ed040 -> 06f6ca48d
Added 'destroy api' details to Myriad REST API section
This closes: #50
Review: https://github.com/apache/incubator-myriad/pull/50
Project: http://git-wip-us.apache.org/repos/asf/incubator-myriad/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-myriad/commit/d1129c8e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-myriad/tree/d1129c8e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-myriad/diff/d1129c8e
Branch: refs/heads/master
Commit: d1129c8e4be1eecafc1e5e12220906f9308e9aca
Parents: 5b65ed0
Author: Sarjeet Singh <sa...@maprtech.com>
Authored: Wed Dec 9 23:11:43 2015 -0800
Committer: smarella <sm...@maprtech.com>
Committed: Wed Dec 9 23:11:43 2015 -0800
----------------------------------------------------------------------
docs/API.md | 44 ++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 42 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-myriad/blob/d1129c8e/docs/API.md
----------------------------------------------------------------------
diff --git a/docs/API.md b/docs/API.md
index c975e28..97f5d84 100644
--- a/docs/API.md
+++ b/docs/API.md
@@ -8,11 +8,11 @@ API | HTTP Method | URI | Description |
----|-------------|-----|-------------|
[Cluster](#cluster-api) | PUT | /api/cluster/flexup | Expands the cluster size |
[Cluster](#cluster-api) | PUT | /api/cluster/flexdown | Shrinks the cluster size |
-[Service](#service-api) | PUT | /api/cluster/flexservice | Increases the number of instances for a service. |
+[Service](#service-api) | PUT | /api/cluster/flexupservice | Increases the number of instances for a service. |
[Service](#service-api) | PUT | /api/cluster/flexdownservice | Shrinks the number of instances for a service. |
[Configuration](#configuration-api) | GET | /api/config | Retrieves the Myriad configuration. |
[State](#state-api) | GET | /api/state | Retrieves a snapshot of the Myriad Scheduler state. |
-
+[Framework Shutdown](#framework-api) | GET | /api/framework/shutdown/framework | Shuts down Myriad framework. |
@@ -482,6 +482,46 @@ Accept-Language: en-US,en;q=0.8
"stagingTasks": []
}
```
+
+
+## Framework API
+
+The Framework REST API uses the GET /api/framework/shutdown/framework HTTP method to shut down myriad framework which shutdown web-server after stopping myriad driver, stop/clean all myriad tasks and clean myriad state-store (if any).
+
+### HTTP Method and URI
+
+```
+GET /api/framework/shutdown/framework
+```
+
+### Syntax
+
+```
+<resource_manager_host>:8192/api/framework/shutdown/framework
+```
+
+### Request Example
+
+URL request example:
+
+```
+http://10.10.101.137:8192/api/framework/shutdown/framework
+```
+
+Curl request example:
+
+```
+curl http://10.10.101.137:8192/api/framework/shutdown/framework | python -m json.tool
+```
+
+Request header:
+
+```
+GET /api/framework/shutdown/framework HTTP/1.1
+User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
+Host: 10.10.101.137:8192
+Accept: */*
+```
---
<sub>
Licensed to the Apache Software Foundation (ASF) under one
[2/2] incubator-myriad git commit: Added 'incubating' to first
mentions of Myriad on website.
Posted by sm...@apache.org.
Added 'incubating' to first mentions of Myriad on website.
Added 'incubating' status to first mentions of Apache Myriad on the website,
per Apache branding guidelines.
This closes: #51
Review: https://github.com/apache/incubator-myriad/pull/51
Project: http://git-wip-us.apache.org/repos/asf/incubator-myriad/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-myriad/commit/06f6ca48
Tree: http://git-wip-us.apache.org/repos/asf/incubator-myriad/tree/06f6ca48
Diff: http://git-wip-us.apache.org/repos/asf/incubator-myriad/diff/06f6ca48
Branch: refs/heads/master
Commit: 06f6ca48d8901a961a05aba251a73b467f5827de
Parents: d1129c8
Author: Adam B <ad...@mesosphere.io>
Authored: Wed Dec 9 23:12:00 2015 -0800
Committer: smarella <sm...@maprtech.com>
Committed: Wed Dec 9 23:12:00 2015 -0800
----------------------------------------------------------------------
website/README.md | 2 +-
website/_config.yml | 2 +-
website/documentation/index.md | 2 +-
website/index.html | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-myriad/blob/06f6ca48/website/README.md
----------------------------------------------------------------------
diff --git a/website/README.md b/website/README.md
index c045f0c..16055bc 100644
--- a/website/README.md
+++ b/website/README.md
@@ -1,4 +1,4 @@
-# Apache Myriad Website
+# Apache Myriad (incubating) Website
This is the source for the Apache Myriad [site](http://myriad.incubator.apache.org). The site is a [Jekyll](http://jekyll.rb) blog with [Material Design Lite] (http://www.getmdl.io/) for the look and feel.
http://git-wip-us.apache.org/repos/asf/incubator-myriad/blob/06f6ca48/website/_config.yml
----------------------------------------------------------------------
diff --git a/website/_config.yml b/website/_config.yml
index fb7bc4e..f90875e 100644
--- a/website/_config.yml
+++ b/website/_config.yml
@@ -18,7 +18,7 @@
#####
# Site settings
-title: Apache Myriad
+title: Apache Myriad (incubating)
email: dev@myriad.incubator.apache.org
description: > # this means to ignore newlines until "baseurl:"
Deploy Apache YARN Applications Using Apache Mesos
http://git-wip-us.apache.org/repos/asf/incubator-myriad/blob/06f6ca48/website/documentation/index.md
----------------------------------------------------------------------
diff --git a/website/documentation/index.md b/website/documentation/index.md
index 68a16b2..08f29cf 100644
--- a/website/documentation/index.md
+++ b/website/documentation/index.md
@@ -3,7 +3,7 @@ layout: big_card_for_md
title: Documentation
permalink: /docs/
---
-#### Myriad
+#### Apache Myriad (incubating)
Myriad maintains a wiki [here.](https://cwiki.apache.org/myriad) Create an account and post to the dev list to help keep it up to date.
http://git-wip-us.apache.org/repos/asf/incubator-myriad/blob/06f6ca48/website/index.html
----------------------------------------------------------------------
diff --git a/website/index.html b/website/index.html
index 5842693..75c443e 100644
--- a/website/index.html
+++ b/website/index.html
@@ -1,6 +1,6 @@
---
layout: default
-title: Myriad
+title: Apache Myriad (incubating)
---
{% comment %}
<!--