SEBA-902 mock testing of redfish importer;
Remove hardcoded addresses and replace with config file / cmdline;
Support hostnames in importer as alternative to ip addresses;
Treat response 204 as success
Change-Id: I17e8e585e388c501c02867ce952bbe1fa9b09668
diff --git a/mock-redfish-server/mockup/redfish/v1/Registries/1/index.json b/mock-redfish-server/mockup/redfish/v1/Registries/1/index.json
new file mode 100644
index 0000000..0138832
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/Registries/1/index.json
@@ -0,0 +1,19 @@
+{
+ "Languages": [
+ "en"
+ ],
+ "Registry": "Base.1.0",
+ "@odata.type": "#MessageRegistryFile.v1_0_0.MessageRegistryFile",
+ "Name": "Base Message Registry File",
+ "@odata.context": "/redfish/v1/$metadata#MessageRegistryFile.MessageRegistryFile",
+ "Id": "1",
+ "Location": [
+ {
+ "Language": "en",
+ "PublicationUri": "https://www.dmtf.org/sites/default/files/standards/documents/DSP8011_1.0.0a.json"
+ }
+ ],
+ "Description": "Base Message Registry File locations",
+ "@odata.id": "/redfish/v1/Registries/1",
+ "Oem": {}
+}
\ No newline at end of file