Get whitelisted URLs -json
This commit adds a json file that specifies whitelisted URLs to
be allowed access by REST server.
Change-Id: Ie9aaa6a1f9de00799e22af450c436d5e791c4b2a
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
diff --git a/common/recipes-phosphor/interfaces/phosphor-rest/url_config.json b/common/recipes-phosphor/interfaces/phosphor-rest/url_config.json
new file mode 100644
index 0000000..d11b555
--- /dev/null
+++ b/common/recipes-phosphor/interfaces/phosphor-rest/url_config.json
@@ -0,0 +1,13 @@
+{
+ "urls": [
+ "/org/openbmc/*",
+ "/xyz/openbmc_project/*",
+ "/enumerate",
+ "/list",
+ "/login",
+ "/logout",
+ "/subscribe",
+ "/upload/image",
+ "/download/dump/*"
+ ]
+}