Giter Site home page Giter Site logo

Comments (9)

tomasg2012 avatar tomasg2012 commented on July 22, 2024

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.

jbobzin-insyde avatar jbobzin-insyde commented on July 22, 2024

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.

tomasg2012 avatar tomasg2012 commented on July 22, 2024

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.

jbobzin-insyde avatar jbobzin-insyde commented on July 22, 2024

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.

tomasg2012 avatar tomasg2012 commented on July 22, 2024

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.

jbobzin-insyde avatar jbobzin-insyde commented on July 22, 2024

Is there enough confusion we need to add a issue for the Interop task force meeting?

from redfish-service-validator.

tomasg2012 avatar tomasg2012 commented on July 22, 2024

You might want to mention it to Mike Rainier, I talked to him about it.

from redfish-service-validator.

pwvancil avatar pwvancil commented on July 22, 2024

issue entered re redfish frags
for now, tool should not read URIs that are the same when ignoring the frag

from redfish-service-validator.

jbobzin-insyde avatar jbobzin-insyde commented on July 22, 2024

fixed

from redfish-service-validator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.