chore: add operational metadata now.yaml file #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
As a part of DTC-wide effort to improve and assign the operational metadata for GitHub repositories, we are launching this program which will help map GitHub repositories back to their omd_service and omd_microservice. This will enable us to link it back to its owner and provide other details.
In the near future, the data model used in the now.yaml will be reflected in ServiceNow. ServiceNow will receive webhook events once the yaml file is changed via a commit and will process the new file if it is committed in the main or master branch. Once this sync is enabled, ServiceNow will check if the values defined in the file are present in the CMDB - if they are not, the update is rejected and a notification will be triggered.
Henceforth teams would be able to establish a trustworthy and always up-to-date understanding of our technology ecosystem.
Please reach out in #proj-gpso-omd for any help or questions.
Required Updates
The
now.yaml
file that is being added in this pull-request is only a template. The team reviewing this pull-request needs to update the YAML file following these steps.now-yaml
branch to edit thenow.yaml
file and directory names for multi-service repos.now.yaml
file needs to be updated..omd
with thenow.yaml
file in it. (see below for example directory structure)now.yaml
file'somd_service.name
properties with the repo service name(s).omd_microservice.name
with the name of the microservice. The microservice name should be unique within an application.omd_microservice.designated_dependencies
property with the list.Example now.yaml
With dependant microservices
Without dependant microservices
Example Multi-Service Directory Structure
Example of a repo that represents 3 services