GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Clean up Monitoring V3 sample. · Issue #118 · GoogleCloudPlatform/java-docs-samples

Clean up Monitoring V3 sample. #118

New issue
Copy link
New issue
Copy link
Closed
Closed
Clean up Monitoring V3 sample.#118
Copy link
Assignees
waprin
Labels
🚨This issue needs some love.triage meI really want to be triaged.

Description

@tswast
tswast
opened on Mar 16, 2016
Issue body actions

Some minor edits needed for javadocs, also using Truth for some of the assertions would really help in the tests. See PR #116.

  • checkstyle needs to pass on the test classes. Fixed by Fix checkstyle in monitoring v3 sample. #122.
  • use Truth for assertions in tests. Fixed by Fix checkstyle in monitoring v3 sample. #122.
  • enable tests by default, so that they run in Travis. (Depends on whitelisting the cloud-samples-tests project.)
  • adjust line breaks to follow "the rectangle rule".
  • <p> tags in recommended line in javadocs.
  • make license headers regular comment, not javadocs.

Activity

  1. waprin
    self-assigned this
    on Mar 16, 2016
  2. waprin commented on Mar 16, 2016

    @waprin
    waprin
    on Mar 16, 2016
    Contributor
    More actions

    Will circle back to this as soon as get through launch craziness.

  3. tswast commented on Mar 16, 2016

    @tswast
    tswast
    on Mar 16, 2016
    ContributorAuthor
    More actions

    Some test classes are currently failing checkstyle checks.

    [INFO] --- maven-checkstyle-plugin:2.17:check (default) @ cloud-monitoring-v3-samples ---
    [INFO] Starting audit...
    /home/travis/build/GoogleCloudPlatform/java-docs-samples/monitoring/v3/src/test/java/CreateCustomMetricTest.java:19: error: 'org.apache.commons.lang3.RandomStringUtils' should be separated from previous import group.
    /home/travis/build/GoogleCloudPlatform/java-docs-samples/monitoring/v3/src/test/java/CreateCustomMetricTest.java:53: error: At-clause should have a non-empty description.
    /home/travis/build/GoogleCloudPlatform/java-docs-samples/monitoring/v3/src/test/java/CreateCustomMetricTest.java:66: error: At-clause should have a non-empty description.
    /home/travis/build/GoogleCloudPlatform/java-docs-samples/monitoring/v3/src/test/java/ListResourcesTest.java:19: error: 'junit.framework.Assert' should be separated from previous import group.
    Audit done.
    

    https://travis-ci.org/GoogleCloudPlatform/java-docs-samples/builds/116512174

    I had planned to enable this check (applying checkstyles to test classes) in PR #115.

  4. tswast
    changed the title [-]Clean up formatting issues in Monitoring V3 sample.[/-] [+]Clean up Monitoring V3 sample.[/+] on Mar 17, 2016
  5. tswast
    closed this as completedon Mar 31, 2016
  6. yoshi-automation
    added
    🚨This issue needs some love.
    triage meI really want to be triaged.
    on Apr 6, 2020
  7. charlieyu1996
    added a commit that references this issue on Nov 10, 2022

    chore(deps): update dependency com.google.cloud.samples:shared-config…

    f4f4e72
  8. Shabirmean
    added 2 commits that reference this issue on Nov 11, 2022

    chore(deps): update dependency com.google.cloud:google-cloud-contact-…

    23af50d

    chore(deps): update dependency com.google.cloud:google-cloud-contact-…

    fa05458
  9. anguillanneuf
    added a commit that references this issue on Nov 15, 2022

    chore(deps): update dependency com.google.cloud:libraries-bom to v4.4…

    97ccbf0
  10. minherz
    added a commit that references this issue on Nov 16, 2022

    chore: updated grpc code output (#118)

    e7f84f8
  11. Shabirmean
    added 2 commits that reference this issue on Nov 17, 2022

    chore(deps): update dependency com.google.cloud.samples:shared-config…

    b9d2789

    samples: scaffold pom.xml files (#118)

    c0630ec
  12. anguillanneuf
    added a commit that references this issue on Nov 17, 2022

    migrate code from googleapis/java-video-intelligence (#7425)

    13912b8
  13. Shabirmean
    added a commit that references this issue on Nov 17, 2022

    chore(deps): update dependency com.google.cloud.samples:shared-config…

    3d39ccf
  14. gcf-merge-on-green
    added a commit that references this issue on Nov 17, 2022

    samples: migrate code from googleapis/java-speech (#7437)

    6161d0f
  15. minherz
    added a commit that references this issue on Nov 17, 2022

    chore: updated grpc code output (#118)

    87ae799
  16. anguillanneuf
    added a commit that references this issue on Dec 5, 2022

    chore: updated grpc code output (#118)

    5d5080b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @waprin
    waprin

Labels

🚨This issue needs some love.triage meI really want to be triaged.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.