@salesforce/refocus-collector

    1.2.1 • Public • Published

    Coverage Status

    refocus-collector

    Installation

    Prerequisite: NPM and Node.js

    • Install via Git Clone

      • git clone https://github.com/salesforce/refocus-collector.git
      • cd refocus-collector
      • npm install
      • npm link
      • try command refocus-collector or refocus-collector --help

      Usage: refocus-collector [command] [options]

    Commands

    Start collector for name, refocus url, API token, proxy for refocus and proxy for data source. refocusProxy and dataSourceProxy are optional arguments
    start --collectorName --refocusUrl --accessToken --refocusProxy --dataSourceProxy
    
    Stop given collector
    stop  --collectorName --refocusProxy
    
    Show status of collector
    status  --collectorName --refocusProxy
    
    Deregister given collector
    deregister  --collectorName --refocusProxy
    
    Reregister given collector. refocusProxy is an optional argument
    reregister  --collectorName --refocusUrl --accessToken --refocusProxy
    
    Display help for [cmd]
    help [cmd]
    

    Options:

    -n, --collectorName     specify the name of the collector
    -h, --help     output usage information
    -V, --version  output the version number
    

    Examples:

    $ refocus-collector --help
    $ refocus-collector start --collectorName=PRD_Collector_12345 --refocusUrl=https://refocus.foo.com --accessToken=eygduyguygijfdhkfjhkfdhg --refocusProxy=http://abcproxy.com --dataSourceProxy=http://xyzproxy.com
    $ refocus-collector stop --collectorName=PRD_Collector_12345
    $ refocus-collector status --collectorName=PRD_Collector_12345
    $ refocus-collector deregister --collectorName=PRD_Collector_12345
    $ refocus-collector reregister --collectorName=PRD_Collector_12345 --refocusUrl=https://refocus.foo.com --accessToken=eygduyguygijfdhkfjhkfdhg --refocusProxy=http://abcproxy.com
    


    Version History

    • 1.1.1
      • Simplify the heartbeat payload - send up all the process info, not just delta from last heartbeat
    • 1.2.0
      • Reuse authentication token among generator clones until it expires.

    Install

    npm i @salesforce/refocus-collector

    DownloadsWeekly Downloads

    13

    Version

    1.2.1

    License

    BSD-3-Clause

    Unpacked Size

    352 kB

    Total Files

    69

    Last publish

    Collaborators

    • ashokrudraraju
    • dhersam
    • demianbrecht
    • rmohan20.sfdc
    • brandon-svec
    • jgraff
    • cdias
    • conal
    • jgrantham
    • vazexqi
    • suduvvuri
    • joshwlewis
    • mpsenn
    • sfdc_iamigo
    • diervo
    • rsalvador
    • kevinv11n
    • tbliss
    • davidturissini
    • byao
    • pmdartus
    • futuremint_sf
    • interactivellama
    • maratto
    • pallavi.singh
    • smugakamil
    • tausifm
    • kriscfoster
    • brandonm
    • vineet-sinha
    • salesforce-bot
    • harshkothari410
    • ekashida
    • gr8gatsby
    • ravi.jayaramappa
    • apapko
    • krisgraysfdc
    • jleen-sfdc
    • jqian
    • cwallsf
    • dhagberg-sf
    • rasphilco
    • jbfeingold
    • michaelhoefer
    • tlohr
    • dpessoa
    • khawkins
    • jgellin
    • maxreality
    • amphro
    • davidrouten
    • tconn
    • salesforce-releases
    • dehru
    • nazligungor
    • abdulsattar
    • jodarove
    • rxu-sfdc
    • amcconnell-sf
    • nolanlawson
    • sfdctaka
    • fernomac
    • maliroteh-sf
    • justinharringa
    • ahakro
    • rjanamanchi
    • vttikoo
    • dlouvton
    • cafreeman
    • mallik.webaroo
    • jimjag
    • alyssaa14
    • ivarley
    • svanteddu
    • neeraj_g
    • jbartolotta-sfdc