Skip to content

Commit 923aab5

Browse files
committed
chore: add licensing line
1 parent d6767a4 commit 923aab5

21 files changed

+21
-0
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: Apache-2.0
12
*/node_modules
23
coverage
34
template

.editorconfig

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: Apache-2.0
12
root = true
23

34
[*]

.env.template

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: Apache-2.0
12
FUNCTION_NAME='rule-901'
23
RULE_NAME='901'
34
RULE_VERSION='1.0.0'

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: Apache-2.0
12
coverage
23
templates
34
build

.eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: Apache-2.0
12
module.exports = {
23
parser: '@typescript-eslint/parser', // Specifies the ESLint parser
34
plugins: ['@typescript-eslint', 'prettier'],

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: Apache-2.0
12
# Logs
23
logs
34
*.log

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
# SPDX-License-Identifier: Apache-2.0
12
@frmscoe:registry=https://npm.pkg.github.com
23
//npm.pkg.github.com/:_authToken=${GH_TOKEN}

.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: Apache-2.0
12
# Ignore artifacts:
23
build
34
coverage

__tests__/__mocks__/arango.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: Apache-2.0
12
const arangojs = require('arangojs');
23

34
class MockDatabase {

__tests__/__mocks__/ioredis.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
// SPDX-License-Identifier: Apache-2.0
12
// Dependency hoisting so third party library uses mock
23
module.exports = require('ioredis-mock');

__tests__/unit/logic.service.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: Apache-2.0
12
import {
23
DatabaseManagerInstance,
34
LoggerService,

deployment.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: Apache-2.0
12
apiVersion: apps/v1
23
kind: Deployment
34
metadata:

docker-compose.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: Apache-2.0
12
services:
23
node:
34
image: rule-executer

jest.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: Apache-2.0
12
/*
23
* For a detailed explanation regarding each configuration property and type check, visit:
34
* https://jestjs.io/docs/en/configuration.html

service.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: Apache-2.0
12
apiVersion: v1
23
kind: Service
34
metadata:

src/apm.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: Apache-2.0
12
import { Apm } from '@frmscoe/frms-coe-lib/lib/services/apm';
23
import { config } from './config';
34

src/config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: Apache-2.0
12
import path from 'path';
23
import { config as dotenv } from 'dotenv';
34
import { type IConfig } from './interfaces/iConfig';

src/controllers/execute.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: Apache-2.0
12
import { unwrap } from '@frmscoe/frms-coe-lib/lib/helpers/unwrap';
23
import {
34
type RuleConfig,

src/helpers/determineOutcome.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: Apache-2.0
12
import {
23
type RuleConfig,
34
type RuleResult,

src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: Apache-2.0
12
import './apm';
23
import { config } from './config';
34
import NodeCache from 'node-cache';

src/interfaces/iConfig.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: Apache-2.0
12
import { type RedisConfig } from '@frmscoe/frms-coe-lib/lib/interfaces';
23
export interface IConfig {
34
logger: {

0 commit comments

Comments
 (0)