Date

Attendees

Goal

  • Technology Nursery services health check
  • tssgTech git repo, webflowlike_multipage branch tests

Discussion items

ItemWhoNotes
Technology Nursery services health check
  • Created an alias to check the health status of each service
  • alias tn.health='for svc in jira.web jira.nejug jira jira.mobile confluence confluence.cfg https://store https://tssg ; do printf "%-16s%s\n" "${svc}" $(curl -s ${svc}.technologynursery.org/status | sed -e "s/^.*RUNNING.*$/up/" -e "s/Passed.*/up/") ; done'

  • output
    $ tn.health
    jira.web up
    jira.nejug up
    jira up
    jira.mobile up
    confluence up
    confluence.cfg up
    https://store up
    https://tssg up
List all IP addresses that have accessed store.technologynursery.org
  • Created an alias to
    • parse the docker logs of store_drupal_1 container
    • pull out the ip addresses
    • remove the technologynursery.org address (75.144.177.43)
    • sort the ip addresses
    • list the uniq ip addresses and their hit count

alias store.ip.hits='docker logs store_drupal_1 2>&1 | gawk '\''{ print $1 }'\'' | grep -v 75.144.177.43 | sort -n | uniq -c'

  • Create another alias to show the number of unique IP hits to the site (there are about 455 unique IP hits)

alias store.ip.hits.count='store.ip.hits | wc -l'

Fixed tests in tssgTech repo, webflowlike_multipage branch
commit baf55897ae1bd87add4bd768f19cb778933254d2 (HEAD -> webflowlike_multipage, origin/webflowlike_multipage)
Author: Ralph A. Navarro Jr <ralph@navarrocomputing.com>
Date:   Mon Jun 10 23:53:28 2019 -0400

    Refactored printing the class name into TSSGTechBaseSpec.
    
    groovy/Common/TSSGTechBaseSpec.groovy
      * Add printing the child's class name
    groovy/Tests/TSSGTechSpec.groovy
      * Removed fixture method setupSpec().  Not needed now.

commit 1b637d9962f6401c3537c1e2f09dc6880637867e
Author: Ralph A. Navarro Jr <ralph@navarrocomputing.com>
Date:   Mon Jun 10 23:27:58 2019 -0400

    Created a TSSGTechBaseSpec for common fixture methods.
    
    groovy/Common/TSSGTechBaseSpec.groovy
      * Added setupSpec() to print baseUrl
    groovy/Tests/TSSGTechSpec.groovy
      * Changed setupSpec() to print name of Spec being run.

commit 8953465fc39a507d27e103e6b2c49a14113b5325
Author: Ralph A. Navarro Jr <ralph@navarrocomputing.com>
Date:   Mon Jun 10 23:05:05 2019 -0400

    Enabled baseUrl for tssgTechWebflowMultipage endpoint.
    
    groovy/Common/TSSGTechBasePage.groovy:
     * Removed at checker assertions.  At checker is set to check
       the title at each page in groovy/Pages/:
       * TSSGTechDataAnalyticsPage.groovy
       * TSSGTechDevOpsPage.groovy
       * TSSGTechHomePage.groovy
       * TSSGTechMobilePage.groovy
       * TSSGTechQAPage.groovy
       * TSSGTechSchedulePage.groovy
       * TSSGTechTestimonialsPage.groovy
       * TSSGTechWebPage.groovy
    resources/GebConfig.groovy:
      * Added baseUrl options for webflow and webflowLikeMultipage
    gradle/wrapper/gradle-wrapper.properties
      * Updated properties for gradle 4.8

Action items

  • Create a script that will generate a report with the following information
    • IP addresses that hit the site and their location
    • country_name,
    • region,
    • and city.
  • Add the script to a front end web page that can generate this report for any internal docker service