1. mike S
  2. PowerServer
  3. Tuesday, 6 December 2022 23:03 PM UTC

In order to generate the updates for the web api, i build and deploy the PS project.  This moves all the updates to the server as well as updates the c# code.

However, i still need to publish the new/updated web api in snap develop that was generated during the PS project build and deploy process.

 

I would prefer to be able to first generate the updates for snapdevelop, then publish the webapi's and deploy the PB side of it at the same (or about the same time).  These 2 bits could run in parallel.  that should make the over all deployment process time much faster.

 

is this possible in PS2022?

1) BUILD from the PS project

2A) Build and publish webapi from snapdev

2B) deploy the PS project

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 7 December 2022 02:12 AM UTC
  2. PowerServer
  3. # 1

Hi Mike;

  That would require a PB IDE engineering change.

Regards... Chris 

Comment
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 7 December 2022 02:59 AM UTC
  2. PowerServer
  3. # 2

The build is what takes time not the deploy.  Anyway, what you could do is configure project object to save to disk instead of deploy to web server.  Once build & deploy in PB finished, then in SnapDevelop compile the Web APIs generated by PB.  Now you have both pieces compiled sitting on your hard drive awaiting for you to deploy as you like.

Comment
  1. mike S
  2. Wednesday, 7 December 2022 14:51 PM UTC
"The build is what takes time not the deploy."

Yes, you start the process and have to wait for it to end. Come back in 30 - 45 minutes and its probably done. But it builds and deploys.

i would like to be able to have a button that just does the build only part in PB.

The PB deploy only button already exists. Just need a build only button.
  1. Helpful 1
  1. mike S
  2. Wednesday, 7 December 2022 15:05 PM UTC
Also, the build process should notify you that the WEB API changed and has to be updated. I assume that the api only needs to change if i changed the SQL in a static datawindow or changed embedded sql.
  1. Helpful 1
  1. Armeen Mazda @Appeon
  2. Wednesday, 7 December 2022 16:13 PM UTC
I have passed your feedback to product management team to consider for PS 2022 R2.
  1. Helpful 2
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.