Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

DonBakke

About

Username
DonBakke
Joined
Visits
3,165
Last Active
Roles
Administrator

Comments

  • I think you are correct. It had been awhile since I looked at this code. We do have built-in caching in the HTTP_Resource_Manager_Services module. This is managed by this equate: Equ CacheTTL$ to 300 ; // Allow cached data to only be fresh …
  • I am very aware of your request (especially from Revelation) for such a tool. While I think something could be developed that would provide some value, I would also want to caution against heavy reliance upon this tool. Applications and their databa…
  • The UD 5 did not introduce any performance benefits. It added support for: * VSS integration for better backups while running live. * Encryption over the wire. * Auto-recovery if OI disconnects from the server. I have yet to see the auto-r…
  • @Opto_Will I was always under the impression that your esteemed predecessor simply didn't understand the need for the UD and thus got along without it. However, I made it very clear this was dangerous and unsupported. As Barry noted, there can be …
  • Did you actually click the Apply button to save the resource configuration? The _forms content is being generated by the entry point API. You can read about it in the how do I add hypermedia controls to a resource? article.
  • That is correct.
  • If you choose to make /api your API entry point, then yes. But this is optional and part of the configuration. Having "api" repeated twice is redundant so one might go with these options: api.website.com/webapis api.website.com/restapis api.website…
  • No. Different people have different sub-domains and/or paths. We like to use api.website.com but it varies on the client and available resources.
  • Yes, you should use the HTTP Framework Setup utility to identify resources. This utility will then auto-generate (if you so desire) your API code template. A resource ID is a unique identifier to a resource. Hence, if your resource is "customer" th…
  • No. This is me not being very careful to remove temporary code for testing before building the official RDK build. Please remove line 7 and 8. P.S. We don't use the "call" statement other than for quick test purposes.
  • If I understand your question properly, you can't have localhost/api relate to more than one application. You would need to setup your virtual directory so that you have localhost/examples/api and localhost/pbc/api.
    in Registry Comment by DonBakke March 2022
  • Did you implement the rewrite rules?
  • I'm specifically referring to inet_pbc_login, since that is the stored procedure you are attempting to call. Is that actually getting called? Also, whey are you working with INET? Is this a pre-existing application?
  • I should have asked, is your INET routine not getting called?
  • My best guess is that your INET routine is not setting expected response headers.
  • @sbotes assuming this happening with the client I think you are working for, using another method of communication please send me the name of the table you are working with so I can try and duplicate.
  • Wasn't on the roadmap but doesn't mean it can't be added or even floated near the top. I'll keep you posted.
  • For what it is worth, our road map for the next major release of the HTTP Framework is to move the resource configuration record into a standalone database table. This would allow each resource/endpoint to be a record with its own metadata/propertie…
  • These are stored in the Registry: Computer\HKEY_CURRENT_USER\SOFTWARE\SRP\SRP TCL\{path to OI}\{app name}\CMD
  • I take it you don't want previous entries to auto-fill or something similar? I just want to confirm my understanding of your request before offerings some guidance.
  • In your API response try setting the Access-Control-Allow-Origin header to a value of '*'.
  • There isn't a built-in way to do this as thoroughly as you are describing. If I want to disable an endpoint then I remove all methods. But that doesn't "toggle off the visibility" in the way you are probably hoping for. Even if we added a feature t…
  • @paxton - I'll discuss this with you offline. Expect an email from me.
  • Ah...then I would say yes it is safe. We do it for the very reason explained above. These variables get cleared automatically anyway when OI is allowed to process events without interruption.
  • I take it that you mean to alter these variables other than clearing them as indicated above? If so, then I am not entire sure. However, if you have a reasonable idea of how these variables are populated then I think it would be relatively safe to m…
  • According to the changelog, this was added in OI 9.3. Paxton, are you able to upgrade OI?
  • What does GetEmailEDI.exe do for you? Does it connect to an VAN post office and download documents for you?
  • I'm not sure if you are aware of this feature, but the SRP Editor allows you to quickly add the currently open tab item (i.e., stored procedure, insert, or even record/dictionary) into an existing Repository View. Just press F6 and you'll see a list…
  • I can't say that I am aware of that technique. Have you tried setting the REDRAW property to 0 before the Send_Message calls to see if that reduces the performance lag?