Add full index support to static files loader
... and remove file spcific check for redfish $metadata. This allows
the $metadata to be pre-gzip compressed if we choose.
Change-Id: I697bd7f8a8f5dc1a7b448d699b2daf93a296c248
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
diff --git a/static/redfish/v1/$metadata b/static/redfish/v1/$metadata/index.xml
similarity index 98%
rename from static/redfish/v1/$metadata
rename to static/redfish/v1/$metadata/index.xml
index f9c9a56..252d3af 100644
--- a/static/redfish/v1/$metadata
+++ b/static/redfish/v1/$metadata/index.xml
@@ -226,20 +226,20 @@
</edmx:Reference>
<edmx:Reference Uri="/redfish/v1/schema/EventDestinationCollection_v1.xml">
<edmx:Include Namespace="EventDestinationCollection"/>
- </edmx:Reference>
+ </edmx:Reference>
<edmx:Reference Uri="/redfish/v1/schema/EventDestination_v1.xml">
<edmx:Include Namespace="EventDestination"/>
<edmx:Include Namespace="EventDestination.v1_0_3"/>
<edmx:Include Namespace="EventDestination.v1_1_1"/>
- </edmx:Reference>
+ </edmx:Reference>
<edmx:Reference Uri="/redfish/v1/schema/Event_v1.xml">
<edmx:Include Namespace="Event"/>
<edmx:Include Namespace="Event.v1_0_4"/>
<edmx:Include Namespace="Event.v1_1_2"/>
- </edmx:Reference>
+ </edmx:Reference>
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Service">
<EntityContainer Name="Service" Extends="ServiceRoot.v1_0_0.ServiceContainer"/>
</Schema>
</edmx:DataServices>
-</edmx:Edmx>)
\ No newline at end of file
+</edmx:Edmx>
\ No newline at end of file