[ 
https://issues.apache.org/jira/browse/SCB-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lei Zhang updated SCB-1689:
---------------------------
    Description: 
No need to configure spring.profiles.active = prd when Alpha starts

The following parameters will be used as default.
{code:java}
---
spring:
  datasource:
    username: saga
    password: password
    url: jdbc:postgresql://postgresql.servicecomb.io:5432/saga?useSSL=false
    platform: postgresql
    continue-on-error: false
  jpa:
    properties:
      eclipselink:
        ddl-generation: none
{code}
Switch Mysql database with the following parameters when starting Alpha
{code:java}
--spring.datasource.platform=mysql
--spring.datasource.username=saga
--spring.datasource.password=password
--spring.datasource.url='jdbc:mysql://mysql.servicecomb.io:3306/saga?useSSL=false'
{code}
 

  was:
No need to configure spring.profiles.active = prd when Alpha starts

The following parameters will be used as default.
{code:java}
---
spring:
  datasource:
    username: saga
    password: password
    url: jdbc:postgresql://postgresql.servicecomb.io:5432/saga?useSSL=false
    platform: postgresql
    continue-on-error: false
  jpa:
    properties:
      eclipselink:
        ddl-generation: none
{code}
Switch Mysql database with the following parameters when starting Alpha
{code:java}
--spring.datasource.platform=mysql
--spring.datasource.username=saga
--spring.datasource.password=password
--spring.datasource.url='jdbc:postgresql://postgresql.servicecomb.io:5432/saga?useSSL=false'
{code}


> Remove “prd” profile
> --------------------
>
>                 Key: SCB-1689
>                 URL: https://issues.apache.org/jira/browse/SCB-1689
>             Project: Apache ServiceComb
>          Issue Type: Improvement
>          Components: Saga
>            Reporter: Lei Zhang
>            Assignee: Lei Zhang
>            Priority: Major
>             Fix For: pack-0.6.0
>
>
> No need to configure spring.profiles.active = prd when Alpha starts
> The following parameters will be used as default.
> {code:java}
> ---
> spring:
>   datasource:
>     username: saga
>     password: password
>     url: jdbc:postgresql://postgresql.servicecomb.io:5432/saga?useSSL=false
>     platform: postgresql
>     continue-on-error: false
>   jpa:
>     properties:
>       eclipselink:
>         ddl-generation: none
> {code}
> Switch Mysql database with the following parameters when starting Alpha
> {code:java}
> --spring.datasource.platform=mysql
> --spring.datasource.username=saga
> --spring.datasource.password=password
> --spring.datasource.url='jdbc:mysql://mysql.servicecomb.io:3306/saga?useSSL=false'
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to