提交 0e940a06 编写于 作者: ibizdev's avatar ibizdev

lab_gzf 部署微服务接口

上级 0b24dce1
......@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-app-businesscentral.jar
EXPOSE 10320
EXPOSE 8080
ADD businesscentral-app-businesscentral.jar /businesscentral-app-businesscentral.jar
......@@ -3,23 +3,9 @@ services:
businesscentral-app-businesscentral:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-app-businesscentral:latest
ports:
- "10320:10320"
- "8080:8080"
networks:
- agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=10320
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
- SPRING_REDIS_HOST=172.16.240.110
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_e85d8801c
- SPRING_DATASOURCE_PASSWORD=b1@@@772
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_e85d8801c?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_e85d8801c
- CAS=https://passport.ibizlab.cn
- NACOS=172.16.240.110:8848
deploy:
resources:
limits:
......
......@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-provider-centralapi.jar
EXPOSE 8081
EXPOSE 10310
ADD businesscentral-provider-centralapi.jar /businesscentral-provider-centralapi.jar
......@@ -3,9 +3,23 @@ services:
businesscentral-provider-centralapi:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-provider-centralapi:latest
ports:
- "8081:8081"
- "10310:10310"
networks:
- agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=10310
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
- SPRING_REDIS_HOST=172.16.240.110
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_e85d8801c
- SPRING_DATASOURCE_PASSWORD=b1@@@772
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_e85d8801c?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_e85d8801c
- CAS=https://passport.ibizlab.cn
- NACOS=172.16.240.110:8848
deploy:
resources:
limits:
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.AccountDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiAccountMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface AccountMapping extends MappingBase<AccountDTO, Account> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.ActivityPointerDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiActivityPointerMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface ActivityPointerMapping extends MappingBase<ActivityPointerDTO, ActivityPointer> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.AppointmentDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiAppointmentMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface AppointmentMapping extends MappingBase<AppointmentDTO, Appointment> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.BulkOperationDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiBulkOperationMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface BulkOperationMapping extends MappingBase<BulkOperationDTO, BulkOperation> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.CampaignActivityDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiCampaignActivityMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface CampaignActivityMapping extends MappingBase<CampaignActivityDTO, CampaignActivity> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.CampaignCampaignDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiCampaignCampaignMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface CampaignCampaignMapping extends MappingBase<CampaignCampaignDTO, CampaignCampaign> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.CampaignListDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiCampaignListMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface CampaignListMapping extends MappingBase<CampaignListDTO, CampaignList> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.CampaignDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiCampaignMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface CampaignMapping extends MappingBase<CampaignDTO, Campaign> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.CampaignResponseDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiCampaignResponseMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface CampaignResponseMapping extends MappingBase<CampaignResponseDTO, CampaignResponse> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.CompetitorDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiCompetitorMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface CompetitorMapping extends MappingBase<CompetitorDTO, Competitor> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.CompetitorProductDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiCompetitorProductMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface CompetitorProductMapping extends MappingBase<CompetitorProductDTO, CompetitorProduct> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.CompetitorSalesLiteratureDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiCompetitorSalesLiteratureMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface CompetitorSalesLiteratureMapping extends MappingBase<CompetitorSalesLiteratureDTO, CompetitorSalesLiterature> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.ConnectionDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiConnectionMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface ConnectionMapping extends MappingBase<ConnectionDTO, Connection> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.ConnectionRoleDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiConnectionRoleMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface ConnectionRoleMapping extends MappingBase<ConnectionRoleDTO, ConnectionRole> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.ContactDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiContactMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface ContactMapping extends MappingBase<ContactDTO, Contact> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.DiscountTypeDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiDiscountTypeMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface DiscountTypeMapping extends MappingBase<DiscountTypeDTO, DiscountType> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.EmailDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiEmailMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface EmailMapping extends MappingBase<EmailDTO, Email> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.EntitlementDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiEntitlementMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface EntitlementMapping extends MappingBase<EntitlementDTO, Entitlement> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.FaxDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiFaxMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface FaxMapping extends MappingBase<FaxDTO, Fax> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.GoalDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiGoalMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface GoalMapping extends MappingBase<GoalDTO, Goal> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.IBizListDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiIBizListMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface IBizListMapping extends MappingBase<IBizListDTO, IBizList> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.IBizServiceDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiIBizServiceMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface IBizServiceMapping extends MappingBase<IBizServiceDTO, IBizService> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.IncidentCustomerDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiIncidentCustomerMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface IncidentCustomerMapping extends MappingBase<IncidentCustomerDTO, IncidentCustomer> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.IncidentDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiIncidentMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface IncidentMapping extends MappingBase<IncidentDTO, Incident> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.InvoiceDetailDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiInvoiceDetailMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface InvoiceDetailMapping extends MappingBase<InvoiceDetailDTO, InvoiceDetail> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.InvoiceDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiInvoiceMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface InvoiceMapping extends MappingBase<InvoiceDTO, Invoice> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.KnowledgeArticleIncidentDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiKnowledgeArticleIncidentMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface KnowledgeArticleIncidentMapping extends MappingBase<KnowledgeArticleIncidentDTO, KnowledgeArticleIncident> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.KnowledgeArticleDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiKnowledgeArticleMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface KnowledgeArticleMapping extends MappingBase<KnowledgeArticleDTO, KnowledgeArticle> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.LeadCompetitorDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiLeadCompetitorMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface LeadCompetitorMapping extends MappingBase<LeadCompetitorDTO, LeadCompetitor> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.LeadDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiLeadMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface LeadMapping extends MappingBase<LeadDTO, Lead> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.LetterDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiLetterMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface LetterMapping extends MappingBase<LetterDTO, Letter> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.ListAccountDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiListAccountMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface ListAccountMapping extends MappingBase<ListAccountDTO, ListAccount> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.ListContactDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiListContactMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface ListContactMapping extends MappingBase<ListContactDTO, ListContact> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.ListLeadDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiListLeadMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface ListLeadMapping extends MappingBase<ListLeadDTO, ListLead> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.MetricDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiMetricMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface MetricMapping extends MappingBase<MetricDTO, Metric> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.MultiPickDataDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiMultiPickDataMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface MultiPickDataMapping extends MappingBase<MultiPickDataDTO, MultiPickData> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.OpportunityCompetitorDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiOpportunityCompetitorMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface OpportunityCompetitorMapping extends MappingBase<OpportunityCompetitorDTO, OpportunityCompetitor> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.OpportunityDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiOpportunityMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface OpportunityMapping extends MappingBase<OpportunityDTO, Opportunity> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.OpportunityProductDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiOpportunityProductMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface OpportunityProductMapping extends MappingBase<OpportunityProductDTO, OpportunityProduct> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.PhoneCallDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiPhoneCallMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface PhoneCallMapping extends MappingBase<PhoneCallDTO, PhoneCall> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.PriceLevelDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiPriceLevelMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface PriceLevelMapping extends MappingBase<PriceLevelDTO, PriceLevel> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.ProductAssociationDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiProductAssociationMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface ProductAssociationMapping extends MappingBase<ProductAssociationDTO, ProductAssociation> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.ProductDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiProductMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface ProductMapping extends MappingBase<ProductDTO, Product> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.ProductPriceLevelDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiProductPriceLevelMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface ProductPriceLevelMapping extends MappingBase<ProductPriceLevelDTO, ProductPriceLevel> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.ProductSalesLiteratureDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiProductSalesLiteratureMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface ProductSalesLiteratureMapping extends MappingBase<ProductSalesLiteratureDTO, ProductSalesLiterature> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.ProductSubstituteDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiProductSubstituteMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface ProductSubstituteMapping extends MappingBase<ProductSubstituteDTO, ProductSubstitute> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.QuoteDetailDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiQuoteDetailMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface QuoteDetailMapping extends MappingBase<QuoteDetailDTO, QuoteDetail> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.QuoteDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiQuoteMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface QuoteMapping extends MappingBase<QuoteDTO, Quote> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.SalesLiteratureItemDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiSalesLiteratureItemMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface SalesLiteratureItemMapping extends MappingBase<SalesLiteratureItemDTO, SalesLiteratureItem> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.SalesLiteratureDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiSalesLiteratureMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface SalesLiteratureMapping extends MappingBase<SalesLiteratureDTO, SalesLiterature> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.SalesOrderDetailDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiSalesOrderDetailMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface SalesOrderDetailMapping extends MappingBase<SalesOrderDetailDTO, SalesOrderDetail> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.SalesOrderDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiSalesOrderMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface SalesOrderMapping extends MappingBase<SalesOrderDTO, SalesOrder> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.ServiceAppointmentDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiServiceAppointmentMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface ServiceAppointmentMapping extends MappingBase<ServiceAppointmentDTO, ServiceAppointment> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.SubjectDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiSubjectMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface SubjectMapping extends MappingBase<SubjectDTO, Subject> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.TaskDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiTaskMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface TaskMapping extends MappingBase<TaskDTO, Task> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.TerritoryDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiTerritoryMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface TerritoryMapping extends MappingBase<TerritoryDTO, Territory> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.TransactionCurrencyDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiTransactionCurrencyMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface TransactionCurrencyMapping extends MappingBase<TransactionCurrencyDTO, TransactionCurrency> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.UomDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiUomMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface UomMapping extends MappingBase<UomDTO, Uom> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.UomScheduleDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiUomScheduleMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface UomScheduleMapping extends MappingBase<UomScheduleDTO, UomSchedule> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.WebSiteChannelDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiWebSiteChannelMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface WebSiteChannelMapping extends MappingBase<WebSiteChannelDTO, WebSiteChannel> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.WebSiteContentDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiWebSiteContentMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface WebSiteContentMapping extends MappingBase<WebSiteContentDTO, WebSiteContent> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.WebSiteDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiWebSiteMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface WebSiteMapping extends MappingBase<WebSiteDTO, WebSite> {
......
......@@ -6,7 +6,7 @@ import cn.ibizlab.businesscentral.centralapi.dto.WebSiteResourceDTO;
import cn.ibizlab.businesscentral.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},
@Mapper(componentModel = "spring", uses = {},implementationName="CentralApiWebSiteResourceMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface WebSiteResourceMapping extends MappingBase<WebSiteResourceDTO, WebSiteResource> {
......
......@@ -37,11 +37,11 @@
git clone -b master $para2 ibizbusinesscentral/
export NODE_OPTIONS=--max-old-space-size=4096
cd ibizbusinesscentral/
mvn clean package -Pbusinesscentral
cd businesscentral-app/businesscentral-app-businesscentral
mvn -Pbusinesscentral docker:build
mvn -Pbusinesscentral docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/businesscentral-app-businesscentral.yaml iBizEE --with-registry-auth
mvn clean package -Pcentralapi
cd businesscentral-provider/businesscentral-provider-centralapi
mvn -Pcentralapi docker:build
mvn -Pcentralapi docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/businesscentral-provider-centralapi.yaml iBizEE --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册