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

Support yamless start #104

Merged
merged 2 commits into from
Feb 19, 2021
Merged

Conversation

LenarBad
Copy link
Contributor

@LenarBad LenarBad commented Jan 7, 2019

Currently we can't just skip the yaml config parameter and start Stubby4j with no pre-configured stubs.

I prefer to configure stubs via HTTP and that's great that we have that possibility but I have to use a workaround to avoid creating that useless (for me) yaml config.

I have to run Stubby4j with the fake value like -d no.yaml

Yes, it complains that couldn't find the file but starts somehow.

This is a fix for that, now you can run it with no yaml config parameter

On startup you can see that it starts with no yaml config:

No YAML config provided

@codecov-io
Copy link

Codecov Report

Merging #104 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #104   +/-   ##
=======================================
  Coverage   99.19%   99.19%           
=======================================
  Files          33       33           
  Lines         997      997           
  Branches      172      172           
=======================================
  Hits          989      989           
  Misses          3        3           
  Partials        5        5

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3ab34c7...db289db. Read the comment docs.

@azagniotov
Copy link
Owner

@LenarBad Hello. Apologies, but it took me only two years to merge your PR (with minor tweaks that were needed as a result of my manual testing). I have staged version stubby4j v7.0.1 for release on Maven Central

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