diff options
author | Nagaraju Goruganti <ngorugan@in.ibm.com> | 2018-06-01 08:47:37 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2018-07-18 22:55:19 +0300 |
commit | e7922333967a65210f3568840a28011c195c566e (patch) | |
tree | 840aec43b9e261c013992d9359b2771275044445 /meta-openbmc-machines | |
parent | 1f988d51c1fc76768fd6447ad237c273609b06a3 (diff) | |
download | openbmc-e7922333967a65210f3568840a28011c195c566e.tar.xz |
Get whitelisted URLs - witherspoon json
This commit adds witherspoon specific json file that specifies
whitelisted URLs to be allowed access by REST server.
Change-Id: Iaa9c77a38ac60748df8d819191596c17c635a18a
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/meta-ibm/meta-witherspoon/recipes-phosphor/interfaces/phosphor-rest.bbappend b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/interfaces/phosphor-rest.bbappend new file mode 100644 index 0000000000..72d991c7e5 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/interfaces/phosphor-rest.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/interfaces/phosphor-rest/url_config.json b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/interfaces/phosphor-rest/url_config.json new file mode 100644 index 0000000000..46a4d02b4b --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/interfaces/phosphor-rest/url_config.json @@ -0,0 +1,14 @@ +{ + "urls": [ + "/org/open_power/*", + "/com/ibm/*", + "/xyz/openbmc_project/*", + "/enumerate", + "/list", + "/login", + "/logout", + "/subscribe", + "/upload/image", + "/download/dump/*" + ] +} |