Comments (9)
The tool by default escapes # as %23, and I've had mixed messages about this.
It is true, normally a pound sign signifies a fragment, it is not sent over http. However, for Odata and Redfish, /redfish/v1/$metadata#ServiceRoot.ServiceRoot
is technically a unique URI, that returns that specific Schema document, via @odata.context.
Now in the case of Thermal, some Collections have @odata.id entries and the schema has defined ContainsTarget=True, which means it has the whole Entity in the payload itself. I've gathering info from others to determine whether or not the pound sign in these collections is also expected to give a response like above; however, it seems that we've come to the conclusion that whether or not this info is available, it might as well be handled in memory.
from redfish-service-validator.
Spec seems pretty clear - last paragraph of 6.1.1 (just before 6.1.2)
The # and following text are a frag and ignored by the server.
So in a https get of /redfish/v1/$metadata#ServiceRoot.ServiceRoot service would return entire $metadata contents. Following the ServiceRoot.ServiceRoot would be responsibility of the client, searching inside of the returned (entire) metatdata
from redfish-service-validator.
There is a fix going to be pushed for elements in AutoExpand annotated NavigationProperties, which includes Temperatures. And currently, the $metadata grabbing is designed around that principle as well.
from redfish-service-validator.
Thanks for the fix. Will try. Should help performance. I think this is analogous - If I use IE or Chrome to fetch an Internet page with #frag clause in URI, I get the whole page back from the server. Then the browser searches the buffer for the tag extracted from frag and positions the window according to its own rules. So the frag is something that is ignored by the server and only makes sense to the client.
from redfish-service-validator.
Sorry, that was my understanding initially, but based on several sources I got a conflicted understanding, based on the original tool and service implementations.
from redfish-service-validator.
Is there enough confusion we need to add a issue for the Interop task force meeting?
from redfish-service-validator.
You might want to mention it to Mike Rainier, I talked to him about it.
from redfish-service-validator.
issue entered re redfish frags
for now, tool should not read URIs that are the same when ignoring the frag
from redfish-service-validator.
fixed
from redfish-service-validator.
Related Issues (20)
- 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
- "Tree" usage for testing every links HOT 2
- 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
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.