Comments (5)
This sounds perfectly reasonable, I actually just encountered this just before this issue was posted, as my setup used ServiceMode but had no hard drive schema to fall back to in the scenario you just described.
In terms of the current implementation, it should be an easy fix.
from redfish-service-validator.
As an aside though, metadata doesn't normally describe every single necessary reference for the server... by default it only references the resources that are able to be GET. Am I mistaken?
This would be an issue for some Thermal items I believe, off the top of my head I cannot place what specifically.
from redfish-service-validator.
No in previous discussions it was confirmed that $metadata has to supply Uri for schema defining every type actually used or Validator should throw an error. Reference to a type in included Schema, without definition in any Schema file in $metadata, but never used in JSON should be a warning event as this is not actually fatal to client.
Myself I think the Uri inside the Schema files are a feature of Odata that Redfish does not really embrace fully. And these internal-to-schema reference Uri cause more trouble than benefit.
What should Validator do if the Uri inside a schema points to a file with xml content different from the Uri to the same name at $metadata ? This is currently allowed and can lead to very odd inconsistent behavior and tough bugs.
But that is just my opinion.
from redfish-service-validator.
That is true, I've noticed differences between two different XML files that could cause issues. I will address this for Thursday.
from redfish-service-validator.
PR merged
from redfish-service-validator.
Related Issues (20)
- About the error respond "not match object IDs of resource chain" HOT 2
- Unclear how to pass new URI test for LDAP/Ceritifcates HOT 3
- False error for null HttpHeaders in EventDestination again
- Error: URI does not match object IDs of resource chain with Oem HOT 7
- False positives for URI checking on public-rackmount1 mockup HOT 2
- OperatingConfigs error when coming under Processor of NetworkAdapters HOT 5
- ComputerSystem MemorySummary/MemoryMetrics does not match object ID of resource HOT 4
- About checking Settings resource URI HOT 2
- URI checks flag false errors with @Redfish.Settings resources HOT 2
- Version check for deprecated HOT 10
- About new payload annotations key errors HOT 9
- Oem action is not checked
- Add enforcement of null for properties marked as write-only
- Default Oem property not shown in the Redfish Validator tool HOT 1
- Binary exits with exit code 1 when validation succeeds HOT 1
- Default Oem Property Response Not Shown in Redfish-Service-Validator HOT 4
- The test was not completed but got stuck. HOT 11
- Redfish Service Validator issue related to CollectionCapabilites.
- Could not finish check because Policy HOT 4
- Redfish Service Validator issue related to Oem Schema HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redfish-service-validator.