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

Update doc for unmanaged service that it can only be used in dev mode #1982

Open
wants to merge 1 commit into
base: 1.5.x
Choose a base branch
from

Conversation

SahilAggarwalG
Copy link

@SahilAggarwalG SahilAggarwalG commented Jun 6, 2019

Pull Request Checklist

  • Have you read through the contributor guidelines?
  • Have you signed the Lightbend CLA?
  • Have you added copyright headers to new files?
  • Have you updated the documentation?
  • Have you added tests for any changed functionality?

Fixes

Fixes #xxxx

Purpose

What does this PR do?

Background Context

Why did you take this approach?

References

Are there any relevant issues / PRs / mailing lists discussions?

@SahilAggarwalG SahilAggarwalG requested a review from a team as a code owner June 6, 2019 13:08
@lightbend-cla-validator
Copy link

Hi @SahilAggarwalG,

Thank you for your contribution! We really value the time you've taken to put this together.

Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:

http://www.lightbend.com/contribute/cla

@SahilAggarwalG
Copy link
Author

I did sign the CLA.

@@ -69,6 +69,8 @@ In sbt:

The above ensures that the Service Locator knows about the `weather` service. Then, if you need a Lagom service to communicate with it, simply `@Inject` the [`ServiceLocator`](api/index.html?com/lightbend/lagom/javadsl/api/ServiceLocator.html) and use it to either locate the `weather` service's URI, or perform some arbitrary work with it.

Please Note : `lagomUnmanagedServices` this only works in dev mode , for prod mode read [`lagom in production`](https://www.lagomframework.com/documentation/1.5.x/java/ProductionOverview.html)
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @SahilAggarwalG, thanks for this improvement.

The section you edited is on a page of the docs under the Dev Mode section. I understand by your edit that it wasn't clear the details on this page only applied to dev mode. If that's the case, I think the change should be more prevalent (not apply to only lagomUnmanagedServices). WDYT?

Also, please note in lagom the docs are duplicate between the java/ and the scala/ because there was just too many specific details to keep all the writeup in a single .md file for each page. I suggest we iterate your changes on the docs/manual/java/guide/devmode/ServiceLocator.md and, when ready, Id' ask you to also apply the changes to docs/manual/scala/guide/devmode/ServiceLocator.md.

Thanks!

Copy link
Author

Choose a reason for hiding this comment

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

ok i would be fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants