Comments (11)
This error message is a bit vague and doesn't tell the user that this is an Exception error, this error is a result of the XML file used for this resource is missing a reference for Resource.v1_0_0. I'm not sure if the log provides that info but if you can look at the other comment first it might resolve this.
from redfish-service-validator.
from redfish-service-validator.
in the linked XML, the Resource reference is actually
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
<edmx:Include Namespace="Resource"/>
<edmx:Include Namespace="Resource.v1_0_0"/>
</edmx:Reference>
But in the metadata from the other post, you are correct, that is shown above. Seems that the problem is that the program is using the $metadata response to determine inheritance when it's supposed to be using the xml of EthernetInterfaces, which is linked in the references. I can't seem to find the area where the key error actually happens.
from redfish-service-validator.
from redfish-service-validator.
Personally I wouldn't recommend making changes to please the tool, your $metadata seems appropriate. In fact, the service I currently test against does not have Resource on its $metadata.
I'm a little under the weather right now, so I apologize if the code comes slow.
from redfish-service-validator.
A new branch has been made, test it if you please.
from redfish-service-validator.
from redfish-service-validator.
Thank a ton for the feedback, it helps plenty. I've been talking with others about how the output and responses to certain types of errors should be, it's improved quite a bit and I'll try to get something more easily digestible by this Thursday.
Much like the References XML problem from the last iteration of the program before the pull request, it's an honest mistake to expect no mechanical errors with some of these inputs. Would you be able to respond with the odata typos in question?
from redfish-service-validator.
from redfish-service-validator.
I think both @odata.type
and @odata.context
need to have some level of agreement, otherwise I don't see how a client could sanely decode the payload.
But I agree; it would be better for the tool to detect the condition, print it, and exit with an error gracefully rather than just throw an exception.
from redfish-service-validator.
Problem was in test system
from redfish-service-validator.
Related Issues (20)
- Redfish Service Validator is not checking or navigating the properties of a OEM schema when basetype is Resource.OemObject HOT 3
- Service Validator throws "Connection aborted" Error HOT 4
- error about "is expected to be an object containing @odata.id" HOT 4
- SelfSignedCerts.md out of date.
- Configurable timeout option
- Improve callResourceUri caching
- Current collectionlimit option does not consider validateEntity function
- Should OEM actions schema checker look in /redfish/v1/JsonSchemas? HOT 5
- Now seeing "No schema for property AssignedPrivileges" and others HOT 5
- Verification of MessageId on log service HOT 5
- The default schema pack is lost HOT 3
- Validating a collection HOT 3
- DSP2043 validation HOT 2
- Add config file parameter documentation to README
- Add fuzzy string matching for identifying misspelled properties. HOT 3
- Incorrect DataSourceUri of FanSpeedsPercent collection in EnvironmentMetrics not caught HOT 3
- Redfish Validator now flags link to Assembly HOT 4
- Redfish-Service-Validator didn't verify oem uri with oem schema HOT 4
- The `collectionlimit` functionality does not work as expected
- Service Validator does not verify Excerpt objects against non-excerpt object HOT 1
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.