Git Product home page Git Product logo

Comments (2)

billdodd avatar billdodd commented on June 27, 2024

Yes, it doesn't look like the code in Assertion_6_5_8() is doing the right thing. For one thing, I don't think this if statement is doing what was intended (txt_files is the list of all schemas from redfish.dmtf.org and list1 is the list of schemas referenced by the resources on the service):

    if list1 in txt_files:
         assertion_status = log.PASS
    else :
        assertion_status = log.FAIL

It should be using set() operations for the test instead.

But before debugging it further, it seems like this assertion is already better covered by the service-validator, so maybe it is better just to disable it here?

from redfish-service-conformance-check.

billdodd avatar billdodd commented on June 27, 2024

For reference, here is the spec requirement that Assertion_6_5_8() is supposed to be testing:

6.5.3.1.1. Referencing other schemas

The service metadata shall include the namespaces for each of the Redfish resource types, along with the "RedfishExtensions.v1_0_0" namespace. These references may use the standard URI for the hosted Redfish Schema definitions (i.e., on http://redfish.dmtf.org/schemas) or a URI to a local version of the Redfish Schema that shall be identical to the hosted version.

from redfish-service-conformance-check.

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.