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

New YAML Validation code structure #449

Merged

Conversation

brandonh-msft
Copy link
Contributor

Fixes #445

Utilizing the same approach as with deserialization, Validators can now be added by modifying one switch statement of a Factory and adding only new files to the codebase.

🎉

@promitor-bot
Copy link

Docker image for this PR was built and is available on Docker Hub.

You can pull it locally via the CLI:

docker pull tomkerkhove/promitor-agent-scraper-ci:pr449

Want to verify the new version? Run it locally:

docker run -d -p 8999:80 --name promitor-scraper-pr449 \
                         --env PROMITOR_AUTH_APPID='<azure-ad-app-id>' \
                         --env PROMITOR_AUTH_APPKEY='<azure-ad-app-key>' \
                         --volume C:/Promitor/metrics-declaration.yaml:/config/metrics-declaration.yaml \
                         tomkerkhove/promitor-agent-scraper-ci:pr449

Copy link
Owner

@tomkerkhove tomkerkhove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, some minor suggestions

adding-a-new-scraper.md Outdated Show resolved Hide resolved
@brandonh-msft brandonh-msft force-pushed the brandonh/feature/yaml-validation branch from c6a1787 to c416d0e Compare March 26, 2019 20:10
@brandonh-msft brandonh-msft force-pushed the brandonh/feature/yaml-validation branch from c416d0e to e970cdd Compare March 26, 2019 20:12
@promitor-bot
Copy link

Docker image for this PR was built and is available on Docker Hub.

You can pull it locally via the CLI:

docker pull tomkerkhove/promitor-agent-scraper-ci:pr449

Want to verify the new version? Run it locally:

docker run -d -p 8999:80 --name promitor-scraper-pr449 \
                         --env PROMITOR_AUTH_APPID='<azure-ad-app-id>' \
                         --env PROMITOR_AUTH_APPKEY='<azure-ad-app-key>' \
                         --volume C:/Promitor/metrics-declaration.yaml:/config/metrics-declaration.yaml \
                         tomkerkhove/promitor-agent-scraper-ci:pr449

@tomkerkhove tomkerkhove merged commit 32c1143 into tomkerkhove:master Mar 26, 2019
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.

3 participants