Project to model the Cloud Computing taxonomy in a graph representation using yaml-graph definitions.
The data model used for this is as follows:
The following reports are automatically generated from these definitions:
- table of services from each provider broken down by capability, category and subcategory
- service by provider in JSON format
- categories and subcategories by capability in JSON format
- service providers in JSON format
- service tenancies in JSON format
- 3d visualisation of cloud taxonomy
First, follow the installation instructions to build yaml-graph
.
Once this is complete, at the root of the cloud-taxonomy
repository execute the following to create a yaml-graph
container:
docker run -it -p7474:7474 -p7687:7687 -v $(PWD)/definition:/home/ymlgraph/definition -v $(PWD)/report:/home/ymlgraph/report nextmetaphor/yaml-graph
All of the following commands should be executed from within the yaml-graph
container.
yaml-graph validate -f definition/definition-format.yml
yaml-graph load
Once this is complete, the graph can be examined in the local browser at http://localhost:7474/browser/ using the following cypher:
match (n) return n
yaml-graph report -f report/template-format.yaml -t report/output-template.gohtml > report/cloud-taxonomy.html
yaml-graph validate -f definition/definition-format.yml && yaml-graph report --load -f report/table-report/fields.yaml -t report/table-report/template.gohtml > report/table-report/table-report.html
yaml-graph report -f report/ServiceByProviderJSON/fields.yaml -t report/ServiceByProviderJSON/template.gohtml > report/ServiceByProviderJSON/document.json
# ServiceProvider
yaml-graph report -f report/ServiceProviderJSON/fields.yaml -t report/ServiceProviderJSON/template.gohtml > report/ServiceProviderJSON/document.json
# ServiceTenancy
yaml-graph report -f report/ServiceTenancyJSON/fields.yaml -t report/ServiceTenancyJSON/template.gohtml > report/ServiceTenancyJSON/document.json
# ServiceCapability
yaml-graph report -f report/ServiceCapabilityJSON/fields.yaml -t report/ServiceCapabilityJSON/template.gohtml > report/ServiceCapabilityJSON/document.json
# ServiceByCapabilityJSON
yaml-graph report -f report/ServiceByCapabilityJSON/fields.yaml -t report/ServiceByCapabilityJSON/template.gohtml > report/ServiceByCapabilityJSON/document.json
This project is licenced under the terms of the Apache 2.0 License licence.