Skip to content

Commit a06b40f

Browse files
committed
- Remove copyright from source , add it in component_owners.yml
1 parent 34afcad commit a06b40f

File tree

10 files changed

+18
-59
lines changed

10 files changed

+18
-59
lines changed

.github/component_owners.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ components:
116116
plugins/node/opentelemetry-instrumentation-net:
117117
- seemk
118118
plugins/node/opentelemetry-instrumentation-oracledb:
119-
- sudarshan12s
120-
- sharadraju
119+
- sudarshan12s (Copyright (c) 2025, Oracle and/or its affiliates.)
120+
- sharadraju (Copyright (c) 2025, Oracle and/or its affiliates.)
121121
plugins/node/instrumentation-runtime-node:
122122
- d4nyll
123123
plugins/node/opentelemetry-instrumentation-pg:
Lines changed: 4 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,7 @@
1-
const parentConfig = require('../../../eslint.config.js');
2-
31
module.exports = {
4-
extends: '../../../eslint.config.js', // Extends the top-level config
5-
ignorePatterns: [
6-
...(parentConfig.ignorePatterns || []), // Retain parent's ignorePatterns array
7-
'src/version.ts', // ignore this file
8-
],
9-
env: {
10-
mocha: true,
11-
node: true
2+
"env": {
3+
"mocha": true,
4+
"node": true
125
},
13-
rules: {
14-
"header/header": ["error", "block", [{
15-
pattern: /\* Copyright The OpenTelemetry Authors(?:, [^,\r\n]*)?[\r\n]+ \*[\r\n]+ \* Licensed under the Apache License, Version 2\.0 \(the "License"\);[\r\n]+ \* you may not use this file except in compliance with the License\.[\r\n]+ \* You may obtain a copy of the License at[\r\n]+ \*[\r\n]+ \* {6}https:\/\/www\.apache\.org\/licenses\/LICENSE-2\.0[\r\n]+ \*[\r\n]+ \* Unless required by applicable law or agreed to in writing, software[\r\n]+ \* distributed under the License is distributed on an "AS IS" BASIS,[\r\n]+ \* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.[\r\n]+ \* See the License for the specific language governing permissions and[\r\n]+ \* limitations under the License\.[\r\n]+ \*[\r\n]+ \* Copyright \(c\) 2025, Oracle and\/or its affiliates\.[\r\n]+ \*/gm,
16-
template: `
17-
* Copyright The OpenTelemetry Authors
18-
*
19-
* Licensed under the Apache License, Version 2.0 (the "License");
20-
* you may not use this file except in compliance with the License.
21-
* You may obtain a copy of the License at
22-
*
23-
* https://www.apache.org/licenses/LICENSE-2.0
24-
*
25-
* Unless required by applicable law or agreed to in writing, software
26-
* distributed under the License is distributed on an "AS IS" BASIS,
27-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
28-
* See the License for the specific language governing permissions and
29-
* limitations under the License.
30-
*
31-
* Copyright (c) 2025, Oracle and/or its affiliates.
32-
* `
33-
}]]
34-
}
6+
...require('../../../eslint.config.js')
357
}
36-

plugins/node/opentelemetry-instrumentation-oracledb/src/OracleTelemetryTraceHandler.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
15-
*
16-
* Copyright (c) 2025, Oracle and/or its affiliates.
17-
* */
15+
*/
16+
1817
import { safeExecuteInTheMiddle } from '@opentelemetry/instrumentation';
1918
import {
2019
Span,

plugins/node/opentelemetry-instrumentation-oracledb/src/constants.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
15-
*
16-
* Copyright (c) 2025, Oracle and/or its affiliates.
17-
* */
15+
*/
1816

1917
// Oracle specific attributes not covered by standard semantic conventions.
2018
// See: https://github.com/open-telemetry/semantic-conventions/pull/1911

plugins/node/opentelemetry-instrumentation-oracledb/src/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
15-
*
16-
* Copyright (c) 2025, Oracle and/or its affiliates.
17-
* */
15+
*/
1816

1917
export * from './instrumentation';
2018
export * from './types';

plugins/node/opentelemetry-instrumentation-oracledb/src/instrumentation.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
15-
*
16-
* Copyright (c) 2025, Oracle and/or its affiliates.
17-
* */
15+
*/
16+
1817
import {
1918
InstrumentationBase,
2019
InstrumentationNodeModuleDefinition,

plugins/node/opentelemetry-instrumentation-oracledb/src/internal-types.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
15-
*
16-
* Copyright (c) 2025, Oracle and/or its affiliates.
17-
* */
15+
*/
1816

1917
import type * as oracledbTypes from 'oracledb';
2018
import type * as api from '@opentelemetry/api';

plugins/node/opentelemetry-instrumentation-oracledb/src/semconv.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
15-
*
16-
* Copyright (c) 2025, Oracle and/or its affiliates.
17-
* */
15+
*/
1816

1917
/**
2018
* The database management system (DBMS) product as identified

plugins/node/opentelemetry-instrumentation-oracledb/src/types.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
15-
*
16-
* Copyright (c) 2025, Oracle and/or its affiliates.
17-
* */
15+
*/
16+
1817
import type * as api from '@opentelemetry/api';
1918
import { InstrumentationConfig } from '@opentelemetry/instrumentation';
2019

plugins/node/opentelemetry-instrumentation-oracledb/test/oracle.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
15-
*
16-
* Copyright (c) 2025, Oracle and/or its affiliates.
17-
* */
15+
*/
16+
1817
import {
1918
Attributes,
2019
SpanStatusCode,

0 commit comments

Comments
 (0)