Add the redfish static files to the build
...And delete the old webserver static files from the repo.
Move $metadata to a static file, as that's really where it belongs.
Change-Id: I2caeee7cd779b7c07cfc10cd693459105656671f
diff --git a/static/redfish/v1/schema/Privileges_v1.xml b/static/redfish/v1/schema/Privileges_v1.xml
new file mode 100755
index 0000000..cb31ac0
--- /dev/null
+++ b/static/redfish/v1/schema/Privileges_v1.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!---->
+<!--################################################################################ -->
+<!--# Redfish Schema: Privileges v1.0.3-->
+<!--# -->
+<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
+<!--# available at http://www.dmtf.org/standards/redfish -->
+<!--# Copyright 2014-2016 Distributed Management Task Force, Inc. (DMTF). -->
+<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
+<!--################################################################################ -->
+<!---->
+<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
+
+ <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
+ <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
+ </edmx:Reference>
+
+ <edmx:DataServices>
+
+ <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Privileges.v1_0_0">
+
+ <EnumType Name="PrivilegeType">
+ <Member Name="Login">
+ <Annotation Term="OData.Description" String="Able to log into the service and read resources."/>
+ </Member>
+ <Member Name="ConfigureManager">
+ <Annotation Term="OData.Description" String="Able to configure Manager resources."/>
+ </Member>
+ <Member Name="ConfigureUsers">
+ <Annotation Term="OData.Description" String="Able to configure Users and their Accounts."/>
+ </Member>
+ <Member Name="ConfigureSelf">
+ <Annotation Term="OData.Description" String="Able to change the password for the current user Account."/>
+ </Member>
+ <Member Name="ConfigureComponents">
+ <Annotation Term="OData.Description" String="Able to configure components managed by this service."/>
+ </Member>
+ </EnumType>
+
+ <Term Name="OemGetPrivileges" Type="Collection(Edm.String)" Nullable="false">
+ <Annotation Term="OData.Description" String="OEM Get operations privileges may be defined on a Link element to provide read privileges for the referenced resources, or on individual elements to override the privileges for that element."/>
+ </Term>
+ <Term Name="OemPostPrivileges" Type="Collection(Edm.String)" Nullable="false">
+ <Annotation Term="OData.Description" String="OEM Post privileges may be defined on a Link element to provide create privileges for the referenced resources, or on individual elements to override the privileges for that element."/>
+ </Term>
+ <Term Name="OemPatchPutPrivileges" Type="Collection(Edm.String)" Nullable="false">
+ <Annotation Term="OData.Description" String="OEM PatchPut privileges may be defined on a Link element to provide update privileges for the referenced resources, or on individual elements to override the privileges for that element."/>
+ </Term>
+ <Term Name="OemDeletePrivileges" Type="Collection(Edm.String)" Nullable="false">
+ <Annotation Term="OData.Description" String="OEM Delete privileges may be defined on a Link element to provide update privileges for the referenced resources, or on individual elements to override the privileges for that element."/>
+ </Term>
+
+ </Schema>
+
+ <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Privileges.v1_0_2">
+ <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
+ </Schema>
+
+ <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Privileges.v1_0_3">
+ <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
+ </Schema>
+
+ </edmx:DataServices>
+</edmx:Edmx>