Skip to content

Releases: YanzheL/llzw

Release Candidate v1.0.0-rc1

25 May 15:40
63edb39
Compare
Choose a tag to compare
Pre-release

Changelog

  • Finished front-end module.
  • Fixed return type error in stocks counting.

Usage

java "-Dspring.profiles.active=test" -jar api-gate-1.0.0-rc1.jar

It will listen on localhost:8981. No database configuration required.

Using the following command If you need to customize server listening port.

java "-Dspring.profiles.active=test" "-Dserver.port=YOUR_PORT" -jar api-gate-1.0.0-rc1.jar

Replace YOUR_PORT with an integer port number.

Initial Test Data

These data will be automatically loaded on start.

Users

  • 10 Sellers
    • Username test_user_seller_username_0 ~ test_user_seller_username_9

    • Password test_user_seller_PASSWORD_0 ~ test_user_seller_PASSWORD_9

    • Email test_user_seller_email_0@test.org ~ test_user_seller_email_9@test.org

  • 10 Customers
    • Username test_user_customer_username_0 ~ test_user_customer_username_9

    • Password test_user_customer_PASSWORD_0 ~ test_user_customer_PASSWORD_9

    • Email test_user_customer_email_0@test.org ~ test_user_customer_email_9@test.org

Products

  • 10 products for each seller.

Stocks

  • 10 Pending Stocks (inboundedAt == null) for each Product
    • TotalQuantity 100
  • 10 Inbounded Stocks (inboundedAt != null) for each Product
    • TotalQuantity 100

Addresses

  • id 1 ~ 10

  • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

  • id 11 ~ 20

  • OwnerId test_user_customer_username_0 ~ test_user_customer_username_9

Pre-release v0.6.1 for front-end testing

24 May 10:56
4f680dd
Compare
Choose a tag to compare

Changelog

  • Fixed pagination issue in product search
  • Enabled docker integration
  • Search orders by paid or deliveryConfirmed

Usage

java "-Dspring.profiles.active=test" -jar api-gate-0.6.1-SNAPSHOT.jar

It will listen on localhost:8981. No database configuration required.

Using the following command If you need to customize server listening port.

java "-Dspring.profiles.active=test" "-Dserver.port=YOUR_PORT" -jar api-gate-0.6.1-SNAPSHOT.jar

Replace YOUR_PORT with an integer port number.

Initial Test Data

These data will be automatically loaded on start.

Users

  • 10 Sellers
    • Username test_user_seller_username_0 ~ test_user_seller_username_9

    • Password test_user_seller_PASSWORD_0 ~ test_user_seller_PASSWORD_9

    • Email test_user_seller_email_0@test.org ~ test_user_seller_email_9@test.org

  • 10 Customers
    • Username test_user_customer_username_0 ~ test_user_customer_username_9

    • Password test_user_customer_PASSWORD_0 ~ test_user_customer_PASSWORD_9

    • Email test_user_customer_email_0@test.org ~ test_user_customer_email_9@test.org

Products

  • 10 products for each seller.

Stocks

  • 10 Pending Stocks (inboundedAt == null) for each Product
    • TotalQuantity 100
  • 10 Inbounded Stocks (inboundedAt != null) for each Product
    • TotalQuantity 100

Addresses

  • id 1 ~ 10

  • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

  • id 11 ~ 20

  • OwnerId test_user_customer_username_0 ~ test_user_customer_username_9

Pre-release v0.6.0 for front-end testing

23 May 13:13
661d515
Compare
Choose a tag to compare

Changelog

  • Multiple stocks will be deducted if the quantity of one order exceeds a single stock's capacity.
    An order can contain multiple related stocks.
    API Changed: Orders See docs for details.
  • Once a stock's currentQuantity reaches zero, it turns into invalid state.
  • RestApiException extends Exception class instead of RuntimeException
  • Fixed BeanUtils null property merge issue.
  • Fixed various bugs.

Usage

java "-Dspring.profiles.active=test" -jar api-gate-0.6.0-SNAPSHOT.jar

It will listen on localhost:8981. No database configuration required.

Using the following command If you need to customize server listening port.

java "-Dspring.profiles.active=test" "-Dserver.port=YOUR_PORT" -jar api-gate-0.6.0-SNAPSHOT.jar

Replace YOUR_PORT with an integer port number.

Initial Test Data

These data will be automatically loaded on start.

Users

  • 10 Sellers
    • Username test_user_seller_username_0 ~ test_user_seller_username_9

    • Password test_user_seller_PASSWORD_0 ~ test_user_seller_PASSWORD_9

    • Email test_user_seller_email_0@test.org ~ test_user_seller_email_9@test.org

  • 10 Customers
    • Username test_user_customer_username_0 ~ test_user_customer_username_9

    • Password test_user_customer_PASSWORD_0 ~ test_user_customer_PASSWORD_9

    • Email test_user_customer_email_0@test.org ~ test_user_customer_email_9@test.org

Products

  • 10 products for each seller.

Stocks

  • 10 Pending Stocks (inboundedAt == null) for each Product
    • TotalQuantity 100
  • 10 Inbounded Stocks (inboundedAt != null) for each Product
    • TotalQuantity 100

Addresses

  • id 1 ~ 10

  • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

  • id 11 ~ 20

  • OwnerId test_user_customer_username_0 ~ test_user_customer_username_9

Pre-release v0.5.0 for front-end testing

22 May 09:34
806a5dc
Compare
Choose a tag to compare

Changelog

  • Fixed bugs in payment verification.
  • Implemented GET /api/v1/payments/<ID>
  • Implemented GET /api/v1/payments?orderId=xxx
  • Implemented PATCH /api/v1/orders/<ID>/SHIP
  • Changed delivery confirmation to PATCH /api/v1/orders/<ID>/DELIVERY_CONFIRM

Usage

java "-Dspring.profiles.active=test" -jar api-gate-0.5.0-SNAPSHOT.jar

It will listen on localhost:8981. No database configuration required.

Using the following command If you need to customize server listening port.

java "-Dspring.profiles.active=test" "-Dserver.port=YOUR_PORT" -jar api-gate-0.5.0-SNAPSHOT.jar

Replace YOUR_PORT with an integer port number.

Initial Test Data

These data will be automatically loaded on start.

Users

  • 10 Sellers
    • Username test_user_seller_username_0 ~ test_user_seller_username_9

    • Password test_user_seller_PASSWORD_0 ~ test_user_seller_PASSWORD_9

    • Email test_user_seller_email_0@test.org ~ test_user_seller_email_9@test.org

  • 10 Customers
    • Username test_user_customer_username_0 ~ test_user_customer_username_9

    • Password test_user_customer_PASSWORD_0 ~ test_user_customer_PASSWORD_9

    • Email test_user_customer_email_0@test.org ~ test_user_customer_email_9@test.org

Products

  • id 1 ~ 10

  • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

Stocks

  • 10 Pending Stocks (inboundedAt == null)
    • id 1 ~ 10

    • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

    • ProductId 1 ~ 10

    • TotalQuantity 100000

  • 10 Inbounded Stocks (inboundedAt != null)
    • id 11 ~ 20

    • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

    • ProductId 1 ~ 10

    • TotalQuantity 100000

Addresses

  • id 1 ~ 10

  • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

  • id 11 ~ 20

  • OwnerId test_user_customer_username_0 ~ test_user_customer_username_9

Pre-release v0.4.0 for front-end testing

19 May 12:49
49430af
Compare
Choose a tag to compare

Changelog

  • Added feature, category, stat properties for Product
  • Now clients can obtain salesLastMonth and currentStocks via Product object. These two fields are cached.
  • Ignored a bug caused by Linkedin URL-detector
  • Increased the length of Product name to 255
  • Fixed zero quantity bug in PaymentService
  • Now clients can search products by category or feature
  • Use JSON for all POST requests
  • Trigger payment verification manually by clients via GET /api/v1/payments/verify/<ID>

Usage

java "-Dspring.profiles.active=test" -jar api-gate-0.4.0-SNAPSHOT.jar

It will listen on localhost:8981. No database configuration required.

Using the following command If you need to customize server listening port.

java "-Dspring.profiles.active=test" "-Dserver.port=YOUR_PORT" -jar api-gate-0.4.0-SNAPSHOT.jar

Replace YOUR_PORT with an integer port number.

Initial Test Data

These data will be automatically loaded on start.

Users

  • 10 Sellers
    • Username test_user_seller_username_0 ~ test_user_seller_username_9

    • Password test_user_seller_PASSWORD_0 ~ test_user_seller_PASSWORD_9

    • Email test_user_seller_email_0@test.org ~ test_user_seller_email_9@test.org

  • 10 Customers
    • Username test_user_customer_username_0 ~ test_user_customer_username_9

    • Password test_user_customer_PASSWORD_0 ~ test_user_customer_PASSWORD_9

    • Email test_user_customer_email_0@test.org ~ test_user_customer_email_9@test.org

Products

  • id 1 ~ 10

  • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

Stocks

  • 10 Pending Stocks (inboundedAt == null)
    • id 1 ~ 10

    • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

    • ProductId 1 ~ 10

    • TotalQuantity 100000

  • 10 Inbounded Stocks (inboundedAt != null)
    • id 11 ~ 20

    • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

    • ProductId 1 ~ 10

    • TotalQuantity 100000

Addresses

  • id 1 ~ 10

  • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

  • id 11 ~ 20

  • OwnerId test_user_customer_username_0 ~ test_user_customer_username_9

Pre-release v0.3.0 for front-end testing

15 May 13:12
8bf27af
Compare
Choose a tag to compare

Changelog

  • Fixed and refined Address API
  • Changed ID type of Order to UUID string.
  • Fixed zero price bug in payment services.
  • Fixed password mismatch error caused by string comparison.
  • Validate the address's owner when creating orders.
  • Removed owner field in AddressCreateDto.
  • Fixed null pointer return value of mainImageFiles caused by JPA lazy fetch.

Usage

java "-Dspring.profiles.active=test" -jar api-gate-0.3.0-SNAPSHOT.jar

It will listen on localhost:8981. No database configuration required.

Using the following command If you need to customize server listening port.

java "-Dspring.profiles.active=test" "-Dserver.port=YOUR_PORT" -jar api-gate-0.3.0-SNAPSHOT.jar

Replace YOUR_PORT with an integer port number.

Initial Test Data

These data will be automatically loaded on start.

Users

  • 10 Sellers
    • Username test_user_seller_username_0 ~ test_user_seller_username_9

    • Password test_user_seller_PASSWORD_0 ~ test_user_seller_PASSWORD_9

    • Email test_user_seller_email_0@test.org ~ test_user_seller_email_9@test.org

  • 10 Customers
    • Username test_user_customer_username_0 ~ test_user_customer_username_9

    • Password test_user_customer_PASSWORD_0 ~ test_user_customer_PASSWORD_9

    • Email test_user_customer_email_0@test.org ~ test_user_customer_email_9@test.org

Products

  • id 1 ~ 10

  • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

Stocks

  • 10 Pending Stocks (inboundedAt == null)
    • id 1 ~ 10

    • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

    • ProductId 1 ~ 10

    • TotalQuantity 100000

  • 10 Inbounded Stocks (inboundedAt != null)
    • id 11 ~ 20

    • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

    • ProductId 1 ~ 10

    • TotalQuantity 100000

Addresses

  • id 1 ~ 10

  • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

  • id 11 ~ 20

  • OwnerId test_user_customer_username_0 ~ test_user_customer_username_9

Pre-release v0.2.3 for front-end testing

10 May 07:51
cfb44b6
Compare
Choose a tag to compare

Changelog

  • Fixed CORS support in Spring Security
  • Enabled product fuzzy search

Usage

java "-Dspring.profiles.active=test" -jar api-gate-0.2.3-SNAPSHOT.jar

It will listen on localhost:8981. No database configuration required.

Using the following command If you need to customize server listening port.

java "-Dspring.profiles.active=test" "-Dserver.port=YOUR_PORT" -jar api-gate-0.2.3-SNAPSHOT.jar

Replace YOUR_PORT with an integer port number.

Initial Test Data

These data will be automatically loaded on start.

Users

  • 10 Sellers
    • Username test_user_seller_username_0 ~ test_user_seller_username_9

    • Password test_user_seller_PASSWORD_0 ~ test_user_seller_PASSWORD_9

    • Email test_user_seller_email_0@test.org ~ test_user_seller_email_9@test.org

  • 10 Customers
    • Username test_user_customer_username_0 ~ test_user_customer_username_9

    • Password test_user_customer_PASSWORD_0 ~ test_user_customer_PASSWORD_9

    • Email test_user_customer_email_0@test.org ~ test_user_customer_email_9@test.org

Products

  • id 1 ~ 10

  • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

Stocks

  • 10 Pending Stocks (inboundedAt == null)
    • id 1 ~ 10

    • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

    • ProductId 1 ~ 10

    • TotalQuantity 100000

  • 10 Inbounded Stocks (inboundedAt != null)
    • id 11 ~ 20

    • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

    • ProductId 1 ~ 10

    • TotalQuantity 100000

Addresses

  • id 1 ~ 10

  • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

  • id 11 ~ 20

  • OwnerId test_user_customer_username_0 ~ test_user_customer_username_9

Pre-release v0.2.2 for front-end testing

08 May 11:22
a80009d
Compare
Choose a tag to compare

Changelog

  • Fixed a bug in CORS support which denies Content-Type header.
  • Enabled transaction management in all controllers.
  • Added API for updating products information.
  • Added API for getting/updating the current user's information.
  • Changed default server port to 8981.

Usage

java "-Dspring.profiles.active=test" -jar api-gate-0.2.2-SNAPSHOT.jar

It will listen on localhost:8981. No database configuration required.

Using the following command If you need to customize server listening port.

java "-Dspring.profiles.active=test" "-Dserver.port=YOUR_PORT" -jar api-gate-0.2.2-SNAPSHOT.jar

Replace YOUR_PORT with an integer port number.

Initial Test Data

These data will be automatically loaded on start.

Users

  • 10 Sellers
    • Username test_user_seller_username_0 ~ test_user_seller_username_9

    • Password test_user_seller_PASSWORD_0 ~ test_user_seller_PASSWORD_9

    • Email test_user_seller_email_0@test.org ~ test_user_seller_email_9@test.org

  • 10 Customers
    • Username test_user_customer_username_0 ~ test_user_customer_username_9

    • Password test_user_customer_PASSWORD_0 ~ test_user_customer_PASSWORD_9

    • Email test_user_customer_email_0@test.org ~ test_user_customer_email_9@test.org

Products

  • id 1 ~ 10

  • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

Stocks

  • 10 Pending Stocks (inboundedAt == null)
    • id 1 ~ 10

    • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

    • ProductId 1 ~ 10

    • TotalQuantity 100000

  • 10 Inbounded Stocks (inboundedAt != null)
    • id 11 ~ 20

    • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

    • ProductId 1 ~ 10

    • TotalQuantity 100000

Addresses

  • id 1 ~ 10

  • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

  • id 11 ~ 20

  • OwnerId test_user_customer_username_0 ~ test_user_customer_username_9

Pre-release v0.2.1 for front-end testing

30 Apr 14:03
d359f3e
Compare
Choose a tag to compare

Changelog

  • Enabled global CORS.
  • Enabled transaction management in Stock & Product.
  • Added more test cases for StockController

Usage

java "-Dspring.profiles.active=test" -jar api-gate-0.2.1-SNAPSHOT.jar

It will listen on localhost:8081. No database configuration required.

Using the following command If you need to customize server listening port.

java "-Dspring.profiles.active=test" "-Dserver.port=YOUR_PORT" -jar api-gate-0.2.1-SNAPSHOT.jar

Replace YOUR_PORT with an integer port number.

Initial Test Data

These data will be automatically loaded on start.

Users

  • 10 Sellers
    • Username test_user_seller_username_0 ~ test_user_seller_username_9

    • Password test_user_seller_PASSWORD_0 ~ test_user_seller_PASSWORD_9

    • Email test_user_seller_email_0@test.org ~ test_user_seller_email_9@test.org

  • 10 Customers
    • Username test_user_customer_username_0 ~ test_user_customer_username_9

    • Password test_user_customer_PASSWORD_0 ~ test_user_customer_PASSWORD_9

    • Email test_user_customer_email_0@test.org ~ test_user_customer_email_9@test.org

Products

  • id 1 ~ 10

  • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

Stocks

  • 10 Pending Stocks (inboundedAt == null)
    • id 1 ~ 10

    • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

    • ProductId 1 ~ 10

    • TotalQuantity 100000

  • 10 Inbounded Stocks (inboundedAt != null)
    • id 11 ~ 20

    • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

    • ProductId 1 ~ 10

    • TotalQuantity 100000

Addresses

  • id 1 ~ 10

  • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

  • id 11 ~ 20

  • OwnerId test_user_customer_username_0 ~ test_user_customer_username_9

Pre-release v0.2.0 for front-end testing

24 Apr 16:31
290b9ca
Compare
Choose a tag to compare

Changelog

  • Fixed a critical bug that prevents user register.
  • Enabled form validation.
  • Added more test cases for UserController

Usage

java "-Dspring.profiles.active=test" -jar api-gate-0.2.0-SNAPSHOT.jar

It will listen on localhost:8081. No database configuration required.

Using the following command If you need to customize server listening port.

java "-Dspring.profiles.active=test" "-Dserver.port=YOUR_PORT" -jar api-gate-0.2.0-SNAPSHOT.jar

Replace YOUR_PORT with an integer port number.

Initial Test Data

These data will be automatically loaded on start.

Users

  • 10 Sellers
    • Username test_user_seller_username_0 ~ test_user_seller_username_9

    • Password test_user_seller_PASSWORD_0 ~ test_user_seller_PASSWORD_9

    • Email test_user_seller_email_0@test.org ~ test_user_seller_email_9@test.org

  • 10 Customers
    • Username test_user_customer_username_0 ~ test_user_customer_username_9

    • Password test_user_customer_PASSWORD_0 ~ test_user_customer_PASSWORD_9

    • Email test_user_customer_email_0@test.org ~ test_user_customer_email_9@test.org

Products

  • id 1 ~ 10

  • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

Stocks

  • 10 Pending Stocks (inboundedAt == null)
    • id 1 ~ 10

    • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

    • ProductId 1 ~ 10

    • TotalQuantity 100000

  • 10 Inbounded Stocks (inboundedAt != null)
    • id 11 ~ 20

    • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

    • ProductId 1 ~ 10

    • TotalQuantity 100000

Addresses

  • id 1 ~ 10

  • OwnerId test_user_seller_username_0 ~ test_user_seller_username_9

  • id 11 ~ 20

  • OwnerId test_user_customer_username_0 ~ test_user_customer_username_9