Skip to content

Commit 2ee6ca6

Browse files
author
Daniel Priebe
committed
Merge remote-tracking branch 'inspectIT/master' into feat/feature-1398
2 parents 2854e7e + 95005fc commit 2ee6ca6

File tree

305 files changed

+23251
-24795
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

305 files changed

+23251
-24795
lines changed

.circleci/config.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ commands:
2424
path: ~/inspectit/repo/inspectit-ocelot-config/build/test-results
2525
- store_test_results:
2626
path: ~/inspectit/repo/components/inspectit-ocelot-configurationserver/build/test-results
27-
- store_test_results:
28-
path: ~/inspectit/repo/components/inspectit-ocelot-eum-server/build/test-results
2927
- store_artifacts:
3028
path: /home/circleci/inspectit/repo/heapdump.bin
3129

@@ -52,18 +50,15 @@ jobs:
5250
working_directory: ~/inspectit
5351
steps:
5452
- attach_repo
55-
- run: cd repo && ./gradlew assemble bootJarWithFrontend :inspectit-ocelot-core:cyclonedxBom :inspectit-ocelot-configurationserver:cyclonedxBom :inspectit-ocelot-eum-server:cyclonedxBom :inspectit-ocelot-eum-server:bootJar -PbuildVersion=${CIRCLE_TAG}
53+
- run: cd repo && ./gradlew assemble bootJarWithFrontend :inspectit-ocelot-core:cyclonedxBom :inspectit-ocelot-configurationserver:cyclonedxBom -PbuildVersion=${CIRCLE_TAG}
5654
- run: mkdir artifacts
5755
- run: cp ~/inspectit/repo/inspectit-ocelot-agent/build/inspectit-ocelot-agent-${CIRCLE_TAG}.jar ~/inspectit/artifacts
5856
- run: cp ~/inspectit/repo/components/inspectit-ocelot-configurationserver/build/libs/inspectit-ocelot-configurationserver-${CIRCLE_TAG}.jar ~/inspectit/artifacts
59-
- run: cp ~/inspectit/repo/components/inspectit-ocelot-eum-server/build/libs/inspectit-ocelot-eum-server-${CIRCLE_TAG}.jar ~/inspectit/artifacts
6057
- run: mkdir boms
6158
- run: cp ~/inspectit/repo/inspectit-ocelot-core/build/reports/bom.json ~/inspectit/boms/inspectit-ocelot-agent-bom.json
6259
- run: cp ~/inspectit/repo/inspectit-ocelot-core/build/reports/bom.xml ~/inspectit/boms/inspectit-ocelot-agent-bom.xml
6360
- run: cp ~/inspectit/repo/components/inspectit-ocelot-configurationserver/build/reports/bom.json ~/inspectit/boms/inspectit-ocelot-configurationserver-bom.json
6461
- run: cp ~/inspectit/repo/components/inspectit-ocelot-configurationserver/build/reports/bom.xml ~/inspectit/boms/inspectit-ocelot-configurationserver-bom.xml
65-
- run: cp ~/inspectit/repo/components/inspectit-ocelot-eum-server/build/reports/bom.json ~/inspectit/boms/inspectit-ocelot-eum-server-bom.json
66-
- run: cp ~/inspectit/repo/components/inspectit-ocelot-eum-server/build/reports/bom.xml ~/inspectit/boms/inspectit-ocelot-eum-server-bom.xml
6762
- run: zip -r ~/inspectit/artifacts/software-bill-of-materials.zip boms
6863
- run:
6964
name: Calculate checksums of release artifacts
@@ -127,8 +122,6 @@ jobs:
127122
docker push inspectit/inspectit-ocelot-agent:latest
128123
docker push inspectit/inspectit-ocelot-configurationserver:${CIRCLE_TAG}
129124
docker push inspectit/inspectit-ocelot-configurationserver:latest
130-
docker push inspectit/inspectit-ocelot-eum-server:${CIRCLE_TAG}
131-
docker push inspectit/inspectit-ocelot-eum-server:latest
132125
133126
# Deploy pre-release documentation
134127
deploy-master-documentation:

.github/workflows/agent_test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@ on:
55
branches:
66
- master
77
pull_request:
8-
branches:
9-
- master
108
paths-ignore:
119
- 'components/**'
1210
- 'inspectit-ocelot-documentation/**'
1311
- 'resources/**'
12+
- 'codequality/**'
13+
- '**.md'
14+
- '**.txt'
15+
- '.github/**'
16+
- '.circleci/**'
1417

1518
jobs:
1619
pr-check:

.github/workflows/eumserver_test.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ When using the Save Actions Plugin, you have to copy the *saveactions_settings.x
1313

1414
Furthermore, please import the `/codequality/idea/code_style.xml` file into the project's settings of IntelliJ in order to match the code style we're using.
1515

16+
### Frontend Developing
17+
18+
If developing JavaScript in IntelliJ Ultimate, check that Settings.Languages & Frameworks.JavaScript.Code Quality Tools.ESLint is activated for correct linting.
19+
20+
In the same location, check the checkbox for running `eslint --fix on save`.
21+
1622
## Process
1723

1824
The first step in order to contribute is to fork this repository into your account.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
[![Code Coverage](https://codecov.io/gh/inspectit/inspectit-ocelot/branch/master/graph/badge.svg)](https://codecov.io/gh/inspectIT/inspectit-ocelot)
77
[![Java Agent Tests](https://github.com/inspectIT/inspectit-ocelot/workflows/Java%20Agent%20Tests/badge.svg?branch=master)](https://github.com/inspectIT/inspectit-ocelot/actions?query=workflow%3A"Java+Agent+Tests")
88
[![Configuration Server Tests](https://github.com/inspectIT/inspectit-ocelot/workflows/Configuration%20Server%20Tests/badge.svg?branch=master)](https://github.com/inspectIT/inspectit-ocelot/actions?query=workflow%3A"Configuration+Server+Tests")
9-
[![EUM Server Tests](https://github.com/inspectIT/inspectit-ocelot/workflows/EUM%20Server%20Tests/badge.svg?branch=master)](https://github.com/inspectIT/inspectit-ocelot/actions?query=workflow%3A"EUM+Server+Tests")
109

1110
[inspectIT Ocelot](https://inspectit.rocks/) is a zero-configuration Java agent for dynamically collecting application performance,
1211
tracing and behavior data based on the [OpenCensus library](https://opencensus.io/).

build.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ allprojects {
1414

1515
repositories {
1616
mavenCentral()
17-
maven {
18-
name 'Nexus@NT'
19-
url "https://repository.novatec-gmbh.de/content/repositories/3rd_party_libs/"
20-
}
2117
}
2218

2319
apply plugin: 'java'

codequality/idea/code_style.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<code_scheme name="Ocelot" version="173">
22
<option name="LINE_SEPARATOR" value="&#xA;" />
3+
<option name="FORMATTER_TAGS_ENABLED" value="true" />
34
<JavaCodeStyleSettings>
45
<option name="JD_ADD_BLANK_AFTER_PARM_COMMENTS" value="true" />
56
<option name="JD_ADD_BLANK_AFTER_RETURN" value="true" />
@@ -25,4 +26,11 @@
2526
<option name="FOR_BRACE_FORCE" value="3" />
2627
<option name="WRAP_ON_TYPING" value="0" />
2728
</codeStyleSettings>
28-
</code_scheme>
29+
<codeStyleSettings language="JavaScript">
30+
<indentOptions>
31+
<option name="INDENT_SIZE" value="2" />
32+
<option name="CONTINUATION_INDENT_SIZE" value="2" />
33+
<option name="TAB_SIZE" value="2" />
34+
</indentOptions>
35+
</codeStyleSettings>
36+
</code_scheme>

components/inspectit-ocelot-configdocsgenerator/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,6 @@ tasks.named('test') {
5252
// Use JUnit Platform for unit tests.
5353
useJUnitPlatform()
5454
}
55-
56-
sourceCompatibility = 1.8
55+
//to guarantee that the Configuration Server is compatible with Java 8 runtime environments
56+
sourceCompatibility = 1.8 // Java version compatibility to use when compiling Java source.
57+
targetCompatibility = 1.8 // Java version to generate classes for.

components/inspectit-ocelot-configurationserver-ui/.eslintrc

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,16 @@
1414
"plugin:react/recommended",
1515
"plugin:prettier/recommended"
1616
],
17-
"parser": "babel-eslint",
17+
"parser": "@babel/eslint-parser",
1818
"parserOptions": {
1919
"sourceType": "module",
2020
"ecmaVersion": 2018,
2121
"ecmaFeatures": {
2222
"jsx": true
23+
},
24+
"requireConfigFile": false,
25+
"babelOptions": {
26+
"presets": ["@babel/preset-react"]
2327
}
2428
},
2529
"settings": {
@@ -42,6 +46,8 @@
4246
"no-multi-spaces": "error",
4347
"import/first": "error",
4448
"import/no-useless-path-segments": "error",
45-
"react/prop-types": "warn"
49+
"react/prop-types": "warn",
50+
"prettier/prettier": ["error", { "endOfLine": "auto" }],
51+
"react/no-unknown-property": ["error", { "ignore": ["jsx", "global", "align"] }]
4652
}
47-
}
53+
}
Binary file not shown.

0 commit comments

Comments
 (0)