You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/11/29 17:45:44 UTC

[GitHub] limited opened a new pull request #3065: Add Traffic Vault Utility for listing contents

limited opened a new pull request #3065: Add Traffic Vault Utility for listing contents
URL: https://github.com/apache/trafficcontrol/pull/3065
 
 
   #### What does this PR do?
   The `traffic_vault_util` tool is used to view and modify the contents of a Traffic Vault (i.e. Riak) cluster. The tool contains basic list_* operations to display the buckets, keys and values stored within TV.
   
   
   #### Which TC components are affected by this PR?
   
   - [ ] Documentation
   - [ ] Grove
   - [ ] Traffic Analytics
   - [ ] Traffic Monitor
   - [ ] Traffic Ops
   - [ ] Traffic Ops ORT
   - [ ] Traffic Portal
   - [ ] Traffic Router
   - [ ] Traffic Stats
   - [ ] Traffic Vault
   - [x ] Other __Tools_______
   
   #### What is the best way to verify this PR?
   Build tools/traffic_vault_util and run against a vault cluster
   ```
   go get github.com/basho/riak-go-client
   go build traffic_vault_util.go
   traffic_vault_util -vault_ip <ip> -vault_user admin -vault_password <password> -vault_action list_buckets
   ```
   
   #### Check all that apply
   
   - [ ] This PR includes tests . 
       ( I'll add tests if someone can point me in the direction of how to mock out the riak API?)
   - [X ] This PR includes documentation updates
   - [ ] This PR includes an update to CHANGELOG.md
   - [ X] This PR includes all required license headers
   - [ ] This PR includes a database migration (ensure that migration sequence is correct)
   - [ ] This PR fixes a serious security flaw. Read more: [www.apache.org/security](http://www.apache.org/security/)
   
   <!--
       Licensed to the Apache Software Foundation (ASF) under one
       or more contributor license agreements.  See the NOTICE file
       distributed with this work for additional information
       regarding copyright ownership.  The ASF licenses this file
       to you under the Apache License, Version 2.0 (the
       "License"); you may not use this file except in compliance
       with the License.  You may obtain a copy of the License at
   
         http://www.apache.org/licenses/LICENSE-2.0
   
       Unless required by applicable law or agreed to in writing,
       software distributed under the License is distributed on an
       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
       KIND, either express or implied.  See the License for the
       specific language governing permissions and limitations
       under the License.
   -->
   
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services