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

Document properties in FluoConfiguration javadoc #900

Closed
keith-turner opened this issue Aug 4, 2017 · 13 comments
Closed

Document properties in FluoConfiguration javadoc #900

keith-turner opened this issue Aug 4, 2017 · 13 comments
Milestone

Comments

@keith-turner
Copy link
Contributor

keith-turner commented Aug 4, 2017

In #899 I added the following methods to FluoConfiguration. Would be nice to add the info about the property being set or got to all getters and setters in FluoConfiguration. Specifically, adding something like Gets/Sets the value of the property {@value #CONNECTION_ZOOKEEPER_SECRET} for each method would be very useful.

  /**
   * Get the secret configured to access data in zookeeper. If the secret is an empty string, then
   * nothing in zookeeper is locked down.
   *
   * <p>
   * Gets the value of the property {@value #CONNECTION_ZOOKEEPER_SECRET}
   *
   * @since 1.2.0
   */
  public String getZookeeperSecret() {
    return getString(CONNECTION_ZOOKEEPER_SECRET, "");
  }

  /**
   * Setting this before initializing an application will cause Fluo to lock down Zookeeper such
   * that this secret is required to read data from zookeeper. If set to an empty string, then
   * nothing in zookeeper will be locked down. This property defaults to an empty string.
   *
   * <p>
   * Sets the value of the property {@value #CONNECTION_ZOOKEEPER_SECRET}
   *
   * @since 1.2.0
   */
  public void setZookeeperSecret(String secret) {
    setProperty(CONNECTION_ZOOKEEPER_SECRET, verifyNotNull(CONNECTION_ZOOKEEPER_SECRET, secret));
  }
@keith-turner
Copy link
Contributor Author

I added this task to https://helpwanted.apache.org

@kennethmcfarland
Copy link
Contributor

That's where I found it. I'd like to pick up this task if if that's alright.

@mikewalch
Copy link
Member

Thanks @kpm1985!

@keith-turner
Copy link
Contributor Author

I'd like to pick up this task if if that's alright.

That would be great @kpm1985 I will assign the task to you. Let us know if you have any questions. Below are the commands to build the javadoc.

# build javadoc
mvn clean package javadoc:javadoc -DskipTests
# open javadoc w/ browswer and look at FluoConfiguration
firefox modules/api/target/site/apidocs/index.html

@keith-turner
Copy link
Contributor Author

@kpm1985 I will assign the task to you

@kpm1985 Github is not allowing me to assign the issue to you, however its all yours.

@kennethmcfarland
Copy link
Contributor

Sorry, it could have been because I hadn't forked yet, not sure, but thank you for the opportunity. I'm looking forward to having fun and finishing this before I resume school.

@kennethmcfarland
Copy link
Contributor

This is still a work in progress, but it would be appreciated if you could give a quick review to make sure I'm not over/under documenting anything so far. I plan on finishing this up tomorrow, and making the suggested changes as soon as I get them :)

https://github.com/kpm1985/fluo/blob/fluo-900/modules/api/src/main/java/org/apache/fluo/api/config/FluoConfiguration.java

@keith-turner
Copy link
Contributor Author

@kpm1985 I opened kpm1985/fluo#1 and made some comments.

@keith-turner
Copy link
Contributor Author

@kpm1985 are you still working in this? Do you need any assistance?

@kennethmcfarland
Copy link
Contributor

kennethmcfarland commented Sep 13, 2017 via email

@stippireddy
Copy link

@keith-turner : Looks like this issue is still pending. I can pick it up.

@keith-turner
Copy link
Contributor Author

@stippireddy that would be great

@keith-turner
Copy link
Contributor Author

@stippireddy there is a PR for this issue now #928

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

No branches or pull requests

4 participants