Hi,

The deployment order follows the order of dependency artifacts added to the
artifacts.xml file of your car app. Normally by default, it will follow the
order.

Did you make any changes there? Could you please update your artifacts.xml
according to your dependency order manually, update the car app, upload it
again to the server.


Example:

If you want to modify the order  as
sequence1>>>Sequence2>>Api1>>Proxy1>>>Proxy2, just edit the artifacts.xml
file of your cap and update the changes and upload it to the server.

<?xml version="1.0" encoding="UTF-8"?><artifacts>
    <artifact name="travisCAPPFour" version="1.0.0"
type="carbon/application">
        <dependency artifact="sequence1" version="1.0.0" include="true"
serverRole="EnterpriseServiceBus"/>
        <dependency artifact="sequence2" version="1.0.0" include="true"
serverRole="EnterpriseServiceBus"/>
        <dependency artifact="Api1" version="1.0.0" include="true"
serverRole="EnterpriseServiceBus"/>
        <dependency artifact="proxy1" version="1.0.0" include="true"
serverRole="EnterpriseServiceBus"/>
        <dependency artifact="proxy2" version="1.0.0" include="true"
serverRole="EnterpriseServiceBus"/>
    </artifact>
</artifacts>


Regards,

Thivya


On Sun, Apr 1, 2018 at 8:43 AM, Gayan Dhanushka <[email protected]> wrote:

> Hi Junior,
>
> After the deployment of your car file which consists of the connector, can
> you please check whether it is is enabled mode from the carbon console ?
>
> Regards
> Gayan
>
> On Thu, Mar 29, 2018 at 11:56 PM, Shakila Sasikaran <[email protected]>
> wrote:
>
>> Hi Junior,
>>
>> You can manually edit the dependency order in the source view.
>>
>> But we can't change the deployment order of the artifact types.
>> It will pick up the artifacts in this order Local entries --> Endpoints
>> --> Sequences --> Message stores --> Templates --> Proxy services -->
>> Tasks --> Events --> Message processors --> APIs --> Inbound endpoints
>> --> Other types.
>>
>> For example, if we define the dependencies like this
>>
>>   <dependencies>
>>     <dependency>
>>       <groupId>com.example.A1.sequence</groupId>
>>       <artifactId>*BtestSequence*</artifactId>
>>       <version>1.0.0</version>
>>       <type>xml</type>
>>     </dependency>
>>     <dependency>
>>       <groupId>com.example.A1.sequence</groupId>
>>       <artifactId>*AtestSequence*</artifactId>
>>       <version>1.0.0</version>
>>       <type>xml</type>
>>     </dependency>
>>     <dependency>
>>       <groupId>com.example.A1.proxy-service</groupId>
>>       <artifactId>*AtestProxy*</artifactId>
>>       <version>1.0.0</version>
>>       <type>xml</type>
>>     </dependency>
>>     <dependency>
>>       <groupId>com.example.A1.proxy-service</groupId>
>>       <artifactId>*testProxy*</artifactId>
>>       <version>1.0.0</version>
>>       <type>xml</type>
>>     </dependency>
>>   </dependencies>
>>
>> The deployment order would be this:
>>
>> 1. BtestSequence
>> 2. AtestSequence
>> 3. AtestProxy
>> 4. testProxy
>>
>>
>> Thanks
>>
>> On Thu, Mar 29, 2018 at 8:05 PM, Júnior <[email protected]> wrote:
>>
>>> Hi Gayan,
>>>
>>> That is weird. That is not working. Don't know the why. We tried that as
>>> well.
>>>
>>> Thanks,
>>>
>>> 2018-03-29 10:48 GMT-03:00 Gayan Dhanushka <[email protected]>:
>>>
>>>> Hi Junior,
>>>>
>>>> The car files are deployed in alphabetical order. So if you have a car
>>>> project which depends on another car project in order to make sure that the
>>>> dependent project being deployed earlier you may have to prefix it with a
>>>> name which has a higher alphabetical precedence.
>>>>
>>>> Regards
>>>> Gayan
>>>>
>>>> On Wed, Mar 28, 2018 at 1:33 PM, Júnior <[email protected]> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I am facing an issue with car file order deployment:
>>>>>
>>>>> https://stackoverflow.com/questions/49541746/wso2-car-file-d
>>>>> eployment-order
>>>>>
>>>>> Could someone help us on this?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> --
>>>>> Francisco Ribeiro
>>>>> *SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Gayan Dhanushka
>>>> Associate Technical Lead
>>>> http://wso2.com/
>>>> Lean Enterprise Middleware
>>>>
>>>> Mobile - LK- 071 666 2327
>>>> Mobile USA - 612-244-4873 <(612)%20244-4873>
>>>>
>>>>
>>>> Office
>>>> Tel   : 94 11 214 5345
>>>> Fax  : 94 11 214 5300
>>>>
>>>
>>>
>>>
>>> --
>>> Francisco Ribeiro
>>> *SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Shakila Sasikaran
>> Software Engineer
>> Mobile :+94 (0) 77 526 6848 <+94%2077%20526%206848>
>> [email protected]
>> WSO2, Inc.
>> lean . enterprise . middleware
>> http://www.wso2.com/
>>
>
>
>
> --
> Gayan Dhanushka
> Associate Technical Lead
> http://wso2.com/
> Lean Enterprise Middleware
>
> Mobile - LK- 071 666 2327
> Mobile USA - 612-244-4873 <(612)%20244-4873>
>
>
> Office
> Tel   : 94 11 214 5345
> Fax  : 94 11 214 5300
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Thivya Mahenthirarasa*

*Software Engineer -Support Team | WSO2*


*Email: [email protected] <[email protected]>*

*Mobile: +94766461966 <http://wso2.com/signature>*
*Web: http://wso2.com <http://wso2.com>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to