Author Topic: ProCloud Server initial image generation  (Read 2396 times)

ngong

  • EA User
  • **
  • Posts: 275
  • Karma: +2/-2
    • View Profile
ProCloud Server initial image generation
« on: December 06, 2022, 05:49:23 am »
On the ProCloud server machine, when I copy an existing model to the C:\Program Files\Sparx Systems\Pro Cloud Server\Service\Models folder,
how can I initially generate all images?
Rolf

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1089
  • Karma: +28/-8
    • View Profile
Re: ProCloud Server initial image generation
« Reply #1 on: December 06, 2022, 10:19:08 pm »
There are 2 options. If you have the worker enabled, the worker should create the images automatically, but it will ignore any customisations you may have introduced in an MDG unless you installed Sparx EA side-by-side with the worker.

There is also an option in Sparx EA to automatically generate images when I diagram is saved. I am trying to find it in v16.

philchudley

  • EA User
  • **
  • Posts: 741
  • Karma: +20/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: ProCloud Server initial image generation
« Reply #2 on: December 06, 2022, 10:26:54 pm »
Once a repository is opened select Options in the Model section on the Settings Ribbon

Click Cloud in the list on the left-hand side

Check the checkbox labelled Auto create Diagram Image and Image Map (each time a Diagram is saved)

Phil
Models are great!
Correct models are even greater!

ngong

  • EA User
  • **
  • Posts: 275
  • Karma: +2/-2
    • View Profile
Re: ProCloud Server initial image generation
« Reply #3 on: December 06, 2022, 11:39:59 pm »
@Modesto Vega, @philchudley:

You describe exactly my problem: I experienced (and it is specified that way) that the diagrams are generated for WebEA only when they are changed and saved. And there is no real warranty that diagrams are generated, when they are indirectly changed (new connection, changed name, changed stereotype, ...).

Therefore I am looking for an option like "Publish /Model Reports/HTML/Standard HTML Report" which generates all diagrams at once.

If you have an existing model with lots of diagrams and put it under ProCloud control, you do not see any diagram at all, using WebEA, regardless whether the client EA16 is configured to Auto Generate, or the EA Worker is configured. Both behave in the same way: The state of the diagram in the model is not compared to the state of the generated ones.
Rolf

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1089
  • Karma: +28/-8
    • View Profile
Re: ProCloud Server initial image generation
« Reply #4 on: December 07, 2022, 01:07:46 am »
@Rolf - Have you tried option 1, enabling the worker? But please we aware the point regarding MDG customisations.
« Last Edit: December 07, 2022, 04:35:41 am by Modesto Vega »

ea0522

  • EA User
  • **
  • Posts: 134
  • Karma: +5/-0
    • View Profile
Re: ProCloud Server initial image generation
« Reply #5 on: December 07, 2022, 02:04:12 am »
As stated, there is an option on the options page to automatically generate the image when the diagram is saved (via Ribbon: "Settings => Options => Cloud").

Just two lines below, there is a button to batch create the images for storage in a cache.
Maybe it might help to regularly use this option?

ngong

  • EA User
  • **
  • Posts: 275
  • Karma: +2/-2
    • View Profile
Re: ProCloud Server initial image generation
« Reply #6 on: December 07, 2022, 02:20:06 am »
@ea0522: super! (How could I miss to see that button?) JIT: I will show it in a few hours. Thank you.
Rolf