Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validator report errors on CapabilitiesObject resource #436

Open
JojoWu19 opened this issue Nov 8, 2021 · 2 comments
Open

Validator report errors on CapabilitiesObject resource #436

JojoWu19 opened this issue Nov 8, 2021 · 2 comments

Comments

@JojoWu19
Copy link

JojoWu19 commented Nov 8, 2021

Since the CapabilitiesObject resource follows the same schema for the resource that the resource collection contains, there are some mandatory properties not in it. For example, the properties SubscriptionType andContext of EventDestination but Validator report these are errors:

/redfish/v1/EventService/Subscriptions/Capabilities
ERROR - SubscriptionType: Mandatory prop does not exist
ERROR - Context: Mandatory prop does not exist
@mraineri
Copy link
Contributor

I may need to discuss this further with others. At least with some of the usage that we've seen so far, we expected required properties to be in the capabilities resource. However, I can certainly see why having things like "Context" in there for this don't make much sense.

I suspect we will likely need to make an exception to skip this check on these resources.

@JojoWu19
Copy link
Author

Get it, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants