diff --git a/src/main/java/org/commonjava/indy/service/ui/models/auth/UserInfo.java b/src/main/java/org/commonjava/indy/service/ui/models/auth/UserInfo.java index 93f8436..d8b299c 100644 --- a/src/main/java/org/commonjava/indy/service/ui/models/auth/UserInfo.java +++ b/src/main/java/org/commonjava/indy/service/ui/models/auth/UserInfo.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2024 Red Hat, Inc. + * Copyright (C) 2023 Red Hat, Inc. (https://github.com/Commonjava/indy-ui-service) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/webui/nodemon.js b/src/main/webui/nodemon.js index fe16291..9808ea1 100644 --- a/src/main/webui/nodemon.js +++ b/src/main/webui/nodemon.js @@ -1,3 +1,18 @@ +/** + * Copyright (C) 2023 Red Hat, Inc. (https://github.com/Commonjava/indy-ui-service) + * + * 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. + */ { "watch": ["src/server/"] } diff --git a/src/main/webui/setupTests.js b/src/main/webui/setupTests.js index 3f4d094..300e791 100644 --- a/src/main/webui/setupTests.js +++ b/src/main/webui/setupTests.js @@ -1,3 +1,18 @@ +/** + * Copyright (C) 2023 Red Hat, Inc. (https://github.com/Commonjava/indy-ui-service) + * + * 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 fetchMock from "fetch-mock"; fetchMock.restore(); diff --git a/src/main/webui/src/app/components/content/common/StoreListingWidget.jsx b/src/main/webui/src/app/components/content/common/StoreListingWidget.jsx index 3d558c8..a4235b1 100644 --- a/src/main/webui/src/app/components/content/common/StoreListingWidget.jsx +++ b/src/main/webui/src/app/components/content/common/StoreListingWidget.jsx @@ -1,5 +1,5 @@ /** - * Copyright (C) 2024 Red Hat, Inc. (https://github.com/Commonjava/indy-ui-service) + * Copyright (C) 2023 Red Hat, Inc. (https://github.com/Commonjava/indy-ui-service) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - import React, {Fragment, useState} from 'react'; import {Link} from 'react-router-dom'; import {PropTypes} from 'prop-types'; diff --git a/src/main/webui/src/app/components/content/group/GroupEdit.jsx b/src/main/webui/src/app/components/content/group/GroupEdit.jsx index 9f92daf..4e7aba1 100644 --- a/src/main/webui/src/app/components/content/group/GroupEdit.jsx +++ b/src/main/webui/src/app/components/content/group/GroupEdit.jsx @@ -1,5 +1,5 @@ /** - * Copyright (C) 2024 Red Hat, Inc. (https://github.com/Commonjava/indy-ui-service) + * Copyright (C) 2023 Red Hat, Inc. (https://github.com/Commonjava/indy-ui-service) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - import React, {useState, useEffect} from 'react'; import {useLocation, useParams} from 'react-router-dom'; import {useForm} from 'react-hook-form'; diff --git a/src/main/webui/src/app/components/content/group/GroupEdit.test.jsx b/src/main/webui/src/app/components/content/group/GroupEdit.test.jsx index 2734830..ad9354f 100644 --- a/src/main/webui/src/app/components/content/group/GroupEdit.test.jsx +++ b/src/main/webui/src/app/components/content/group/GroupEdit.test.jsx @@ -1,3 +1,18 @@ +/** + * Copyright (C) 2023 Red Hat, Inc. (https://github.com/Commonjava/indy-ui-service) + * + * 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 camelcase */ /** * Copyright (C) 2024 Red Hat, Inc. (https://github.com/Commonjava/indy-ui-service) diff --git a/src/main/webui/src/app/components/content/group/GroupList.jsx b/src/main/webui/src/app/components/content/group/GroupList.jsx index 0c64c47..da93371 100644 --- a/src/main/webui/src/app/components/content/group/GroupList.jsx +++ b/src/main/webui/src/app/components/content/group/GroupList.jsx @@ -1,5 +1,5 @@ /** - * Copyright (C) 2024 Red Hat, Inc. (https://github.com/Commonjava/indy-ui-service) + * Copyright (C) 2023 Red Hat, Inc. (https://github.com/Commonjava/indy-ui-service) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - import React, {useEffect, useState} from "react"; import {useParams} from "react-router-dom"; import {ListJsonDebugger} from "../common/Debugger.jsx"; diff --git a/src/main/webui/src/app/components/content/group/GroupList.test.jsx b/src/main/webui/src/app/components/content/group/GroupList.test.jsx index ba47aa9..df7af46 100644 --- a/src/main/webui/src/app/components/content/group/GroupList.test.jsx +++ b/src/main/webui/src/app/components/content/group/GroupList.test.jsx @@ -1,5 +1,5 @@ /** - * Copyright (C) 2024 Red Hat, Inc. (https://github.com/Commonjava/indy-ui-service) + * Copyright (C) 2023 Red Hat, Inc. (https://github.com/Commonjava/indy-ui-service) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - import React from "react"; import {MemoryRouter, Route, Routes} from 'react-router-dom'; import {render, screen, cleanup, waitFor} from '@testing-library/react'; diff --git a/src/main/webui/src/server/app.js b/src/main/webui/src/server/app.js index fc094c8..2a3c7b9 100644 --- a/src/main/webui/src/server/app.js +++ b/src/main/webui/src/server/app.js @@ -1,3 +1,18 @@ +/** + * Copyright (C) 2023 Red Hat, Inc. (https://github.com/Commonjava/indy-ui-service) + * + * 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 no-console */ import compression from 'compression'; import express from 'express'; diff --git a/src/main/webui/src/server/config/AppConfig.js b/src/main/webui/src/server/config/AppConfig.js index c47087b..0bfb359 100644 --- a/src/main/webui/src/server/config/AppConfig.js +++ b/src/main/webui/src/server/config/AppConfig.js @@ -1,3 +1,18 @@ +/** + * Copyright (C) 2023 Red Hat, Inc. (https://github.com/Commonjava/indy-ui-service) + * + * 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 const Config = { SERVER_PORT: 4000, APP_ROOT: "/#" diff --git a/src/test/java/org/commonjava/indy/service/ui/jaxrs/auth/AuthResourceTest.java b/src/test/java/org/commonjava/indy/service/ui/jaxrs/auth/AuthResourceTest.java index 53f52ab..ee10331 100644 --- a/src/test/java/org/commonjava/indy/service/ui/jaxrs/auth/AuthResourceTest.java +++ b/src/test/java/org/commonjava/indy/service/ui/jaxrs/auth/AuthResourceTest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2024 Red Hat, Inc. + * Copyright (C) 2023 Red Hat, Inc. (https://github.com/Commonjava/indy-ui-service) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/org/commonjava/indy/service/ui/jaxrs/auth/AuthTestProfile.java b/src/test/java/org/commonjava/indy/service/ui/jaxrs/auth/AuthTestProfile.java index d830b00..ede9109 100644 --- a/src/test/java/org/commonjava/indy/service/ui/jaxrs/auth/AuthTestProfile.java +++ b/src/test/java/org/commonjava/indy/service/ui/jaxrs/auth/AuthTestProfile.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2024 Red Hat, Inc. + * Copyright (C) 2023 Red Hat, Inc. (https://github.com/Commonjava/indy-ui-service) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.