Skip to content

Commit

Permalink
Fixed pathes in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
gsteinacker committed Feb 9, 2017
1 parent 17f73ca commit 4045d57
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 18 deletions.
1 change: 0 additions & 1 deletion examples/example-jobs/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ edison:
Bar: errorOnLastThreeJobsFailed
Foo: warningOnLastJobFailed
default: errorOnLastJobFailed
enabled: true
metrics:
slf4j:
logger: de.otto.edison.example.metrics
Expand Down
14 changes: 7 additions & 7 deletions examples/example-jobs/src/main/resources/templates/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ <h3>Example</h3>

<h3>Some Links</h3>
<ul>
<li><a href="/example/internal/status">Status Page</a></li>
<li><a href="/example/internal/health">Application Health</a></li>
<li><a href="/example/internal/metrics">Application Metrics</a></li>
<li><a href="/example/internal/jobs">Jobs</a></li>
<li><a href="/internal/status">Status Page</a></li>
<li><a href="/internal/health">Application Health</a></li>
<li><a href="/internal/metrics">Application Metrics</a></li>
<li><a href="/internal/jobs">Jobs</a></li>
</ul>

<h3>Start a long-running job</h3>
<p>The state of the job can be observed on the <a href="/example/internal/jobs">jobs</a> page.</p>
<form action="/example/internal/jobs/Foo">
<p>The state of the job can be observed on the <a href="/internal/jobs">jobs</a> page.</p>
<form action="/internal/jobs/Foo">
<button formmethod="post" type="submit">Start Foo</button>
</form>
<form action="/example/internal/jobs/Bar">
<form action="/internal/jobs/Bar">
<button formmethod="post" type="submit">Start Bar</button>
</form>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ <h3>Example</h3>

<h3>Some Links</h3>
<ul>
<li><a href="/example/internal/status">Status Page</a></li>
<li><a href="/example/internal/cacheinfos">Cache Info</a></li>
<li><a href="/example/internal/health">Application Health (JSON)</a></li>
<li><a href="/example/internal/metrics">Metrics (JSON)</a></li>
<li><a href="/internal/status">Status Page</a></li>
<li><a href="/internal/cacheinfos">Cache Info</a></li>
<li><a href="/internal/health">Application Health (JSON)</a></li>
<li><a href="/internal/metrics">Metrics (JSON)</a></li>
</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ <h3>Example</h3>

<h3>Some Links</h3>
<ul>
<li><a href="/example/internal/status">Status Page</a></li>
<li><a href="/example/internal/health">Application Health</a></li>
<li><a href="/internal/status">Status Page</a></li>
<li><a href="/internal/health">Application Health</a></li>
</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ <h3>Example</h3>

<h3>Some Links</h3>
<ul>
<li><a href="/example/internal/status">Status Page</a></li>
<li><a href="/example/internal/toggles/console/index">Feature Toggles</a></li>
<li><a href="/internal/status">Status Page</a></li>
<li><a href="/internal/toggles/console/index">Feature Toggles</a></li>
</ul>

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ <h3>Example</h3>

<h3>Some Links</h3>
<ul>
<li><a href="/example/internal/status">Status Page</a></li>
<li><a href="/example/internal/toggles/console/index">Feature Toggles</a></li>
<li><a href="/internal/status">Status Page</a></li>
<li><a href="/internal/toggles/console/index">Feature Toggles</a></li>
</ul>

</div>
Expand Down

0 comments on commit 4045d57

Please sign in to comment.