Re: HTTP Server test environment for RPG

Brad Stone <[email protected]>
Newsgroups gmane.comp.systems.as400.web
Message-ID <CAAGV8OcS9i2a6dVJitFHqvR+KrXVwDhOApWPCkJ=yR+xMr8H1w@mail.gmail.com>
I manipulate the library list inside my application using some ILE
functions I wrote a long time agot (pushLib and popLib mainly.. I also have
ones that set the LL depending on a job description).

I've always found that to be the best way, at least for me.

On Wed, Nov 3, 2021 at 4:43 AM Dave <[email protected]> wrote:

> Thanks for this Brad. I've been looking at your example of a simple .config
> file. How are you accomplishing the setting up of the library list for the
> programs on the i?
> For the moment I've just hard coded a CHGLIBL command in the beginning of
> the program named in the script alias. I was thinking of making this
> dynamic by getting a named library list depending on the server instance
> being used (I'm assuming the job name is always the same as the name of the
> server instance). For example,
> RTVJOBA JOB(&name)
> CALL  LIBL_PGM(&name) /* Does a CHGLIBL depending on the name of the job.
>
>
>
>
>
>
>
>    - *Subject*: Re: HTTP Server test environment for RPG
>    - *From*: Brad Stone <bvstone@xxxxxxxxx>
>    - *Date*: Fri, 8 Oct 2021 07:45:00 -0500
>
> ------------------------------
> I like to make a separate instance for testing and live. Either on a
> different port or a different IP address (using a different
> host/subdomain).
>
> So there would be:
>
> mysite.com (live)
> dev.mysite.com (dev/test) or (mysite.com:8433)
>
> Each with their own instance, ip address, library and IFS files.
>
> On Fri, Oct 8, 2021 at 3:56 AM Dave <dfx1@xxxxxxxxxxxxxx> wrote:
>
> Hello,
>
> I need to configure the server so that that the external party can commence
> testing.
> I've seen examples where a ScriptAlias is simply added to the server
> configuration in order to simply call the test program (change library
> lists, etc).
> It's also been suggested to use activation groups but that would need a lot
> more work to make sure everything is running only in that activation group.
> --
> This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
> list
> To post a message email: [email protected]
> To subscribe, unsubscribe, or change list options,
> visit: https://lists.midrange.com/mailman/listinfo/web400
> or email: [email protected]
> Before posting, please take a moment to review the archives
> at https://archive.midrange.com/web400.
>
>
-- 
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.