This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). # Fixed URLs ## Fixed Success These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * [ ] http://www.apache.org/licenses/ with 16 occurrences migrated to: https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200). * [ ] http://www.apache.org/licenses/LICENSE-2.0 with 311 occurrences migrated to: https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200). * [ ] http://www.apache.org/licenses/LICENSE-2.0.html with 7 occurrences migrated to: https://www.apache.org/licenses/LICENSE-2.0.html ([https](https://www.apache.org/licenses/LICENSE-2.0.html) result 200). * [ ] http://www.apache.org/licenses/LICENSE-2.0.txt with 424 occurrences migrated to: https://www.apache.org/licenses/LICENSE-2.0.txt ([https](https://www.apache.org/licenses/LICENSE-2.0.txt) result 200).
39 lines
2.9 KiB
HTML
39 lines
2.9 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>LocalStubRunner.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Spring Cloud Contract Maven Plugin</a> > <a href="index.source.html" class="el_package">org.springframework.cloud.contract.maven.verifier.stubrunner</a> > <span class="el_source">LocalStubRunner.java</span></div><h1>LocalStubRunner.java</h1><pre class="source lang-java linenums">/*
|
|
* Copyright 2013-2016 the original author or authors.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* https://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
package org.springframework.cloud.contract.maven.verifier.stubrunner;
|
|
|
|
import java.lang.invoke.MethodHandles;
|
|
import javax.inject.Named;
|
|
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
import org.springframework.cloud.contract.stubrunner.StubConfiguration;
|
|
import org.springframework.cloud.contract.stubrunner.StubRunner;
|
|
import org.springframework.cloud.contract.stubrunner.StubRunnerOptions;
|
|
|
|
@Named
|
|
<span class="nc" id="L28">public class LocalStubRunner {</span>
|
|
<span class="nc" id="L29"> private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());</span>
|
|
|
|
public StubRunner run(final String contractsDir, StubRunnerOptions options) {
|
|
<span class="nc" id="L32"> log.info("Launching StubRunner with contracts from " + contractsDir);</span>
|
|
<span class="nc" id="L33"> StubRunner stubRunner = new StubRunner(options, contractsDir,</span>
|
|
new StubConfiguration(contractsDir));
|
|
<span class="nc" id="L35"> stubRunner.runStubs();</span>
|
|
<span class="nc" id="L36"> return stubRunner;</span>
|
|
}
|
|
}
|
|
</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.4.201502262128</span></div></body></html> |