Skip to content

Commit

Permalink
Solution added for issue shopizer-ecommerce#905
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghosh committed Jan 25, 2024
1 parent 054a3bd commit 301df8e
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 2 deletions.
3 changes: 3 additions & 0 deletions sm-core-model/.factorypath
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<factorypath>
<factorypathentry kind="VARJAR" id="M2_REPO/org/mapstruct/mapstruct-processor/1.3.0.Final/mapstruct-processor-1.3.0.Final.jar" enabled="true" runInBatchMode="false"/>
</factorypath>
3 changes: 3 additions & 0 deletions sm-core-modules/.factorypath
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<factorypath>
<factorypathentry kind="VARJAR" id="M2_REPO/org/mapstruct/mapstruct-processor/1.3.0.Final/mapstruct-processor-1.3.0.Final.jar" enabled="true" runInBatchMode="false"/>
</factorypath>
3 changes: 3 additions & 0 deletions sm-core/.factorypath
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<factorypath>
<factorypathentry kind="VARJAR" id="M2_REPO/org/mapstruct/mapstruct-processor/1.3.0.Final/mapstruct-processor-1.3.0.Final.jar" enabled="true" runInBatchMode="false"/>
</factorypath>
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import org.kie.internal.io.ResourceFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Primary;

import com.salesmanager.core.business.configuration.DroolsBeanFactory;
import com.salesmanager.core.model.common.Delivery;
Expand All @@ -30,7 +31,7 @@
import com.salesmanager.core.modules.integration.IntegrationException;
import com.salesmanager.core.modules.integration.shipping.model.ShippingQuoteModule;


@Primary
public class CustomShippingQuoteRules implements ShippingQuoteModule {

private static final Logger LOGGER = LoggerFactory.getLogger(CustomShippingQuoteRules.class);
Expand Down
3 changes: 3 additions & 0 deletions sm-shop-model/.factorypath
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<factorypath>
<factorypathentry kind="VARJAR" id="M2_REPO/org/mapstruct/mapstruct-processor/1.3.0.Final/mapstruct-processor-1.3.0.Final.jar" enabled="true" runInBatchMode="false"/>
</factorypath>
3 changes: 3 additions & 0 deletions sm-shop/.factorypath
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<factorypath>
<factorypathentry kind="VARJAR" id="M2_REPO/org/mapstruct/mapstruct-processor/1.3.0.Final/mapstruct-processor-1.3.0.Final.jar" enabled="true" runInBatchMode="false"/>
</factorypath>

Large diffs are not rendered by default.

Binary file modified sm-shop/files/store/DownlaodRepository.dat
Binary file not shown.
1 change: 1 addition & 0 deletions sm-shop/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ server.port=8080
#spring.jpa.properties.hibernate.generate_statistics=true
#default database schema
spring.jpa.properties.hibernate.default_schema=SALESMANAGER
spring.config.location=classpath:database.properties
#logging.level.org.hibernate.stat=debug

# Enable logging to verify that HikariCP is used, the second entry is specific to HikariCP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
#mysql>GRANT ALL ON SALESMANAGER.* TO shopizer;
#mysql>FLUSH PRIVILEGES;

#db.jdbcUrl=jdbc:mysql://localhost:3306/SALESMANAGER?autoReconnect=true&serverTimeZone=UTC&useUnicode=true&characterEncoding=UTF-8
db.jdbcUrl=jdbc:mysql://localhost:3306/SALESMANAGER?autoReconnect=true&serverTimeZone=UTC&useUnicode=true&characterEncoding=UTF-8
#db.user=shopizer_db_user
db.user=root
db.password=Saibal@2000
#db.password=shopizer_db_password
db.driverClass=com.mysql.cj.jdbc.Driver
hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
Expand Down

0 comments on commit 301df8e

Please sign in to comment.