From 3c86dfd327bfa0dadd918f2a952b81a089f1ab51 Mon Sep 17 00:00:00 2001 From: sonali623 Date: Tue, 3 Dec 2024 06:51:32 +0000 Subject: [PATCH] add license header all files --- Gruntfile.js | 15 +++++++++++++++ specs/datasource.spec.ts | 15 +++++++++++++++ specs/suggestion.spec.ts | 15 +++++++++++++++ src/config_ctrl.ts | 15 +++++++++++++++ src/css/query_editor.css | 15 +++++++++++++++ src/datasource.ts | 15 +++++++++++++++ src/module.ts | 15 +++++++++++++++ src/partials/annotations.editor.html | 15 +++++++++++++++ src/partials/config.html | 15 +++++++++++++++ src/partials/query.editor.html | 15 +++++++++++++++ src/partials/query.options.html | 15 +++++++++++++++ src/query_ctrl.ts | 15 +++++++++++++++ src/suggestion.ts | 15 +++++++++++++++ 13 files changed, 195 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index a0c9d56..f889b6d 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,3 +1,18 @@ +/** + * Copyright 2024 Goldman Sachs. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ module.exports = function(grunt) { require('load-grunt-tasks')(grunt); diff --git a/specs/datasource.spec.ts b/specs/datasource.spec.ts index a59678d..223a627 100644 --- a/specs/datasource.spec.ts +++ b/specs/datasource.spec.ts @@ -1,3 +1,18 @@ +/** + * Copyright 2024 Goldman Sachs. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ import TimeseriesApiDatasource from '../src/datasource'; import * as sinon from 'sinon'; diff --git a/specs/suggestion.spec.ts b/specs/suggestion.spec.ts index 5309b9a..8b0cc43 100644 --- a/specs/suggestion.spec.ts +++ b/specs/suggestion.spec.ts @@ -1,3 +1,18 @@ +/** + * Copyright 2024 Goldman Sachs. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ import Suggestion from '../src/suggestion'; import * as sinon from 'sinon'; diff --git a/src/config_ctrl.ts b/src/config_ctrl.ts index 9ba6163..7f02bd7 100644 --- a/src/config_ctrl.ts +++ b/src/config_ctrl.ts @@ -1,3 +1,18 @@ +/** + * Copyright 2024 Goldman Sachs. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ export class ApiConfigCtrl { static templateUrl = 'partials/config.html'; current: any; diff --git a/src/css/query_editor.css b/src/css/query_editor.css index ceabefd..0ffb769 100644 --- a/src/css/query_editor.css +++ b/src/css/query_editor.css @@ -1,3 +1,18 @@ +/** + * Copyright 2024 Goldman Sachs. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ .min-width-10 { min-width: 10rem; } diff --git a/src/datasource.ts b/src/datasource.ts index df47576..83706c4 100644 --- a/src/datasource.ts +++ b/src/datasource.ts @@ -1,3 +1,18 @@ +/** + * Copyright 2024 Goldman Sachs. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ import _ from 'lodash'; import Suggestion from './suggestion'; diff --git a/src/module.ts b/src/module.ts index 737f234..846a202 100644 --- a/src/module.ts +++ b/src/module.ts @@ -1,3 +1,18 @@ +/** + * Copyright 2024 Goldman Sachs. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ import TimeseriesApiDatasource from './datasource'; import {ApiDatasourceQueryCtrl} from './query_ctrl'; import {ApiConfigCtrl} from './config_ctrl'; diff --git a/src/partials/annotations.editor.html b/src/partials/annotations.editor.html index d3d25e3..8265fb5 100644 --- a/src/partials/annotations.editor.html +++ b/src/partials/annotations.editor.html @@ -1,3 +1,18 @@ +
Query
diff --git a/src/partials/config.html b/src/partials/config.html index 81f4534..1ac2e27 100644 --- a/src/partials/config.html +++ b/src/partials/config.html @@ -1,3 +1,18 @@ + diff --git a/src/partials/query.editor.html b/src/partials/query.editor.html index 89cbccb..ae66959 100644 --- a/src/partials/query.editor.html +++ b/src/partials/query.editor.html @@ -1,3 +1,18 @@ +
diff --git a/src/partials/query.options.html b/src/partials/query.options.html index b460011..98340c3 100644 --- a/src/partials/query.options.html +++ b/src/partials/query.options.html @@ -1,3 +1,18 @@ +
diff --git a/src/query_ctrl.ts b/src/query_ctrl.ts index 4457ac7..090decb 100644 --- a/src/query_ctrl.ts +++ b/src/query_ctrl.ts @@ -1,3 +1,18 @@ +/** + * Copyright 2024 Goldman Sachs. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ /// import _ from 'lodash'; import {QueryCtrl} from 'app/plugins/sdk'; diff --git a/src/suggestion.ts b/src/suggestion.ts index 912cf0b..7d6b640 100644 --- a/src/suggestion.ts +++ b/src/suggestion.ts @@ -1,3 +1,18 @@ +/** + * Copyright 2024 Goldman Sachs. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ import _ from 'lodash'; export default class Suggestion {