diff options
author | Nagaraju Goruganti <ngorugan@in.ibm.com> | 2018-06-01 08:39:17 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2018-07-18 22:55:19 +0300 |
commit | 1f988d51c1fc76768fd6447ad237c273609b06a3 (patch) | |
tree | aa7e7e5b8e19694848f1e22b7029c1c648ea95ff /meta-openbmc-machines | |
parent | b04fcb28684a7657d4f393091972a55841515c72 (diff) | |
download | openbmc-1f988d51c1fc76768fd6447ad237c273609b06a3.tar.xz |
Get whitelisted URLs - openpower json
This commit adds a json file that specifies whitelisted URLs to be
allowed access by REST server for openpower layer.
Change-Id: I14b1c40db87c7806a86e34b0b7ca12c2bcd20635
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
Diffstat (limited to 'meta-openbmc-machines')
2 files changed, 15 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/interfaces/phosphor-rest.bbappend b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/interfaces/phosphor-rest.bbappend new file mode 100644 index 0000000000..72d991c7e5 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/interfaces/phosphor-rest.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/interfaces/phosphor-rest/url_config.json b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/interfaces/phosphor-rest/url_config.json new file mode 100644 index 0000000000..9d955f22fa --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/interfaces/phosphor-rest/url_config.json @@ -0,0 +1,14 @@ +{ + "urls": [ + "/org/openbmc/*", + "/org/open_power/*", + "/xyz/openbmc_project/*", + "/enumerate", + "/list", + "/login", + "/logout", + "/subscribe", + "/upload/image", + "/download/dump/*" + ] +} |