/config_remote_server.sql Secret
Last active
January 23, 2025 08:09
リモート・サーバーを構成する
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
procedure config_remote_server( | |
p_info in apex_plugin.t_remote_server_info | |
,p_config out apex_plugin.t_remote_server_config | |
) | |
is | |
begin | |
p_config.base_url := '#proto#://#host#:#port#/ords/#workspace#'; | |
p_config.substitutions := apex_t_varchar2(); | |
apex_string.plist_put(p_config.substitutions, 'proto', nvl(v('P1_PROTO'),'http')); | |
apex_string.plist_put(p_config.substitutions, 'host', nvl(v('P1_HOST'),'localhost')); | |
apex_string.plist_put(p_config.substitutions, 'port', nvl(v('P1_PORT'),'8181')); | |
apex_string.plist_put(p_config.substitutions, 'workspace', nvl(v('P1_WORKSPACE'),'rest1')); | |
end; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment