2
 Followers
19
 Likes

Refresh outdated consumers

References
Implemented
on 01 Jun 2017
OutSystems 10

Hi,


Here it goes: after publishing an espace on Service Studio, if a consumer espace gets outdated be able to right-click on the message and request an update of the refered espace.


Regards.

Pedro Ávila

Created on 8 Oct 2013
Comments (19)
Hi Pedro,

From SS 6.0 and up, if you have the consumer eSpaces open, you can refresh them by going to eSpace > Refresh all open Consumers.

Cheers,
JA
Hi José,

Thank you for your response.
My suggestion was to avoid open the consumer espaces.

Regards,
Pedro Ávila

Hi,

In that case, and when the changes made in the producer eSpace don't break references in the consumers, I agree with you - right click to republish consumer. But when the changes do break consumer references (e.g. database) we'll end up to open all consumers for refresh and review, anyways...

Ceers,
JA
I would definitely welcome a "Refresh all consumers" feature.
In Service Studio, Service Center or Lifetime, it doesn't really matter as long as it's available. Publishing the solution's running version is just not an option for any decent sized application.

Cheers,
Daniel
is there a way to open all consumers  and then "Refresh all open Consumers"
Hi Matthias!

Yes, there is.
In Service Studio, go to Module > Download all Consumers. When all consumers finish downloading, the option Module > Refresh all open Consumers becomes available. Then you have to publish all refreshed consumers.

Cheers,
JA
I do "Download All" in my environment and crash service studio.  We have to many so we have to do everything one-by-one.  This is very time consuming.
Refreshing references is one of the most time consuming of the oustystems development. I hope a good solution to solve this soon...

What is limit?  We have 36 consumers and after downloading all consumers, the "refresh all consumers" is still disabled.

there is another way for that Just open services studio -> Factory->Application Name->Publish 

It will publish all the modules and all the modules will be refreshed

You can republish but the references remain outdated in the application.  We also run into the issue of republishing all of the applications because we have quite a few so it will usually timeout if we do everything.

Public the producer first and then the consumer. After doing that publish the producer. This work with both open. Give it a try.

Merged this idea with 'Automatically update the modules references' (created on 20 Dec 2018 12:07:09 by Thiago Mari)

I would like to put the following idea:

When doing a publish, you could see all the modules that you consume from the module where you are doing publish and update the references automatically.



This comment was:
- originally posted on idea 'Automatically update the modules references' (created on 20 Dec 2018 by Thiago Mari)
- merged to idea 'Refresh outdated consumers' on 31 Dec 2018 09:28:11 by Vasco Pessanha

Hi Thiago, 


If the platform updates the consumer modules automatically, it could break the logic in there and stop applications to work properly.

What would you do on those cases? 

Also, what if other developer is working on that module?


Regards,

Abílio Matos



This comment was:
- originally posted on idea 'Automatically update the modules references' (created on 20 Dec 2018 by Thiago Mari)
- merged to idea 'Refresh outdated consumers' on 31 Dec 2018 09:28:11 by Vasco Pessanha

Hello,


First if the other developer working in consumer module, this particular module will be update and show what change or just show a pop up with differences between the both version.


The first case, if the new update break any logic can show a pop up with the break code and the developer can change the code inside the pop up or the break module is open after the update was finished.


Regards,

Thiago Mari



This comment was:
- originally posted on idea 'Automatically update the modules references' (created on 20 Dec 2018 by Thiago Mari)
- merged to idea 'Refresh outdated consumers' on 31 Dec 2018 09:28:11 by Vasco Pessanha

Hey Thiago,

Merged your idea into this one. For "automatic refreshing" you also have this idea:
https://www.outsystems.com/ideas/159/Auto+-+Refresh+Espaces?IsFromAdvancedSearch=True

Cheers,

Merged this idea with 'Auto update consumer modules' (created on 28 Apr 2019 22:38:24 by Sunaif)

We have cross application dependencies and whenever I change anything in the producer modules, it requires to update all consumer modules.


It will be great if there is option to update all consumer modules automatically upon changing producer modules.


For example, attached snippet, I have made a small change in the producer and then I get 4 different warnings from consumer modules. If there is a possibility to have a checkbox which says "Update all consumer modules".




This comment was:
- originally posted on idea 'Auto update consumer modules' (created on 28 Apr 2019 by Sunaif)
- merged to idea 'Refresh outdated consumers' on 29 Apr 2019 03:17:11 by Justin James
views
1793
Followers
2