Skip to content

Commit

Permalink
Tas6.0 Support (#65)
Browse files Browse the repository at this point in the history
* fix: Applied fix for TAS 6.0

* fix: Rebuilt with latest go and tested for TAS 6.0. 5.0 and 4.0

---------

Co-authored-by: Ubuntu <[email protected]>
  • Loading branch information
gsidhwani-nr and Ubuntu authored Sep 5, 2024
1 parent df8f97b commit 4cadcce
Show file tree
Hide file tree
Showing 8 changed files with 463 additions and 323 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ BINARY_NAME = nr-fh-nozzle
GO_FILES := ./...
GO_INTEGRATION_FILE := ./tests/...
#Release version must be mayor.minor.patch for tile generator
RELEASE_TAG ?= 2.9.0
RELEASE_TAG ?= 2.10.0
TEST_DEPS = github.com/axw/gocov/gocov github.com/AlekSi/gocov-xml

all: release
Expand Down Expand Up @@ -54,4 +54,4 @@ push: compile-linux
@cf login -a $(CF_API_URL) --skip-ssl-validation -u $(CF_USER) -p $(CF_PASSWORD) -o nr-firehose-nozzle-org
@cf push

.PHONY: all build clean compile test-deps test release integration-test push compile-linux
.PHONY: all build clean compile test-deps test release integration-test push compile-linux
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.1.26
v1.1.27
17 changes: 17 additions & 0 deletions check_newrelic_nozzle.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

# Set the target organization and space
cf target -o nr-firehose-nozzle-org -s nr-firehose-nozzle-space

# Get the CF apps output
APPS_OUTPUT=$(cf apps)

# Extract the URL from the CF apps output
URL=$(echo "$APPS_OUTPUT" | grep 'newrelic-firehose-nozzle' | awk '{print $6}')

# Perform a health check using the extracted URL
if [ -n "$URL" ]; then
curl http://$URL/health
else
echo "Unable to find URL for the newrelic-firehose-nozzle app."
fi
Loading

0 comments on commit 4cadcce

Please sign in to comment.