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

Changes to inventory structure; facilitate interchangeability of hazard resources #140

Merged
merged 1 commit into from
Aug 6, 2023

Conversation

joemoorhouse
Copy link
Collaborator

Inventory.json is now included in the project as an 'embedded' inventory providing 'hazard resources': sources of hazard indicators. This is generated by the 'test_create_inventory' test of https://github.com/os-climate/hazard (i.e. all indicator creation and generation of inventory code now in hazard). The resource schema / object is also changed to facilitate selection by the hazard model of the appropriate resource. In particular, vulnerability models will typically request based on the 'indicator_id' which identifies the nature of the hazard indicator without knowledge of the underlying model.

…rd resources.

Signed-off-by: Joe Moorhouse <joe.moorhouse@gmail.com>
@joemoorhouse joemoorhouse merged commit dfaa93f into os-climate:main Aug 6, 2023
2 checks passed
@joemoorhouse joemoorhouse deleted the inventory branch March 15, 2024 20:21
ModeSevenIndustrialSolutions pushed a commit that referenced this pull request Jun 17, 2024
…rd resources. (#140)

Signed-off-by: Joe Moorhouse <joe.moorhouse@gmail.com>
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

Successfully merging this pull request may close these issues.

1 participant