Skip to content

Commit

Permalink
added license
Browse files Browse the repository at this point in the history
  • Loading branch information
albab7 committed Apr 10, 2024
1 parent 6a98608 commit 4936fee
Show file tree
Hide file tree
Showing 18 changed files with 271 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/plugin-backend/config-schema.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
Copyright 2024 Mia srl
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 interface Config {
miaPlatform: {
/**
Expand Down
15 changes: 15 additions & 0 deletions packages/plugin-backend/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
/*
Copyright 2024 Mia srl
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 * from './service/router';
export * from './service/miaPlatformEntityProvider'
15 changes: 15 additions & 0 deletions packages/plugin-backend/src/run.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
Copyright 2024 Mia srl
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 { getRootLogger } from '@backstage/backend-common';
import yn from 'yn';
import { startStandaloneServer } from './service/standaloneServer';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
Copyright 2024 Mia srl
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 { Config } from "@backstage/config";
import { MiaPlatformEntityProvider, Project, ProjectConfiguration } from "./miaPlatformEntityProvider";
import * as winston from "winston";
Expand Down
15 changes: 15 additions & 0 deletions packages/plugin-backend/src/service/miaPlatformEntityProvider.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
Copyright 2024 Mia srl
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 { DeferredEntity, EntityProvider, EntityProviderConnection } from '@backstage/plugin-catalog-node';
import { Config } from '@backstage/config';
import crypto from 'crypto'
Expand Down
15 changes: 15 additions & 0 deletions packages/plugin-backend/src/service/router.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
Copyright 2024 Mia srl
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 { errorHandler } from '@backstage/backend-common';
import { Config } from '@backstage/config';
import express from 'express';
Expand Down
15 changes: 15 additions & 0 deletions packages/plugin-backend/src/service/standaloneServer.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
Copyright 2024 Mia srl
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 { createServiceBuilder } from '@backstage/backend-common';
import { Server } from 'http';
import { Logger } from 'winston';
Expand Down
15 changes: 15 additions & 0 deletions packages/plugin-backend/src/setupTests.ts
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
/*
Copyright 2024 Mia srl
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 {};
15 changes: 15 additions & 0 deletions packages/plugin-frontend/src/MiaPlatformIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
Copyright 2024 Mia srl
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 SvgIcon from '@material-ui/core/SvgIcon';
import { IconComponent } from '@backstage/core-plugin-api';
import React from 'react';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
Copyright 2024 Mia srl
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 React, { useCallback, useEffect, useState } from 'react';
import { Table, TableColumn, Content, ContentHeader, LinkButton, Progress, ResponseErrorPanel, Link } from '@backstage/core-components';
import { Entity } from '@backstage/catalog-model'
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
/*
Copyright 2024 Mia srl
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 { MiaProjectsFetchComponent } from './MiaProjectsFetchComponent';
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
Copyright 2024 Mia srl
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 React, { useState } from 'react';
import { Grid } from '@material-ui/core';
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
/*
Copyright 2024 Mia srl
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 { MiaProjectsTableComponent } from './MiaProjectsTableComponent';
15 changes: 15 additions & 0 deletions packages/plugin-frontend/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
Copyright 2024 Mia srl
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 './randomuuid'

export { miaPlatformPluginFrontendPlugin, MiaPlatformPluginFrontendPage } from './plugin';
Expand Down
15 changes: 15 additions & 0 deletions packages/plugin-frontend/src/plugin.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
Copyright 2024 Mia srl
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 { createPlugin, createRoutableExtension } from '@backstage/core-plugin-api';

import { rootRouteRef } from './routes';
Expand Down
16 changes: 16 additions & 0 deletions packages/plugin-frontend/src/randomuuid.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
Copyright 2024 Mia srl
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.
*/

/* eslint-disable */

// @ts-nocheck
Expand Down
15 changes: 15 additions & 0 deletions packages/plugin-frontend/src/routes.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
Copyright 2024 Mia srl
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 { createRouteRef } from '@backstage/core-plugin-api';

export const rootRouteRef = createRouteRef({
Expand Down
15 changes: 15 additions & 0 deletions packages/plugin-frontend/typings/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
Copyright 2024 Mia srl
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.
*/
declare module '*.svg' {
const ReactComponent: React.ElementType
export default ReactComponent
Expand Down

0 comments on commit 4936fee

Please sign in to comment.