Skip to content

Commit 0c183c5

Browse files
committed
Rename "ecommerce" to "shopping-cart"
1 parent 2e4b0a0 commit 0c183c5

File tree

87 files changed

+127
-128
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+127
-128
lines changed

.github/workflows/labs64io-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# separate terms of service, privacy policy, and support
77
# documentation.
88

9-
name: Labs64.IO - eCommerce - CI
9+
name: Labs64.IO - Shopping Cart - CI
1010

1111
permissions:
1212
contents: write
@@ -32,12 +32,12 @@ jobs:
3232
distribution: 'temurin'
3333
cache: maven
3434
- name: Build with Maven
35-
run: mvn -B package --file ecommerce-be/pom.xml
35+
run: mvn -B package --file cart-be/pom.xml
3636
- name: Build the Docker image
37-
run: docker build ecommerce-be --file ecommerce-be/Dockerfile --tag ecommerce:$(date +%s)
37+
run: docker build cart-be --file cart-be/Dockerfile --tag shopping-cart:$(date +%s)
3838

3939
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
4040
- name: Update dependency graph
4141
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
4242
with:
43-
directory: ecommerce-be
43+
directory: cart-be

.github/workflows/labs64io-docker-publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Labs64.IO - eCommerce - Publish Docker
1+
name: Labs64.IO - Shopping Cart - Publish Docker
22

33
permissions:
44
contents: read
@@ -24,7 +24,7 @@ jobs:
2424
cache: maven
2525

2626
- name: Build with Maven
27-
run: mvn -B package --file ./ecommerce-be/pom.xml
27+
run: mvn -B package --file ./cart-be/pom.xml
2828

2929
- name: Set up Docker Buildx
3030
uses: docker/setup-buildx-action@v3
@@ -42,11 +42,11 @@ jobs:
4242
- name: Build and push Docker image
4343
uses: docker/build-push-action@v6
4444
with:
45-
context: ./ecommerce-be
45+
context: ./cart-be
4646
push: true
4747
platforms: linux/amd64,linux/arm64/v8
4848
tags: |
49-
labs64/ecommerce:latest
50-
labs64/ecommerce:${{ steps.get_release_tag.outputs.RELEASE_TAG }}
49+
labs64/shopping-cart:latest
50+
labs64/shopping-cart:${{ steps.get_release_tag.outputs.RELEASE_TAG }}
5151
cache-from: type=gha,scope=${{ github.workflow }}
5252
cache-to: type=gha,mode=max,scope=${{ github.workflow }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center"><img src="https://raw.githubusercontent.com/Labs64/.github/refs/heads/master/assets/labs64-io-ecosystem.png"></p>
22

3-
# Labs64.IO :: eCommerce
3+
# Labs64.IO :: Shopping Cart
44
## Commerce-Ready Platform for Digital Sales Enablement
55

66
![Docker Image Version](https://img.shields.io/docker/v/labs64/ecommerce?logo=docker&logoColor=%23E14817&color=%23E14817) - TODO
File renamed without changes.
File renamed without changes.

ecommerce-be/justfile renamed to cart-be/justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
APP_NAME := "ecommerce"
1+
APP_NAME := "shopping-cart"
22

33
# build application
44
build:

ecommerce-be/pom.xml renamed to cart-be/pom.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
<modelVersion>4.0.0</modelVersion>
44

55
<groupId>io.labs64</groupId>
6-
<artifactId>ecommerce</artifactId>
6+
<artifactId>shopping-cart</artifactId>
77
<version>0.0.1-SNAPSHOT</version>
88
<packaging>jar</packaging>
99

10-
<name>Labs64.IO :: eCommerce</name>
11-
<description>Labs64.IO - eCommerce</description>
10+
<name>Labs64.IO :: Shopping Cart</name>
11+
<description>Labs64.IO - Shopping Cart</description>
1212

1313
<parent>
1414
<groupId>org.springframework.boot</groupId>
@@ -18,7 +18,7 @@
1818

1919
<properties>
2020
<!-- API VERSIONS -->
21-
<ecommerce.version>v1</ecommerce.version>
21+
<shopping-cart.version>v1</shopping-cart.version>
2222
<!-- DEPENDENCIES -->
2323
<java.version>21</java.version>
2424
<spring-cloud.version>2025.0.0</spring-cloud.version>
@@ -209,17 +209,17 @@
209209
<version>${openapi-generator-maven-plugin.version}</version>
210210
<executions>
211211
<execution>
212-
<id>labs64.io-ecommerce</id>
212+
<id>labs64.io-shopping-cart</id>
213213
<goals>
214214
<goal>generate</goal>
215215
</goals>
216216
<phase>generate-sources</phase>
217217
<configuration>
218-
<inputSpec>${project.basedir}/src/main/resources/openapi/openapi-ecommerce-${ecommerce.version}.yaml</inputSpec>
218+
<inputSpec>${project.basedir}/src/main/resources/openapi/openapi-cart-${shopping-cart.version}.yaml</inputSpec>
219219
<generatorName>spring</generatorName>
220220
<output>${project.build.directory}/generated-sources</output>
221-
<apiPackage>io.labs64.ecommerce.${ecommerce.version}.api</apiPackage>
222-
<modelPackage>io.labs64.ecommerce.${ecommerce.version}.model</modelPackage>
221+
<apiPackage>io.labs64.cart.${shopping-cart.version}.api</apiPackage>
222+
<modelPackage>io.labs64.cart.${shopping-cart.version}.model</modelPackage>
223223
<generateSupportingFiles>true</generateSupportingFiles>
224224
<configOptions>
225225
<useTags>true</useTags>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
package io.labs64.ecommerce;
1+
package io.labs64.cart;
22

33
import org.springframework.boot.SpringApplication;
44
import org.springframework.boot.autoconfigure.SpringBootApplication;
55

66
@SpringBootApplication
7-
public class EcommerceApplication {
7+
public class CartApplication {
88
public static void main(String[] args) {
9-
SpringApplication.run(EcommerceApplication.class, args);
9+
SpringApplication.run(CartApplication.class, args);
1010
}
1111
}

ecommerce-be/src/main/java/io/labs64/ecommerce/config/CartProperties.java renamed to cart-be/src/main/java/io/labs64/cart/config/CartProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package io.labs64.ecommerce.config;
1+
package io.labs64.cart.config;
22

33
import java.time.Duration;
44
import java.util.List;

ecommerce-be/src/main/java/io/labs64/ecommerce/config/RedisConfig.java renamed to cart-be/src/main/java/io/labs64/cart/config/RedisConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package io.labs64.ecommerce.config;
1+
package io.labs64.cart.config;
22

33
import org.springframework.context.annotation.Bean;
44
import org.springframework.context.annotation.Configuration;
@@ -14,7 +14,7 @@
1414
import com.fasterxml.jackson.databind.jsontype.BasicPolymorphicTypeValidator;
1515
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
1616

17-
import io.labs64.ecommerce.v1.model.Cart;
17+
import io.labs64.cart.v1.model.Cart;
1818

1919
@Configuration
2020
public class RedisConfig {

0 commit comments

Comments
 (0)