Search results

  1. peterjudge

    Ideas for caching a table?

    It will persist in a single AVM session (so Classic agent/client session/etc, or a single session in a PASOE multisession agent process). The "global" nature of shared things means that it's not limted to the current call stack, but the whole AVM session can access that thing (variable...
  2. peterjudge

    Question DB user-level password policy implementation OE 11.73

    I am not advocating for using _User, but you can mitigate matters. You can use the OE Authentication Gateway (since 11.6.something) to add better authentication - using Active Directory or LDAP or something - and not have to manage credentials, their storage and their policies. That said, if...
  3. peterjudge

    Ideas for caching a table?

    As much as the thought of using global shared temp-tables makes me throw up in my mouth a little bit, having such a beast have the same name as the db table is a neat trick, and should let you implement "common.i" incrementally throughout the application.
  4. peterjudge

    Ideas for caching a table?

    Put it in -B2 ? And let it churn away. You can cache the data in static OOABL members (properties/whatever). Add a "last loaded" timestamp too, and maybe a "max age" value. In the activate procedure - and if that doesn't run for Classic WebSpeed, there's a procedure named something like...
  5. peterjudge

    Prodataset temp-tables empty after read-xml

    Are you calling the SOAP service yourself? Or is this just an XML file that you are being asked to process? If a SOAP service: if you have a WSDL for the SOAP service, you can use the $DLC/bin/bprowsdldoc script to generate documentation on the WSDL, including ProDataSet definitions. If it's...
  6. peterjudge

    Prodataset temp-tables empty after read-xml

    You really don't need to do this. input from value(file-info:file-name) binary no-map no-convert. import vmfile. input close. copy-lob from vmfile to vlcfile. You can just use COPY-LOB to read the file directly ... copy-lob from file file-info:full-pathname to vlcFile.
  7. peterjudge

    Question How to calculate a X509 certificate's issuer name hash

    @Cecil , does the Thumbprint property not give you what you need? Per that page Doesn't look like it.
  8. peterjudge

    Question How to calculate a X509 certificate's issuer name hash

    Possibly. You need the Subject, not the issuer, though. So, get ASN.1-encoded subject. SHA-1 hash it (into a big-endian-byte-order memptr). Hex-encode the first 4 bytes . Profit. (edit: had to /.-ify this post)
  9. peterjudge

    Question How to calculate a X509 certificate's issuer name hash

    It appears to be a tad involved. Take a look at the answer to What does `openssl x509 -hash` calculate the hash of? . So far, so easy. Now you need the ASN.1 encoding ... you can see what that looks like using ASN.1 JavaScript decoder (upload a .0 file from $dlc/certs). The progresstalk.com...
  10. peterjudge

    Question How to calculate a X509 certificate's issuer name hash

    It may be (I don't know 100% for sure that it is; I have a suspicion that it's just a custom executable that links openssh) but this command proenv> sslc x509 -in "DigiCert Global Root G2.crt" -hash -noout produces the hash value you are after.
  11. peterjudge

    Question Openedge HTTP client - Supported ciphers.

    So 18 hours ahead of the US East Coast. I think . Closer to the weekend than we are, at any rate ...
  12. peterjudge

    Question Openedge HTTP client - Supported ciphers.

    Isn't it morning? Or at least lunch? There?
  13. peterjudge

    Question Openedge HTTP client - Supported ciphers.

    Sadly, this info is not available from the AVM. YOu have to use an env var ... Progress Customer Community has info on SSL debugging. This will tell you the actual cipher and protocol used. Logging-level 5 will tell you what the HTTP client is trying to use (ie passed to the CONNECT statement).
  14. peterjudge

    Releasing memory

    As @Cringer says, you should clean up on each iteration of the loop. Right now there are n - 1 blobs of memory leaking. That entails adding a ON ERROR UNDO, THROW phrase to the DO block and moving the FINALLY block inside the DO. I would also be careful of buffer scope with the static method...
  15. peterjudge

    Answered How to "prodict" without 4GL Development Kit?

    Extracting the PL files that Progress ships is perfectly legal - Progress supplies tools (in $DLC/src) to help you do just that. The requirement for the development license on the server is due to how the data dictionary was written, a very long time ago. It uses named arguments - not...
  16. peterjudge

    Some questions about Developer Studio

    I think (but am most certainly not an expert on licenses) a developer studio license gives you everything you need for development on Windows. It comes with a bundled db, AppServer, etc . ABL R-code is platform portable and there is an _progres executable shipped on Windows. If you use the...
  17. peterjudge

    Some questions about Developer Studio

    One thing to note: PDSOE is a Windows-only product. PDSOE detects which OE versions you have installed, and can present them to you as Rob showed, for a run or launch configuration. The compilation/syntax highlighting etc capabilities it presents in the editor is for the installed version only...
  18. peterjudge

    3rd party tool to scan the code

    I don't know the details on the CABL implementation, but why would you expect the report output - that's in SonarQube - to be in an OpenEdge format?
  19. peterjudge

    Changes being made to the Proedit section in ini file

    Oh Tom. You know you love GUI programming ....
  20. peterjudge

    Changes being made to the Proedit section in ini file

    It looks (based on the ADE sourcecode, see ADE-Sourcecode/src/adeedit/psystem.i at 9fa598ef448ac6cf16e7e300b94ffac68a819382 · consultingwerk/ADE-Sourcecode ) that these values are set from the procedure editor.
Back
Top