Skip to content

Commit

Permalink
Merge pull request #296 from vtex-apps/chore/OMS-4431-splunk-zero
Browse files Browse the repository at this point in the history
remove splunk refs
  • Loading branch information
wagnerlduarte authored Jun 28, 2023
2 parents e3e9901 + 4a6c8ca commit 39e0081
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 50 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Removed

- Logs to Splunk.

## [0.42.2] - 2023-03-28

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"vtex.styleguide": "http://vtex.vtexassets.com/_v/public/typings/v1/[email protected]/public/@types/vtex.styleguide"
},
"dependencies": {
"@vtex/api": "6.45.5"
"@vtex/api": "6.45.15"
},
"version": "0.42.2"
}
10 changes: 5 additions & 5 deletions node/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,10 @@
lodash.unescape "4.0.1"
semver "5.5.0"

"@vtex/[email protected].5":
version "6.45.5"
resolved "https://registry.yarnpkg.com/@vtex/api/-/api-6.45.5.tgz#1e7b64b93c4c8e170f7f1dba09a92883a6102b62"
integrity sha512-GpNnBZi6LVxJ+UT63KDfwcKJd7ETlJ7imBYcHPrQv89rmMS9nBGn++OKf7el6oi9N6/JIF9JzahL7PpKVkq/SA==
"@vtex/[email protected].15":
version "6.45.15"
resolved "https://registry.yarnpkg.com/@vtex/api/-/api-6.45.15.tgz#aa987d22f7df16ce2861130deda6ffd63156817b"
integrity sha512-Rg1VGDzJ4hHUNp1vSidMdGGPojr1PikMTptlZsJ3oNZVdEo4cPx2l8ZcAEwHWORL7QjPjXaEgmeA5ZOSf+boCQ==
dependencies:
"@types/koa" "^2.11.0"
"@types/koa-compose" "^3.2.3"
Expand Down Expand Up @@ -1846,7 +1846,7 @@ sprintf-js@~1.0.2:
resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"
integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=

stats-lite@vtex/node-stats-lite#dist:
"stats-lite@github:vtex/node-stats-lite#dist":
version "2.2.0"
resolved "https://codeload.github.com/vtex/node-stats-lite/tar.gz/1b0d39cc41ef7aaecfd541191f877887a2044797"
dependencies:
Expand Down
2 changes: 1 addition & 1 deletion react/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { Component } from 'react'

import AppRouter from './components/AppRouter'
import ClientSide from './components/ClientSide'
import { logMyAccountURL, logGeneralErrors } from './utils/splunk'
import { logMyAccountURL, logGeneralErrors } from './utils/logger'

import 'vtex.country-codes/locales'
import './style.global.css'
Expand Down
3 changes: 1 addition & 2 deletions react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"react-dom": "^16.9.0",
"react-intl": "^2.4.0",
"react-media": "^1.8.0",
"recompose": "^0.27.1",
"splunk-events": "^1.3.0"
"recompose": "^0.27.1"
},
"devDependencies": {
"@types/exenv": "^1.2.0",
Expand Down
4 changes: 0 additions & 4 deletions react/typings/splunk-events.d.ts

This file was deleted.

7 changes: 7 additions & 0 deletions react/utils/logger.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export function logMyAccountURL() {
// TODO: log in OpenSearch
}

export function logGeneralErrors(_error: any, _info: any) {
// TODO: log in OpenSearch
}
32 changes: 0 additions & 32 deletions react/utils/splunk.ts

This file was deleted.

5 changes: 0 additions & 5 deletions react/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4343,11 +4343,6 @@ split-string@^3.0.1, split-string@^3.0.2:
dependencies:
extend-shallow "^3.0.0"

splunk-events@^1.3.0:
version "1.4.1"
resolved "https://registry.yarnpkg.com/splunk-events/-/splunk-events-1.4.1.tgz#8e3b55fda415ee6df7d0bd6ce22e92757681d121"
integrity sha512-jiIuHdxNnLi/J3xr72AnZDGwMqoYTK0CWu2mPzrwPRol2txrKhRCcaSdWRmyfYFMLwWHLIgOL16JgY/TPnkUtA==

sshpk@^1.7.0:
version "1.16.1"
resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877"
Expand Down

0 comments on commit 39e0081

Please sign in to comment.