General Question Regarding Prod/Staging Pull/Push

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

General Question Regarding Prod/Staging Pull/Push

Oscar
Hi all, 

I have a general question regarding the Production/Staging environment push and pull for the forms. 

I have already set this up in  our environment, but it seems that only the Form runner Definition is upgraded. My question is, does the Form Builder definition get upgraded as well when you push/pull a form? or will this only push/pull the Form Runner Definition?

Thank you,

Oscar

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/ea637963-140b-4ee7-9ccf-6a1085116955%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: General Question Regarding Prod/Staging Pull/Push

Alessandro  Vernet
Administrator
Hi Oscar,

The remote server operations (see link below) only work on published forms.
So if you do a "Push to remote" on a form, you'll find that published form
on the remote, but it won't show in Form Builder on that remote (unless, of
course, it was already there before). Does this make sense?

https://doc.orbeon.com/form-runner/features/home-page#remote-server-operations

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1581635817554-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: General Question Regarding Prod/Staging Pull/Push

Oscar
Alex, 

Thank you for your response. I have a followup question.

In our forms, we are using a custom XPL to send the form to another application. However, in that third party application we have both a production and test servers. Is there a way to Update this once the forms are pushed into production? or would the original XPLs located in test need to be updated?

Regards, 

Oscar

On Thursday, February 13, 2020 at 3:16:49 PM UTC-8, Alessandro Vernet wrote:
Hi Oscar,

The remote server operations (see link below) only work on published forms.
So if you do a "Push to remote" on a form, you'll find that published form
on the remote, but it won't show in Form Builder on that remote (unless, of
course, it was already there before). Does this make sense?

<a href="https://doc.orbeon.com/form-runner/features/home-page#remote-server-operations" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdoc.orbeon.com%2Fform-runner%2Ffeatures%2Fhome-page%23remote-server-operations\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFnx65Pv7kRwypWgDldoTkiz0SHig&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdoc.orbeon.com%2Fform-runner%2Ffeatures%2Fhome-page%23remote-server-operations\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFnx65Pv7kRwypWgDldoTkiz0SHig&#39;;return true;">https://doc.orbeon.com/form-runner/features/home-page#remote-server-operations

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: <a href="http://discuss.orbeon.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;">http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/e3501455-8f69-4000-b39f-6f01f96c398b%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: General Question Regarding Prod/Staging Pull/Push

Alessandro  Vernet
Administrator
Hi Oscar,

So it is a URL in an XPL that you need to be different depending on the
environment. You could define that URL in your own property, in your
`properties-local.xml`, and in your XPL refer to it form XPath with
`p:property()`, which is the same as `xxf:property()`.

https://doc.orbeon.com/xforms/xpath/extension-functions/extension-core#xxf-property

If want to deploy the exact same war file in all environments, you could
also have the `properties-local.xml` defined outside the war, storing just
that file in an "external resource directory". More on this at:

https://doc.orbeon.com/xml-platform/resources/external-resources

You'll let me know if this works for you.

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1582154088008-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: General Question Regarding Prod/Staging Pull/Push

Alessandro  Vernet
Administrator
Hi Oscar, did you get a change to try "externalizing" the URL as suggested in
my previous message? If so, did that work for you?

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1582763796989-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: General Question Regarding Prod/Staging Pull/Push

Oscar
Alex, 

We are having an issue with the Push/Pull methodology. We installed Orbeon on a brand new production server. When we attempt to deploy the form definitions that are in test, we do not see the forms come through. 

We do not see any error or other failures except that the process finishes and the new forms do not get pushed to production. We are utilizing an account that has the orbeon-service role attached to it. 

regards, 

Oscar

On Wednesday, February 26, 2020 at 4:36:37 PM UTC-8, Alessandro Vernet wrote:
Hi Oscar, did you get a change to try "externalizing" the URL as suggested in
my previous message? If so, did that work for you?

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: <a href="http://discuss.orbeon.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;">http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/222300e8-3ec6-479c-9748-c89783c9e2ce%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: General Question Regarding Prod/Staging Pull/Push

Alessandro  Vernet
Administrator
Hi Oscar,

Just to confirm, are you saying that after pushing the forms to the
production server, on that server they are not showing up on the Form Runner
homepage (for instance: http://localhost:8080/orbeon/fr/)?

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1583703947497-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: General Question Regarding Prod/Staging Pull/Push

Oscar
This is correct.  

We have two customers with this implementation, but we are not seeing the forms come into Form Runner. I have created the following:

Tomcat user with the orbeon-service role
defined the role in Properties-local.xml
Added Basic authentication on the forms
given permissions through form-builder
setup the configuration on properties local with the format:

<property as="xs:string" name="oxf.fr.home.remote-servers">

[

{

"label": "Staging",

"url": "http://staging.example.org:8080/orbeon"

},

{

"label": "Production",

"url": "http://prod.example.org:9090/orbeon"

}

]

</property>


Anything I am missing?


On Sunday, March 8, 2020 at 2:45:51 PM UTC-7, Alessandro Vernet wrote:
Hi Oscar,

Just to confirm, are you saying that after pushing the forms to the
production server, on that server they are not showing up on the Form Runner
homepage (for instance: <a href="http://localhost:8080/orbeon/fr/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flocalhost%3A8080%2Forbeon%2Ffr%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH8tCMstugAEwVyUjzmsx3cHZbvnA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flocalhost%3A8080%2Forbeon%2Ffr%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH8tCMstugAEwVyUjzmsx3cHZbvnA&#39;;return true;">http://localhost:8080/orbeon/fr/)?

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: <a href="http://discuss.orbeon.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;">http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/4427a1d5-3542-40fe-aed6-9f2e37c68cf6%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: General Question Regarding Prod/Staging Pull/Push

Alessandro  Vernet
Administrator
Hi Oscar,

I think that we will be able to help you better with this through support,
since you are using Orbeon Forms PE. Do you already have access to a private
Basecamp? If so could you start a thread there? If not could you send me an
email with your organisation name?

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1583780290010-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet