Skip to content

Commit 474888f

Browse files
langsweisolaris007
andauthored
feat: splunk client (#579)
Splunk client to give the option for CDN logs as a data source. Please ensure your pull request adheres to the following guidelines: - [x] make sure to link the related issues in this description - [x] when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes ## Related Issues #578 --------- Co-authored-by: Dominique Jäggi <[email protected]> Co-authored-by: Dominique Jäggi <[email protected]>
1 parent 9f89f1a commit 474888f

18 files changed

+1089
-0
lines changed

package-lock.json

Lines changed: 42 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"plugins": [ ],
3+
"recurseDepth": 10,
4+
"source": {
5+
"includePattern": ".+\\.js(doc|x)?$",
6+
"excludePattern": "(^|\\/|\\\\)_"
7+
},
8+
"sourceType": "module",
9+
"tags": {
10+
"allowUnknownTags": true,
11+
"dictionaries": [
12+
"jsdoc",
13+
"closure"
14+
]
15+
},
16+
"templates": {
17+
"cleverLinks": false,
18+
"monospaceLinks": false
19+
}
20+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"reporterEnabled": "spec,xunit",
3+
"xunitReporterOptions": {
4+
"output": "junit/test-results.xml"
5+
}
6+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
coverage/
2+
node_modules/
3+
junit/
4+
test/
5+
docs/
6+
logs/
7+
test-results.xml
8+
renovate.json
9+
.*
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"reporter": [
3+
"lcov",
4+
"text"
5+
],
6+
"check-coverage": true,
7+
"lines": 100,
8+
"branches": 100,
9+
"statements": 100,
10+
"all": true,
11+
"include": [
12+
"src/**/*.js"
13+
]
14+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
extends: "semantic-release-monorepo",
3+
plugins: [
4+
"@semantic-release/commit-analyzer",
5+
"@semantic-release/release-notes-generator",
6+
["@semantic-release/changelog", {
7+
"changelogFile": "CHANGELOG.md",
8+
}],
9+
"@semantic-release/npm",
10+
["@semantic-release/git", {
11+
"assets": ["package.json", "CHANGELOG.md"],
12+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
13+
}],
14+
["@semantic-release/github", {}],
15+
],
16+
branches: ['main'],
17+
};

packages/spacecat-shared-splunk-client/CHANGELOG.md

Whitespace-only changes.
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Adobe Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, gender identity and expression, level of experience,
9+
nationality, personal appearance, race, religion, or sexual identity and
10+
orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at [email protected]. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at [http://contributor-covenant.org/version/1/4][version]
72+
73+
[homepage]: http://contributor-covenant.org
74+
[version]: http://contributor-covenant.org/version/1/4/
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Contributing to Project Franklin
2+
3+
This project (like almost all of Project Franklin) is an Open Development project and welcomes contributions from everyone who finds it useful or lacking.
4+
5+
## Code Of Conduct
6+
7+
This project adheres to the Adobe [code of conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to cstaub at adobe dot com.
8+
9+
## Contributor License Agreement
10+
11+
All third-party contributions to this project must be accompanied by a signed contributor license. This gives Adobe permission to redistribute your contributions as part of the project. [Sign our CLA](http://opensource.adobe.com/cla.html)! You only need to submit an Adobe CLA one time, so if you have submitted one previously, you are good to go!
12+
13+
## Things to Keep in Mind
14+
15+
This project uses a **commit then review** process, which means that for approved maintainers, changes can be merged immediately, but will be reviewed by others.
16+
17+
For other contributors, a maintainer of the project has to approve the pull request.
18+
19+
# Before You Contribute
20+
21+
* Check that there is an existing issue in GitHub issues
22+
* Check if there are other pull requests that might overlap or conflict with your intended contribution
23+
24+
# How to Contribute
25+
26+
1. Fork the repository
27+
2. Make some changes on a branch on your fork
28+
3. Create a pull request from your branch
29+
30+
In your pull request, outline:
31+
32+
* What the changes intend
33+
* How they change the existing code
34+
* If (and what) they breaks
35+
* Start the pull request with the GitHub issue ID, e.g. #123
36+
37+
Lastly, please follow the [pull request template](.github/pull_request_template.md) when submitting a pull request!
38+
39+
Each commit message that is not part of a pull request:
40+
41+
* Should contain the issue ID like `#123`
42+
* Can contain the tag `[trivial]` for trivial changes that don't relate to an issue
43+
44+
45+
46+
## Coding Styleguides
47+
48+
We enforce a coding styleguide using `eslint`. As part of your build, run `npm run lint` to check if your code is conforming to the style guide. We do the same for every PR in our CI, so PRs will get rejected if they don't follow the style guide.
49+
50+
You can fix some of the issues automatically by running `npx eslint . --fix`.
51+
52+
## Commit Message Format
53+
54+
This project uses a structured commit changelog format that should be used for every commit. Use `npm run commit` instead of your usual `git commit` to generate commit messages using a wizard.
55+
56+
```bash
57+
# either add all changed files
58+
$ git add -A
59+
# or selectively add files
60+
$ git add package.json
61+
# then commit using the wizard
62+
$ npm run commit
63+
```
64+
65+
# How Contributions get Reviewed
66+
67+
One of the maintainers will look at the pull request within one week. Feedback on the pull request will be given in writing, in GitHub.
68+
69+
# Release Management
70+
71+
The project's committers will release to the [Adobe organization on npmjs.org](https://www.npmjs.com/org/adobe).
72+
Please contact the [Adobe Open Source Advisory Board](https://git.corp.adobe.com/OpenSourceAdvisoryBoard/discuss/issues) to get access to the npmjs organization.
73+
74+
The release process is fully automated using `semantic-release`, increasing the version numbers, etc. based on the contents of the commit messages found.

0 commit comments

Comments
 (0)