This is an automated email from the ASF dual-hosted git repository. ofuks pushed a commit to branch v2.2-RC1 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit d3ad0e79c16c8dcf627d4a8924a27b1fc8cbe5ff Merge: 36a160b d70bb8d Author: Oleh Fuks <olegfuk...@gmail.com> AuthorDate: Thu Nov 7 12:42:13 2019 +0200 Updated Copyright integration-tests-cucumber/pom.xml | 19 ++++++++++++++++++ .../main/java/org/apache/dlab/dto/EndpointDTO.java | 19 ++++++++++++++++++ .../java/org/apache/dlab/mongo/MongoDBHelper.java | 19 ++++++++++++++++++ .../java/org/apache/dlab/util/JacksonMapper.java | 19 ++++++++++++++++++ .../java/org/apache/dlab/util/PropertyHelper.java | 19 ++++++++++++++++++ .../src/test/java/dlab/Constants.java | 19 ++++++++++++++++++ .../src/test/java/dlab/RunCucumberTest.java | 19 ++++++++++++++++++ .../src/test/java/dlab/endpoint/EndpointSteps.java | 19 ++++++++++++++++++ .../src/test/java/dlab/login/LoginSteps.java | 19 ++++++++++++++++++ .../src/test/resources/config.properties | 18 +++++++++++++++++ .../src/test/resources/dlab/endpoint.feature | 18 +++++++++++++++++ .../src/test/resources/dlab/login.feature | 18 +++++++++++++++++ services/billing-gcp/billing.yml | 21 ++++++++++++++++++++ .../dlab/billing/gcp/model/BillingHistory.java | 19 ++++++++++++++++++ .../gcp/repository/BillingHistoryRepository.java | 19 ++++++++++++++++++ .../billing-gcp/src/main/resources/application.yml | 21 ++++++++++++++++++++ .../gcp/service/BillingServiceImplTest.java | 19 ++++++++++++++++++ .../com/epam/dlab/dto/aws/AwsCloudSettings.java | 2 ++ .../epam/dlab/dto/azure/AzureCloudSettings.java | 2 ++ .../epam/dlab/dto/base/project/ProjectResult.java | 19 ++++++++++++++++++ .../com/epam/dlab/dto/gcp/GcpCloudSettings.java | 2 ++ .../epam/dlab/dto/project/ProjectActionDTO.java | 19 ++++++++++++++++++ .../epam/dlab/dto/project/ProjectCreateDTO.java | 19 ++++++++++++++++++ services/provisioning-service/provisioning.yml | 1 + .../epam/dlab/backendapi/CloudConfiguration.java | 20 +++++++++++++++++++ .../DropwizardBearerTokenFilterImpl.java | 19 ++++++++++++++++++ .../backendapi/core/commands/CommandBuilder.java | 3 +++ .../response/handlers/ProjectCallbackHandler.java | 19 ++++++++++++++++++ .../dlab/backendapi/resources/ProjectResource.java | 19 ++++++++++++++++++ .../dlab/backendapi/service/ProjectService.java | 19 ++++++++++++++++++ .../service/impl/ProjectServiceImpl.java | 19 ++++++++++++++++++ services/self-service/entrypoint_aws.sh | 20 +++++++++++++++++++ services/self-service/entrypoint_gcp.sh | 20 +++++++++++++++++++ .../epam/dlab/backendapi/annotation/Project.java | 19 ++++++++++++++++++ .../backendapi/auth/KeycloakAuthenticator.java | 19 ++++++++++++++++++ .../filters/DropwizardBearerTokenFilterImpl.java | 19 ++++++++++++++++++ .../dlab/backendapi/conf/CloudConfiguration.java | 19 ++++++++++++++++++ .../backendapi/conf/KeycloakConfiguration.java | 19 ++++++++++++++++++ .../com/epam/dlab/backendapi/dao/EndpointDAO.java | 19 ++++++++++++++++++ .../epam/dlab/backendapi/dao/EndpointDAOImpl.java | 19 ++++++++++++++++++ .../com/epam/dlab/backendapi/dao/ProjectDAO.java | 19 ++++++++++++++++++ .../epam/dlab/backendapi/dao/ProjectDAOImpl.java | 19 ++++++++++++++++++ .../com/epam/dlab/backendapi/domain/BaseShape.java | 19 ++++++++++++++++++ .../dlab/backendapi/domain/CreateProjectDTO.java | 19 ++++++++++++++++++ .../backendapi/domain/DataEngineServiceShape.java | 19 ++++++++++++++++++ .../dlab/backendapi/domain/DataEngineShape.java | 19 ++++++++++++++++++ .../epam/dlab/backendapi/domain/EndpointDTO.java | 19 ++++++++++++++++++ .../epam/dlab/backendapi/domain/EndpointShape.java | 19 ++++++++++++++++++ .../dlab/backendapi/domain/ExploratoryShape.java | 19 ++++++++++++++++++ .../epam/dlab/backendapi/domain/ProjectDTO.java | 19 ++++++++++++++++++ .../dlab/backendapi/domain/ProjectEndpointDTO.java | 19 ++++++++++++++++++ .../dlab/backendapi/domain/ProjectManagingDTO.java | 19 ++++++++++++++++++ .../com/epam/dlab/backendapi/domain/SsnShape.java | 19 ++++++++++++++++++ .../backendapi/domain/UpdateProjectBudgetDTO.java | 19 ++++++++++++++++++ .../dlab/backendapi/domain/UpdateProjectDTO.java | 19 ++++++++++++++++++ .../dropwizard/bundles/DlabKeycloakBundle.java | 19 ++++++++++++++++++ .../dropwizard/listeners/MongoStartupListener.java | 19 ++++++++++++++++++ .../backendapi/resources/EndpointResource.java | 19 ++++++++++++++++++ .../backendapi/resources/KeycloakResource.java | 19 ++++++++++++++++++ .../dlab/backendapi/resources/ProjectResource.java | 19 ++++++++++++++++++ .../resources/callback/ProjectCallback.java | 19 ++++++++++++++++++ .../dlab/backendapi/resources/dto/KeysDTO.java | 19 ++++++++++++++++++ .../resources/dto/ProjectActionFormDTO.java | 19 ++++++++++++++++++ .../dlab/backendapi/service/EndpointService.java | 19 ++++++++++++++++++ .../dlab/backendapi/service/GuacamoleService.java | 19 ++++++++++++++++++ .../dlab/backendapi/service/KeycloakService.java | 19 ++++++++++++++++++ .../backendapi/service/KeycloakServiceImpl.java | 19 ++++++++++++++++++ .../dlab/backendapi/service/ProjectService.java | 19 ++++++++++++++++++ .../dlab/backendapi/service/SecurityService.java | 19 ++++++++++++++++++ .../backendapi/service/SecurityServiceImpl.java | 19 ++++++++++++++++++ .../epam/dlab/backendapi/service/ShapeFormat.java | 19 ++++++++++++++++++ .../epam/dlab/backendapi/service/TagService.java | 19 ++++++++++++++++++ .../dlab/backendapi/service/TagServiceImpl.java | 19 ++++++++++++++++++ .../service/impl/EndpointServiceImpl.java | 19 ++++++++++++++++++ .../service/impl/GuacamoleServiceImpl.java | 19 ++++++++++++++++++ .../service/impl/ProjectServiceImpl.java | 19 ++++++++++++++++++ .../servlet/guacamole/GuacamoleSecurityFilter.java | 19 ++++++++++++++++++ .../servlet/guacamole/GuacamoleServlet.java | 19 ++++++++++++++++++ .../epam/dlab/backendapi/util/KeycloakUtil.java | 19 ++++++++++++++++++ .../src/main/resources/webapp/browserslist | 23 +++++++++++++++++++++- .../backendapi/resources/KeycloakResourceTest.java | 19 ++++++++++++++++++ .../backendapi/resources/ProjectResourceTest.java | 19 ++++++++++++++++++ .../service/KeycloakServiceImplTest.java | 19 ++++++++++++++++++ 83 files changed, 1499 insertions(+), 1 deletion(-) diff --cc integration-tests-cucumber/pom.xml index d96a492,d96a492..bb57cc1 --- a/integration-tests-cucumber/pom.xml +++ b/integration-tests-cucumber/pom.xml @@@ -1,3 -1,3 +1,22 @@@ ++<!-- ++ ~ Licensed to the Apache Software Foundation (ASF) under one ++ ~ or more contributor license agreements. See the NOTICE file ++ ~ distributed with this work for additional information ++ ~ regarding copyright ownership. The ASF licenses this file ++ ~ to you 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. ++ --> ++ <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" diff --cc integration-tests-cucumber/src/main/java/org/apache/dlab/dto/EndpointDTO.java index a06a4d7,a06a4d7..7cfdad2 --- a/integration-tests-cucumber/src/main/java/org/apache/dlab/dto/EndpointDTO.java +++ b/integration-tests-cucumber/src/main/java/org/apache/dlab/dto/EndpointDTO.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package org.apache.dlab.dto; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --cc integration-tests-cucumber/src/main/java/org/apache/dlab/mongo/MongoDBHelper.java index 11e4dea,11e4dea..4903fd4 --- a/integration-tests-cucumber/src/main/java/org/apache/dlab/mongo/MongoDBHelper.java +++ b/integration-tests-cucumber/src/main/java/org/apache/dlab/mongo/MongoDBHelper.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package org.apache.dlab.mongo; import com.mongodb.client.MongoClient; diff --cc integration-tests-cucumber/src/main/java/org/apache/dlab/util/JacksonMapper.java index a18d4d9,a18d4d9..ae4d5ce --- a/integration-tests-cucumber/src/main/java/org/apache/dlab/util/JacksonMapper.java +++ b/integration-tests-cucumber/src/main/java/org/apache/dlab/util/JacksonMapper.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package org.apache.dlab.util; import com.fasterxml.jackson.core.JsonProcessingException; diff --cc integration-tests-cucumber/src/main/java/org/apache/dlab/util/PropertyHelper.java index 48d7cca,48d7cca..71688e2 --- a/integration-tests-cucumber/src/main/java/org/apache/dlab/util/PropertyHelper.java +++ b/integration-tests-cucumber/src/main/java/org/apache/dlab/util/PropertyHelper.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package org.apache.dlab.util; import java.io.FileInputStream; diff --cc integration-tests-cucumber/src/test/java/dlab/Constants.java index 4e30e99,4e30e99..8e1b6b9 --- a/integration-tests-cucumber/src/test/java/dlab/Constants.java +++ b/integration-tests-cucumber/src/test/java/dlab/Constants.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package dlab; public interface Constants { diff --cc integration-tests-cucumber/src/test/java/dlab/RunCucumberTest.java index fdc8a4c,fdc8a4c..fb03b55 --- a/integration-tests-cucumber/src/test/java/dlab/RunCucumberTest.java +++ b/integration-tests-cucumber/src/test/java/dlab/RunCucumberTest.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package dlab; import cucumber.api.CucumberOptions; diff --cc integration-tests-cucumber/src/test/java/dlab/endpoint/EndpointSteps.java index e66fc33,e66fc33..1c1d43a --- a/integration-tests-cucumber/src/test/java/dlab/endpoint/EndpointSteps.java +++ b/integration-tests-cucumber/src/test/java/dlab/endpoint/EndpointSteps.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package dlab.endpoint; import com.jayway.restassured.http.ContentType; diff --cc integration-tests-cucumber/src/test/java/dlab/login/LoginSteps.java index 32b29cb,32b29cb..fd533e0 --- a/integration-tests-cucumber/src/test/java/dlab/login/LoginSteps.java +++ b/integration-tests-cucumber/src/test/java/dlab/login/LoginSteps.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package dlab.login; import com.jayway.restassured.http.ContentType; diff --cc integration-tests-cucumber/src/test/resources/config.properties index 5cfad3c,5cfad3c..d0cfc24 --- a/integration-tests-cucumber/src/test/resources/config.properties +++ b/integration-tests-cucumber/src/test/resources/config.properties @@@ -1,2 -1,2 +1,20 @@@ ++# ++# Licensed to the Apache Software Foundation (ASF) under one ++# or more contributor license agreements. See the NOTICE file ++# distributed with this work for additional information ++# regarding copyright ownership. The ASF licenses this file ++# to you 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. ++# mongo.connection.string=mongodb://localhost:27017/DLAB mongo.db.name=DLAB diff --cc integration-tests-cucumber/src/test/resources/dlab/endpoint.feature index 7281a24,7281a24..1f7fe14 --- a/integration-tests-cucumber/src/test/resources/dlab/endpoint.feature +++ b/integration-tests-cucumber/src/test/resources/dlab/endpoint.feature @@@ -1,3 -1,3 +1,21 @@@ ++# ++# Licensed to the Apache Software Foundation (ASF) under one ++# or more contributor license agreements. See the NOTICE file ++# distributed with this work for additional information ++# regarding copyright ownership. The ASF licenses this file ++# to you 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. ++# Feature: Endpoint management in DLab Such feature allowed to manage endpoint inside DLab diff --cc integration-tests-cucumber/src/test/resources/dlab/login.feature index 493a51e,493a51e..1675aad --- a/integration-tests-cucumber/src/test/resources/dlab/login.feature +++ b/integration-tests-cucumber/src/test/resources/dlab/login.feature @@@ -1,3 -1,3 +1,21 @@@ ++# ++# Licensed to the Apache Software Foundation (ASF) under one ++# or more contributor license agreements. See the NOTICE file ++# distributed with this work for additional information ++# regarding copyright ownership. The ASF licenses this file ++# to you 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. ++# Feature: DLab login API Used to check DLab login flow diff --cc services/billing-gcp/billing.yml index 522c7ad,522c7ad..8ee8e4d --- a/services/billing-gcp/billing.yml +++ b/services/billing-gcp/billing.yml @@@ -1,3 -1,3 +1,24 @@@ ++# ****************************************************************************** ++# ++# Licensed to the Apache Software Foundation (ASF) under one ++# or more contributor license agreements. See the NOTICE file ++# distributed with this work for additional information ++# regarding copyright ownership. The ASF licenses this file ++# to you 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. ++# ++# ****************************************************************************** ++ server: port: 8088 spring: diff --cc services/billing-gcp/src/main/java/com/epam/dlab/billing/gcp/model/BillingHistory.java index 6abb2d9,6abb2d9..8fb80f1 --- a/services/billing-gcp/src/main/java/com/epam/dlab/billing/gcp/model/BillingHistory.java +++ b/services/billing-gcp/src/main/java/com/epam/dlab/billing/gcp/model/BillingHistory.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.billing.gcp.model; import lombok.AllArgsConstructor; diff --cc services/billing-gcp/src/main/java/com/epam/dlab/billing/gcp/repository/BillingHistoryRepository.java index c375904,c375904..957ced7 --- a/services/billing-gcp/src/main/java/com/epam/dlab/billing/gcp/repository/BillingHistoryRepository.java +++ b/services/billing-gcp/src/main/java/com/epam/dlab/billing/gcp/repository/BillingHistoryRepository.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.billing.gcp.repository; import com.epam.dlab.billing.gcp.model.BillingHistory; diff --cc services/billing-gcp/src/main/resources/application.yml index f1f3ce6,f1f3ce6..3761be3 --- a/services/billing-gcp/src/main/resources/application.yml +++ b/services/billing-gcp/src/main/resources/application.yml @@@ -1,3 -1,3 +1,24 @@@ ++# ****************************************************************************** ++# ++# Licensed to the Apache Software Foundation (ASF) under one ++# or more contributor license agreements. See the NOTICE file ++# distributed with this work for additional information ++# regarding copyright ownership. The ASF licenses this file ++# to you 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. ++# ++# ****************************************************************************** ++ spring: data: mongodb: diff --cc services/billing-gcp/src/test/java/com/epam/dlab/billing/gcp/service/BillingServiceImplTest.java index e002419,e002419..2b8164c --- a/services/billing-gcp/src/test/java/com/epam/dlab/billing/gcp/service/BillingServiceImplTest.java +++ b/services/billing-gcp/src/test/java/com/epam/dlab/billing/gcp/service/BillingServiceImplTest.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.billing.gcp.service; import com.epam.dlab.billing.gcp.dao.BillingDAO; diff --cc services/dlab-model/src/main/java/com/epam/dlab/dto/base/project/ProjectResult.java index 11a6db6,11a6db6..9134f4a --- a/services/dlab-model/src/main/java/com/epam/dlab/dto/base/project/ProjectResult.java +++ b/services/dlab-model/src/main/java/com/epam/dlab/dto/base/project/ProjectResult.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.dto.base.project; import com.epam.dlab.dto.StatusBaseDTO; diff --cc services/dlab-model/src/main/java/com/epam/dlab/dto/project/ProjectActionDTO.java index 23039be,23039be..b8e4718 --- a/services/dlab-model/src/main/java/com/epam/dlab/dto/project/ProjectActionDTO.java +++ b/services/dlab-model/src/main/java/com/epam/dlab/dto/project/ProjectActionDTO.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.dto.project; import com.epam.dlab.dto.ResourceBaseDTO; diff --cc services/dlab-model/src/main/java/com/epam/dlab/dto/project/ProjectCreateDTO.java index 6e11234,6e11234..7f5aa09 --- a/services/dlab-model/src/main/java/com/epam/dlab/dto/project/ProjectCreateDTO.java +++ b/services/dlab-model/src/main/java/com/epam/dlab/dto/project/ProjectCreateDTO.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.dto.project; import com.epam.dlab.dto.ResourceBaseDTO; diff --cc services/provisioning-service/src/main/java/com/epam/dlab/backendapi/DropwizardBearerTokenFilterImpl.java index 9be4251,9be4251..fc2659c --- a/services/provisioning-service/src/main/java/com/epam/dlab/backendapi/DropwizardBearerTokenFilterImpl.java +++ b/services/provisioning-service/src/main/java/com/epam/dlab/backendapi/DropwizardBearerTokenFilterImpl.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi; import org.keycloak.adapters.AdapterDeploymentContext; diff --cc services/provisioning-service/src/main/java/com/epam/dlab/backendapi/core/response/handlers/ProjectCallbackHandler.java index 688edb8,688edb8..d25a2e1 --- a/services/provisioning-service/src/main/java/com/epam/dlab/backendapi/core/response/handlers/ProjectCallbackHandler.java +++ b/services/provisioning-service/src/main/java/com/epam/dlab/backendapi/core/response/handlers/ProjectCallbackHandler.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.core.response.handlers; import com.epam.dlab.backendapi.core.commands.DockerAction; diff --cc services/provisioning-service/src/main/java/com/epam/dlab/backendapi/resources/ProjectResource.java index 005ad9f,005ad9f..2113e8c --- a/services/provisioning-service/src/main/java/com/epam/dlab/backendapi/resources/ProjectResource.java +++ b/services/provisioning-service/src/main/java/com/epam/dlab/backendapi/resources/ProjectResource.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.resources; import com.epam.dlab.auth.UserInfo; diff --cc services/provisioning-service/src/main/java/com/epam/dlab/backendapi/service/ProjectService.java index 65d4b70,65d4b70..8770591 --- a/services/provisioning-service/src/main/java/com/epam/dlab/backendapi/service/ProjectService.java +++ b/services/provisioning-service/src/main/java/com/epam/dlab/backendapi/service/ProjectService.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.service; import com.epam.dlab.auth.UserInfo; diff --cc services/provisioning-service/src/main/java/com/epam/dlab/backendapi/service/impl/ProjectServiceImpl.java index 47c4dee,47c4dee..a368697 --- a/services/provisioning-service/src/main/java/com/epam/dlab/backendapi/service/impl/ProjectServiceImpl.java +++ b/services/provisioning-service/src/main/java/com/epam/dlab/backendapi/service/impl/ProjectServiceImpl.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.service.impl; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/entrypoint_aws.sh index 6137f03,6137f03..b71c097 --- a/services/self-service/entrypoint_aws.sh +++ b/services/self-service/entrypoint_aws.sh @@@ -1,4 -1,4 +1,24 @@@ #!/bin/sh ++# ***************************************************************************** ++# ++# Licensed to the Apache Software Foundation (ASF) under one ++# or more contributor license agreements. See the NOTICE file ++# distributed with this work for additional information ++# regarding copyright ownership. The ASF licenses this file ++# to you 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. ++# ++# ****************************************************************************** /bin/mkdir -p /root/keys diff --cc services/self-service/entrypoint_gcp.sh index c7ec4d3,c7ec4d3..cb750ff --- a/services/self-service/entrypoint_gcp.sh +++ b/services/self-service/entrypoint_gcp.sh @@@ -1,4 -1,4 +1,24 @@@ #!/bin/sh ++# ***************************************************************************** ++# ++# Licensed to the Apache Software Foundation (ASF) under one ++# or more contributor license agreements. See the NOTICE file ++# distributed with this work for additional information ++# regarding copyright ownership. The ASF licenses this file ++# to you 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. ++# ++# ****************************************************************************** #mkdir -p /root/keys #/usr/bin/keytool -genkeypair -alias dlab -keyalg RSA -validity 730 -storepass password \ diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/annotation/Project.java index 5a1e5d4,5a1e5d4..0ce3414 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/annotation/Project.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/annotation/Project.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.annotation; import java.lang.annotation.ElementType; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/auth/KeycloakAuthenticator.java index 5c24010,5c24010..2c2e0d1 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/auth/KeycloakAuthenticator.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/auth/KeycloakAuthenticator.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.auth; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/auth/filters/DropwizardBearerTokenFilterImpl.java index 8c72669,8c72669..df6f5fa --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/auth/filters/DropwizardBearerTokenFilterImpl.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/auth/filters/DropwizardBearerTokenFilterImpl.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.auth.filters; import org.keycloak.adapters.AdapterDeploymentContext; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/conf/CloudConfiguration.java index bdc6ba5,bdc6ba5..c86c8ae --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/conf/CloudConfiguration.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/conf/CloudConfiguration.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.conf; import com.fasterxml.jackson.annotation.JsonProperty; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/conf/KeycloakConfiguration.java index b252de9,b252de9..212d565 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/conf/KeycloakConfiguration.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/conf/KeycloakConfiguration.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.conf; import lombok.Data; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/dao/EndpointDAO.java index 9b85bc3,9b85bc3..d409823 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/EndpointDAO.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/EndpointDAO.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.dao; import com.epam.dlab.backendapi.domain.EndpointDTO; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/dao/EndpointDAOImpl.java index a614773,a614773..16a0408 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/EndpointDAOImpl.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/EndpointDAOImpl.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.dao; import com.epam.dlab.backendapi.domain.EndpointDTO; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/dao/ProjectDAO.java index 95a954c,95a954c..fecf868 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/ProjectDAO.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/ProjectDAO.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.dao; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/dao/ProjectDAOImpl.java index 4607155,4607155..ecddde1 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/ProjectDAOImpl.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/ProjectDAOImpl.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.dao; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/domain/BaseShape.java index 4a56034,4a56034..e9cbd67 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/BaseShape.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/BaseShape.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.domain; import com.epam.dlab.backendapi.service.ShapeFormat; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/domain/CreateProjectDTO.java index 2e315b4,2e315b4..cf4aba1 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/CreateProjectDTO.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/CreateProjectDTO.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.domain; import lombok.Data; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/domain/DataEngineServiceShape.java index 73c0193,73c0193..0df9b9e --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/DataEngineServiceShape.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/DataEngineServiceShape.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.domain; import com.epam.dlab.backendapi.service.ShapeFormat; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/domain/DataEngineShape.java index 8d4c003,8d4c003..7575268 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/DataEngineShape.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/DataEngineShape.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.domain; import com.epam.dlab.backendapi.service.ShapeFormat; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/domain/EndpointDTO.java index 378d71b,378d71b..cefe896 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/EndpointDTO.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/EndpointDTO.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.domain; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/domain/EndpointShape.java index 5f41cad,5f41cad..0b0af9d --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/EndpointShape.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/EndpointShape.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.domain; import com.epam.dlab.dto.UserInstanceStatus; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/domain/ExploratoryShape.java index 74ceab0,74ceab0..169fda1 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/ExploratoryShape.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/ExploratoryShape.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.domain; import com.epam.dlab.dto.UserInstanceStatus; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/domain/ProjectDTO.java index 2f53873,2f53873..90965cd --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/ProjectDTO.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/ProjectDTO.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.domain; import com.epam.dlab.dto.UserInstanceStatus; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/domain/ProjectEndpointDTO.java index 5a2f2ba,5a2f2ba..66b1dac --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/ProjectEndpointDTO.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/ProjectEndpointDTO.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.domain; import com.epam.dlab.dto.UserInstanceStatus; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/domain/ProjectManagingDTO.java index 167128e,167128e..0eb0f69 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/ProjectManagingDTO.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/ProjectManagingDTO.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.domain; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/domain/SsnShape.java index a38a99e,a38a99e..b4aba61 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/SsnShape.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/SsnShape.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.domain; import com.epam.dlab.dto.UserInstanceStatus; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/domain/UpdateProjectBudgetDTO.java index 61ec137,61ec137..f686978 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/UpdateProjectBudgetDTO.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/UpdateProjectBudgetDTO.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.domain; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/domain/UpdateProjectDTO.java index 5121412,5121412..20728c1 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/UpdateProjectDTO.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/UpdateProjectDTO.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.domain; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/dropwizard/bundles/DlabKeycloakBundle.java index 5089c1c,5089c1c..d15d6e8 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/dropwizard/bundles/DlabKeycloakBundle.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/dropwizard/bundles/DlabKeycloakBundle.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.dropwizard.bundles; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/dropwizard/listeners/MongoStartupListener.java index 9d43df4,9d43df4..7424777 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/dropwizard/listeners/MongoStartupListener.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/dropwizard/listeners/MongoStartupListener.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.dropwizard.listeners; import com.epam.dlab.backendapi.conf.SelfServiceApplicationConfiguration; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/resources/EndpointResource.java index ff206df,ff206df..f1e981d --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/EndpointResource.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/EndpointResource.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.resources; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/resources/KeycloakResource.java index 818dfe1,818dfe1..836597b --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/KeycloakResource.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/KeycloakResource.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.resources; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/resources/ProjectResource.java index c361b1b,c361b1b..e7ee7a8 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/ProjectResource.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/ProjectResource.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.resources; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/resources/callback/ProjectCallback.java index 59c31da,59c31da..4500e5e --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/callback/ProjectCallback.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/callback/ProjectCallback.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.resources.callback; import com.epam.dlab.backendapi.dao.ProjectDAO; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/resources/dto/KeysDTO.java index 8093fc9,8093fc9..5bfbb0c --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/dto/KeysDTO.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/dto/KeysDTO.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.resources.dto; import lombok.AllArgsConstructor; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/resources/dto/ProjectActionFormDTO.java index e82f8f6,e82f8f6..08c2aca --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/dto/ProjectActionFormDTO.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/dto/ProjectActionFormDTO.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.resources.dto; import com.fasterxml.jackson.annotation.JsonProperty; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/service/EndpointService.java index fca6c5d,fca6c5d..aa0b2b7 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/EndpointService.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/EndpointService.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.service; import com.epam.dlab.backendapi.domain.EndpointDTO; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/service/GuacamoleService.java index 06dc8b1,06dc8b1..776e409 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/GuacamoleService.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/GuacamoleService.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.service; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/service/KeycloakService.java index e55b0cc,e55b0cc..2259426 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/KeycloakService.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/KeycloakService.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.service; import org.keycloak.representations.AccessTokenResponse; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/service/KeycloakServiceImpl.java index b7c508a,b7c508a..04cf8d9 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/KeycloakServiceImpl.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/KeycloakServiceImpl.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.service; import com.epam.dlab.backendapi.conf.SelfServiceApplicationConfiguration; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/service/ProjectService.java index 1a94259,1a94259..814aff3 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/ProjectService.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/ProjectService.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.service; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/service/SecurityService.java index 9954cff,9954cff..d402545 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/SecurityService.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/SecurityService.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.service; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/service/SecurityServiceImpl.java index b43128d,b43128d..db41a13 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/SecurityServiceImpl.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/SecurityServiceImpl.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.service; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/service/ShapeFormat.java index da224ab,da224ab..e85a5b9 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/ShapeFormat.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/ShapeFormat.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.service; public interface ShapeFormat { diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/service/TagService.java index f436f6d,f436f6d..a095fbc --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/TagService.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/TagService.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.service; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/service/TagServiceImpl.java index 5f1504c,5f1504c..64b3383 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/TagServiceImpl.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/TagServiceImpl.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.service; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/EndpointServiceImpl.java index fd9273c,fd9273c..e1fe3ea --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/EndpointServiceImpl.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/EndpointServiceImpl.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.service.impl; import com.epam.dlab.backendapi.dao.EndpointDAO; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/GuacamoleServiceImpl.java index 2394595,2394595..555479b --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/GuacamoleServiceImpl.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/GuacamoleServiceImpl.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.service.impl; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/ProjectServiceImpl.java index 16663a4,16663a4..049e17e --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/ProjectServiceImpl.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/ProjectServiceImpl.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.service.impl; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/servlet/guacamole/GuacamoleSecurityFilter.java index 447de12,447de12..f77b238 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/servlet/guacamole/GuacamoleSecurityFilter.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/servlet/guacamole/GuacamoleSecurityFilter.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.servlet.guacamole; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/servlet/guacamole/GuacamoleServlet.java index 0c9135e,0c9135e..4933d7c --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/servlet/guacamole/GuacamoleServlet.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/servlet/guacamole/GuacamoleServlet.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.servlet.guacamole; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/src/main/java/com/epam/dlab/backendapi/util/KeycloakUtil.java index 63fc62c,63fc62c..072b963 --- a/services/self-service/src/main/java/com/epam/dlab/backendapi/util/KeycloakUtil.java +++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/util/KeycloakUtil.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.util; import com.epam.dlab.exceptions.DlabException; diff --cc services/self-service/src/main/resources/webapp/browserslist index 8084853,8084853..6382d82 --- a/services/self-service/src/main/resources/webapp/browserslist +++ b/services/self-service/src/main/resources/webapp/browserslist @@@ -1,3 -1,3 +1,24 @@@ ++# ***************************************************************************** ++# ++# Licensed to the Apache Software Foundation (ASF) under one ++# or more contributor license agreements. See the NOTICE file ++# distributed with this work for additional information ++# regarding copyright ownership. The ASF licenses this file ++# to you 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. ++# ++# ****************************************************************************** ++ # This file is used by the build system to adjust CSS and JS output to support the specified browsers below. # For additional information regarding the format and rule options, please see: # https://github.com/browserslist/browserslist#queries @@@ -9,4 -9,4 +30,4 @@@ last 2 versions Firefox ESR not dead --not IE 9-11 # For IE 9-11 support, remove 'not'. ++not IE 9-11 # For IE 9-11 support, remove 'not'. diff --cc services/self-service/src/test/java/com/epam/dlab/backendapi/resources/KeycloakResourceTest.java index 37c4c5a,37c4c5a..c0be4df --- a/services/self-service/src/test/java/com/epam/dlab/backendapi/resources/KeycloakResourceTest.java +++ b/services/self-service/src/test/java/com/epam/dlab/backendapi/resources/KeycloakResourceTest.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.resources; import com.epam.dlab.backendapi.conf.SelfServiceApplicationConfiguration; diff --cc services/self-service/src/test/java/com/epam/dlab/backendapi/resources/ProjectResourceTest.java index 3f20967,3f20967..88cef73 --- a/services/self-service/src/test/java/com/epam/dlab/backendapi/resources/ProjectResourceTest.java +++ b/services/self-service/src/test/java/com/epam/dlab/backendapi/resources/ProjectResourceTest.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.resources; import com.epam.dlab.auth.UserInfo; diff --cc services/self-service/src/test/java/com/epam/dlab/backendapi/service/KeycloakServiceImplTest.java index 3c64dc6,3c64dc6..5050391 --- a/services/self-service/src/test/java/com/epam/dlab/backendapi/service/KeycloakServiceImplTest.java +++ b/services/self-service/src/test/java/com/epam/dlab/backendapi/service/KeycloakServiceImplTest.java @@@ -1,3 -1,3 +1,22 @@@ ++/* ++ * Licensed to the Apache Software Foundation (ASF) under one ++ * or more contributor license agreements. See the NOTICE file ++ * distributed with this work for additional information ++ * regarding copyright ownership. The ASF licenses this file ++ * to you 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. ++ */ ++ package com.epam.dlab.backendapi.service; import com.epam.dlab.backendapi.conf.SelfServiceApplicationConfiguration; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org