You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Lei Zhang (Jira)" <ji...@apache.org> on 2019/12/26 16:14:00 UTC

[jira] [Created] (SCB-1689) Remove “prd” profile

Lei Zhang created SCB-1689:
------------------------------

             Summary: 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
             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:postgresql://postgresql.servicecomb.io:5432/saga?useSSL=false'
{code}



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