Skip to content

Commit

Permalink
Merge pull request #80 from GlobalNOC/1.7.0-dev
Browse files Browse the repository at this point in the history
1.7.0 dev
  • Loading branch information
JoshuaMcNamara98 authored Feb 3, 2024
2 parents a025ffc + 0a63696 commit caec083
Show file tree
Hide file tree
Showing 81 changed files with 3,641 additions and 139 deletions.
10 changes: 10 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## GRNOC TSDS Services 1.7.0 --

### Features:

* Adds in local changes made to code as 'hot fixes' that were never added to the Git repo.
* Adds in support for OL8 packaging
* Allows writers to move failed writers to separate queue to keep pipeline clear and allow for
examination later.
* Adds default 2-day expiry for measurement decomissioning

## GRNOC TSDS Services 1.6.9 -- Wed Mar 16 2022

### Features:
Expand Down
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ INSTALL.md
lib/GRNOC/TSDS.pm
lib/GRNOC/TSDS/AggregateDocument.pm
lib/GRNOC/TSDS/AggregatePoint.pm
lib/GRNOC/TSDS/Aggregate/Histogram.pm
lib/GRNOC/TSDS/Constants.pm
lib/GRNOC/TSDS/Constraints.pm
lib/GRNOC/TSDS/DataDocument.pm
Expand Down
22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
VERSION = 1.7.0
NAME = grnoc-tsds-services

rpm: dist
cd dist; tar -czvf $(NAME)-$(VERSION).tar.gz $(NAME)-$(VERSION)
rpmbuild -ta dist/$(NAME)-$(VERSION).tar.gz

clean:
rm -rf dist/$(NAME)-$(VERSION)/
rm -rf dist

dist: clean venv
rm -rf dist/$(NAME)-$(VERSION)/
mkdir -p dist/$(NAME)-$(VERSION)/
cp -rv bin conf lib systemd www init.d CHANGES.md INSTALL.md venv $(NAME).spec dist/$(NAME)-$(VERSION)/
cd dist; tar -czvf $(NAME)-$(VERSION).tar.gz $(NAME)-$(VERSION)/

test:
/usr/bin/perl -I lib/ t/TEST 1

venv:
carton install --path=venv
38 changes: 0 additions & 38 deletions Makefile.PL

This file was deleted.

3 changes: 3 additions & 0 deletions bin/tsds-change-required-metadata.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
use strict;
use warnings;

use lib '/opt/grnoc/venv/grnoc-tsds-services/lib/perl5';
use lib './venv/lib/perl5';

use Data::Dumper;
use GRNOC::Config;
use GRNOC::CLI;
Expand Down
3 changes: 3 additions & 0 deletions bin/tsds-decom.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
use strict;
use warnings;

use lib '/opt/grnoc/venv/grnoc-tsds-services/lib/perl5';
use lib './venv/lib/perl5';

use GRNOC::Log;

use GRNOC::TSDS::MeasurementDecommer;
Expand Down
3 changes: 3 additions & 0 deletions bin/tsds_add_interface_addresses.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
use strict;
use warnings;

use lib '/opt/grnoc/venv/grnoc-tsds-services/lib/perl5';
use lib './venv/lib/perl5';

# One time script to add interface_address metafield
# Adds interface_address as an array with interface_address.type, interface_address.mask, and interface_address.value

Expand Down
3 changes: 3 additions & 0 deletions bin/tsds_add_meta_optical.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
use strict;
use warnings;

use lib '/opt/grnoc/venv/grnoc-tsds-services/lib/perl5';
use lib './venv/lib/perl5';

# Script to add metadata fields to optical data

use GRNOC::Config;
Expand Down
3 changes: 3 additions & 0 deletions bin/tsds_add_meta_power.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
use strict;
use warnings;

use lib '/opt/grnoc/venv/grnoc-tsds-services/lib/perl5';
use lib './venv/lib/perl5';

# One time script to add metafields for power
# Adds network, node_type, node_role, type, description, and alternate_intf fields

Expand Down
3 changes: 3 additions & 0 deletions bin/tsds_adjust_metafields.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
use strict;
use warnings;

use lib '/opt/grnoc/venv/grnoc-tsds-services/lib/perl5';
use lib './venv/lib/perl5';

# One time fix to make field adjustments
# Deletes fields from tsds, drops the corresponding indexes and unsets them in the db
# Following fields will be removed by this script - pop.owner, pop.hands_and_eyes, pop.pop_id, pop.role, ...
Expand Down
3 changes: 3 additions & 0 deletions bin/tsds_expire.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
use strict;
use warnings;

use lib '/opt/grnoc/venv/grnoc-tsds-services/lib/perl5';
use lib './venv/lib/perl5';

use GRNOC::TSDS::Expire;
use JSON::XS;

Expand Down
3 changes: 3 additions & 0 deletions bin/tsds_find_unsharded.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
use strict;
use warnings;

use lib '/opt/grnoc/venv/grnoc-tsds-services/lib/perl5';
use lib './venv/lib/perl5';

use Data::Dumper;
use Getopt::Long;

Expand Down
3 changes: 3 additions & 0 deletions bin/tsds_firehose.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
use strict;
use warnings;

use lib '/opt/grnoc/venv/grnoc-tsds-services/lib/perl5';
use lib './venv/lib/perl5';

use JSON::XS;
use Net::AMQP::RabbitMQ;
use Net::RabbitMQ::Management::API;
Expand Down
3 changes: 3 additions & 0 deletions bin/tsds_fix_measurements.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
use strict;
use warnings;

use lib '/opt/grnoc/venv/grnoc-tsds-services/lib/perl5';
use lib './venv/lib/perl5';

use GRNOC::Config;

use MongoDB;
Expand Down
3 changes: 3 additions & 0 deletions bin/tsds_fix_start_date.pl
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
use strict;
use warnings;

use lib '/opt/grnoc/venv/grnoc-tsds-services/lib/perl5';
use lib './venv/lib/perl5';

use Data::Dumper;
use GRNOC::Log;
use Getopt::Long;
Expand Down
3 changes: 3 additions & 0 deletions bin/tsds_install.pl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
use strict;
use warnings;

use lib '/opt/grnoc/venv/grnoc-tsds-services/lib/perl5';
use lib './venv/lib/perl5';

use constant DEFAULT_CONFIG_FILE => '/etc/grnoc/tsds/services/config.xml';

use GRNOC::TSDS::Install;
Expand Down
5 changes: 4 additions & 1 deletion bin/tsds_meta.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
use strict;
use warnings;

use lib '/opt/grnoc/venv/grnoc-tsds-services/lib/perl5';
use lib './venv/lib/perl5';

use Data::Dumper;
use Getopt::Long;
use lib '../lib/';

use GRNOC::TSDS::MetaStats;

### constants ###
Expand Down
3 changes: 3 additions & 0 deletions bin/tsds_search_indexer.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
use strict;
use warnings;

use lib '/opt/grnoc/venv/grnoc-tsds-services/lib/perl5';
use lib './venv/lib/perl5';

use Getopt::Long;
use Data::Dumper;
use GRNOC::TSDS::Parser; # including b/c Marpa will be a PITA otherwise
Expand Down
4 changes: 3 additions & 1 deletion bin/tsds_setup.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
use strict;
use warnings;

use lib '/opt/grnoc/venv/grnoc-tsds-services/lib/perl5';
use lib './venv/lib/perl5';

use Marpa::R2;
use Getopt::Long;
use Data::Dumper;
use lib '../lib/';
use GRNOC::TSDS::Setup;

### constants ###
Expand Down
3 changes: 3 additions & 0 deletions bin/tsds_upgrade.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
use strict;
use warnings;

use lib '/opt/grnoc/venv/grnoc-tsds-services/lib/perl5';
use lib './venv/lib/perl5';

use Marpa::R2;
use GRNOC::TSDS::Upgrade;
use Getopt::Long;
Expand Down
3 changes: 3 additions & 0 deletions bin/tsds_writer
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
use strict;
use warnings;

use lib '/opt/grnoc/venv/grnoc-tsds-services/lib/perl5';
use lib './venv/lib/perl5';

use GRNOC::TSDS::Writer;

use Getopt::Long;
Expand Down
37 changes: 37 additions & 0 deletions cpanfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
requires 'Cache::Memcached::Fast', '0.23';
requires 'Class::Accessor', '0.34';
requires 'Clone', '0.34';
requires 'Data::Compare', '1.29';
requires 'DateTime', '1.04';
requires 'DateTime::Format::Strptime', '1.54';
requires 'Env::C', '0.13';
requires 'File::Slurp', '9999.19';
requires 'Hash::Merge', '0.200';
requires 'HTML::Parser', '3.71';
requires 'JSON', '2.59';
requires 'JSON::XS', '3.01';
requires 'List::Flatten::Recursive', '0.103460';
requires 'List::MoreUtils', '0.33';
requires 'List::Util', '1.47';
requires 'LockFile::Simple', '0.208';
requires 'Marpa::R2', '3.000000';
requires 'Math::Round', '0.06';
requires 'MongoDB', 'v1.8.1';
requires 'Moo', '2.003000';
requires 'Net::AMQP::RabbitMQ', '2.30000';
requires 'Number::Format', '1.73';
requires 'Parallel::ForkManager', '1.18';
requires 'Proc::Daemon', '0.19';
requires 'Redis', '1.991';
requires 'Redis::DistLock', '0.07';
requires 'Sort::Versions', '1.5';
requires 'Statistics::LineFit', '0.06';
requires 'Test::Deep', '1.126';
requires 'Time::HiRes', '1.9725';
requires 'Tie::IxHash', '1.22';
requires 'Try::Tiny', '0.30';
requires 'Type::Tiny', '1.004002';
requires 'Types::XSD::Lite', '0.005';
requires 'WWW::Mechanize::PhantomJS', '0.14';
requires 'XML::Writer', '0.623';
requires 'XSLoader';
Loading

0 comments on commit caec083

Please sign in to comment.