Skip to content

Commit

Permalink
Move to MIT license
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Sep 1, 2023
1 parent 0381c79 commit 3e665a6
Show file tree
Hide file tree
Showing 33 changed files with 195 additions and 34 deletions.
6 changes: 6 additions & 0 deletions inventory-service/license-header
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/***
<p>
Licensed under MIT License Copyright (c) $YEAR Raja Kolli.
</p>
***/

6 changes: 3 additions & 3 deletions inventory-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -497,11 +497,11 @@
<configuration>
<java>
<googleJavaFormat>
<version>1.15.0</version>
<version>1.17.0</version>
<style>AOSP</style>
</googleJavaFormat>
<licenseHeader>
<content>/* Licensed under Apache-2.0 $YEAR */</content>
<licenseHeader> <!-- specify either content or file, but not both -->
<file>${project.basedir}/license-header</file>
</licenseHeader>
</java>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2022 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2022 Raja Kolli.
</p>
***/

package com.example.common.dtos;

import java.io.Serializable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2023 Raja Kolli.
</p>
***/

package com.example.common.dtos;

import java.io.Serializable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2023 Raja Kolli.
</p>
***/

package com.example.common.dtos;

import jakarta.validation.constraints.NotBlank;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2022 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2022 Raja Kolli.
</p>
***/

package com.example.inventoryservice;

import com.example.inventoryservice.config.ApplicationProperties;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2023 Raja Kolli.
</p>
***/

package com.example.inventoryservice.config;

import lombok.Data;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2022 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2022 Raja Kolli.
</p>
***/

package com.example.inventoryservice.config;

import com.example.inventoryservice.entities.Inventory;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2022 */
/***
<p>
Licensed under MIT License Copyright (c) 2022 Raja Kolli.
</p>
***/

package com.example.inventoryservice.config;

import com.example.common.dtos.OrderDto;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2022 */
/***
<p>
Licensed under MIT License Copyright (c) 2022 Raja Kolli.
</p>
***/

package com.example.inventoryservice.config;

import org.springframework.boot.web.client.RestTemplateBuilder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2022-2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2022-2023 Raja Kolli.
</p>
***/

package com.example.inventoryservice.config;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2023 Raja Kolli.
</p>
***/

package com.example.inventoryservice.config;

import com.example.inventoryservice.config.ApplicationProperties.Cors;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2022 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2022 Raja Kolli.
</p>
***/

package com.example.inventoryservice.config.logging;

import static java.lang.annotation.ElementType.METHOD;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2022 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2022 Raja Kolli.
</p>
***/

package com.example.inventoryservice.config.logging;

import com.example.inventoryservice.utils.AppConstants;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2022 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2022 Raja Kolli.
</p>
***/

package com.example.inventoryservice.dtos;

import jakarta.validation.constraints.NotBlank;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2022 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2022 Raja Kolli.
</p>
***/

package com.example.inventoryservice.entities;

import jakarta.persistence.Column;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2022 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2022 Raja Kolli.
</p>
***/

package com.example.inventoryservice.mapper;

import com.example.inventoryservice.dtos.InventoryDto;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2023 Raja Kolli.
</p>
***/

package com.example.inventoryservice.model.response;

import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2023 Raja Kolli.
</p>
***/

package com.example.inventoryservice.repositories;

import com.example.inventoryservice.entities.Inventory;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2022-2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2022-2023 Raja Kolli.
</p>
***/

package com.example.inventoryservice.services;

import com.example.common.dtos.OrderDto;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2023 Raja Kolli.
</p>
***/

package com.example.inventoryservice.services;

import com.example.inventoryservice.config.logging.Loggable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2022 */
/***
<p>
Licensed under MIT License Copyright (c) 2022 Raja Kolli.
</p>
***/

package com.example.inventoryservice.services;

import com.example.common.dtos.ProductDto;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2022 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2022 Raja Kolli.
</p>
***/

package com.example.inventoryservice.utils;

public final class AppConstants {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2023 Raja Kolli.
</p>
***/

package com.example.inventoryservice.web.controllers;

import com.example.inventoryservice.dtos.InventoryDto;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2023 Raja Kolli.
</p>
***/

package com.example.inventoryservice;

import static org.assertj.core.api.Assertions.assertThat;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2023 Raja Kolli.
</p>
***/

package com.example.inventoryservice.common;

import static com.example.inventoryservice.utils.AppConstants.PROFILE_TEST;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2023 Raja Kolli.
</p>
***/

package com.example.inventoryservice.config;

import org.springframework.boot.testcontainers.service.connection.ServiceConnection;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2023 Raja Kolli.
</p>
***/

package com.example.inventoryservice.config;

import org.springframework.boot.testcontainers.service.connection.ServiceConnection;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2023 Raja Kolli.
</p>
***/

package com.example.inventoryservice.repositories;

import static org.assertj.core.api.Assertions.assertThat;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2023 Raja Kolli.
</p>
***/

package com.example.inventoryservice.services;

import static org.assertj.core.api.Assertions.assertThat;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2023 Raja Kolli.
</p>
***/

package com.example.inventoryservice.services;

import static org.assertj.core.api.Assertions.assertThat;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2023 Raja Kolli.
</p>
***/

package com.example.inventoryservice.web.controllers;

import static org.hamcrest.CoreMatchers.is;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Licensed under Apache-2.0 2021-2023 */
/***
<p>
Licensed under MIT License Copyright (c) 2021-2023 Raja Kolli.
</p>
***/

package com.example.inventoryservice.web.controllers;

import static org.hamcrest.CoreMatchers.is;
Expand Down

0 comments on commit 3e665a6

Please sign in to comment.