Skip to content

lucasbak/ryba-ambari-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Ryba Ambari Actions

Gather a set of functions to communicate with Apche Ambari REST API v2 It can be used with nikita

It has been built for Node.js and is written in CoffeeScript.

Usage

Example usage can be found in test:

  • plain javascript in callback method
configs.get({
  "username": 'ambari_admin',
  "password": 'ambari_secret',
  "url": "http://ambari.server.com",
  "config_type": 'hdfs-site'
  }
}, function(err, status, properties){
  console.log( err ? err.message : "Properties are: " + properties)
})
  • coffeescript example with as a nikita action
@ambari.hosts.component_wait
  url: 'http://ambari.server.com'
  username: 'admin_admin'
  password: 'ambari_secret'
  cluster_name: 'my_cluster'
  component_name: 'HDFS_CLIENT'
  hostname: 'agent.server.com'

Functions

  • cluster

    • add
    • delete
    • node_add
    • node_delete
    • persist
    • provisioning_state
    • update
    • wait
  • configs

    • groups
    • add
    • delete
    • get
    • list
    • set_default
    • update
  • hosts

  • add
  • component_add
  • component_install
  • component_start
  • component_status
  • component_stop
  • component_update
  • component_wait
  • delete
  • rack
  • kerberos

    • descriptor
      • update
  • services

    • add
    • component_add
    • delete
    • wait
  • stacks

    • default_informations
    • kerberos_descriptor
    • repository_version_add
    • vdf_add

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published