You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@dubbo.apache.org by Chen ZhiGuo <ch...@live.com> on 2018/10/17 06:23:26 UTC

[incubator-dubbo-ops]Add environment difference and CORS setting #139

Hi, all.

For development convenience. I added two properties files[1] to distinguish the development environment from the production environment.

[Use]
Launch, packaged environment  and system configuration (e.g. Whether CORS is allowed) is determined by both MAVEN “profile" and Spring “spring.profiles.active”. So, developers or users can choose profile in MAVEN
Profiles list that suit their roles to launch or packaging the application.

I have submitted the PR[2].

[1] application-develop.properties, application-production.properties
[2] https://github.com/apache/incubator-dubbo-ops/pull/139




Thanks & Best Regards.




Re: [incubator-dubbo-ops]Add environment difference and CORS setting #139

Posted by Ian Luo <ia...@gmail.com>.
Thanks :) It is necessary since not all peoples are familiar with Spring
Boot.

On Wed, Oct 17, 2018 at 4:31 PM Chen ZhiGuo <ch...@live.com> wrote:

> OK, I will update the README as soon as possible.
>
> On 2018/10/17, 16:27, "Ian Luo" <ia...@gmail.com> wrote:
>
>     the change looks good to me. Would you mind to update README so that
> people
>     can understand how to configure environment with spring profile
> mechanism?
>
>     On Wed, Oct 17, 2018 at 2:23 PM Chen ZhiGuo <ch...@live.com>
> wrote:
>
>     > Hi, all.
>     >
>     > For development convenience. I added two properties files[1] to
>     > distinguish the development environment from the production
> environment.
>     >
>     > [Use]
>     > Launch, packaged environment  and system configuration (e.g. Whether
> CORS
>     > is allowed) is determined by both MAVEN “profile" and Spring
>     > “spring.profiles.active”. So, developers or users can choose profile
> in
>     > MAVEN
>     > Profiles list that suit their roles to launch or packaging the
> application.
>     >
>     > I have submitted the PR[2].
>     >
>     > [1] application-develop.properties, application-production.properties
>     > [2] https://github.com/apache/incubator-dubbo-ops/pull/139
>     >
>     >
>     >
>     >
>     > Thanks & Best Regards.
>     >
>     >
>     >
>     >
>
>
>

Re: [incubator-dubbo-ops]Add environment difference and CORS setting #139

Posted by Chen ZhiGuo <ch...@live.com>.
OK, I will update the README as soon as possible.

On 2018/10/17, 16:27, "Ian Luo" <ia...@gmail.com> wrote:

    the change looks good to me. Would you mind to update README so that people
    can understand how to configure environment with spring profile mechanism?
    
    On Wed, Oct 17, 2018 at 2:23 PM Chen ZhiGuo <ch...@live.com> wrote:
    
    > Hi, all.
    >
    > For development convenience. I added two properties files[1] to
    > distinguish the development environment from the production environment.
    >
    > [Use]
    > Launch, packaged environment  and system configuration (e.g. Whether CORS
    > is allowed) is determined by both MAVEN “profile" and Spring
    > “spring.profiles.active”. So, developers or users can choose profile in
    > MAVEN
    > Profiles list that suit their roles to launch or packaging the application.
    >
    > I have submitted the PR[2].
    >
    > [1] application-develop.properties, application-production.properties
    > [2] https://github.com/apache/incubator-dubbo-ops/pull/139
    >
    >
    >
    >
    > Thanks & Best Regards.
    >
    >
    >
    >
    


Re: [incubator-dubbo-ops]Add environment difference and CORS setting #139

Posted by Ian Luo <ia...@gmail.com>.
the change looks good to me. Would you mind to update README so that people
can understand how to configure environment with spring profile mechanism?

On Wed, Oct 17, 2018 at 2:23 PM Chen ZhiGuo <ch...@live.com> wrote:

> Hi, all.
>
> For development convenience. I added two properties files[1] to
> distinguish the development environment from the production environment.
>
> [Use]
> Launch, packaged environment  and system configuration (e.g. Whether CORS
> is allowed) is determined by both MAVEN “profile" and Spring
> “spring.profiles.active”. So, developers or users can choose profile in
> MAVEN
> Profiles list that suit their roles to launch or packaging the application.
>
> I have submitted the PR[2].
>
> [1] application-develop.properties, application-production.properties
> [2] https://github.com/apache/incubator-dubbo-ops/pull/139
>
>
>
>
> Thanks & Best Regards.
>
>
>
>