Skip to content

Commit

Permalink
Version 1.1. Release
Browse files Browse the repository at this point in the history
  • Loading branch information
admin committed Aug 29, 2024
1 parent fa783f3 commit 59e1449
Show file tree
Hide file tree
Showing 14 changed files with 608 additions and 38 deletions.
2 changes: 1 addition & 1 deletion 6c015a3c478012107abccd9fe16d43fb/checksum.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
BI4mDQzTernCR6r3UgFLVcIcQDs0nCHVUpvd_L7KiqjBnjYMXFCNxldcVNhPHZgALeSm7n9UKJqL-Rl8v3ed0JhWkto5wx5EAxgsiy7x8HHeiC21PtiJNENjj5BL-9AwHtMDdzUymN4Y4q-rnXrxt2ehFfpXK7E_IsvMYMQPb_cux1acFIQrDbX3OtPMTDFsyA8lq7Y5VleDTI3wtK-Gu77mbEYs5qvPTY90Kj-2XDIRGT0B8Fthlr1BTOGpyGPv_Uykh16EbO1E0ZrrOICofytrOMV83QJyo0NY3NfRbnqWpOQqeO4ZhMRBO1L6snyGIJhBZMTlfsFkRlgYBGe9rxjms5oEKIXdrpm5bjPwQpO9sIzq5PqqcqhTcLcfJJDxy42KJF8V6yJb5EZpQZOk3yrax0lwBuuUUJsuzEXTc59CrMF-g4qO_1t8lhF7zRMKWvqoJtgLXtoD2iwBRZlKxMr0ogUX-JCjiHXs1dU7xE-qxiny2XhfshZUQiGZTVXBq92S9bvluXv1hfBLtZjAm4nkABBJ_xufBHFYqJUsB9Qw-QMrJ6QWmpHIOPtEyUj5xnwqM1Ro07gv5qdhgB2d6OSfkxcW-t1Ao_atYba1NhcRSa2GwYIOe1oZdJF0F31WP8L3Zo63QdipAyYGi4vFNjcdMuO0K65aJTfjSu2IUBc
GeUh8a87FbxLbfFVHJZ4a8Loq-oVdbLpPTw-Jj-T6Zo_-0WJAFoKcND0kaItaPOP8mvzHSqPL1z5qSAZE-oG7df6ID1N913kyJNUquBsDWbaJFm__34-Zd2HgLEgH901UkFNEH1nrNCkmJzKOmgQLKp-0_eSUOtNzX-Q8uD7NXCVhd1NYgc8UZyEM-P5GO_9vxWoJ9x17AKW2nW1toKPzVDQiyGnrPGE9ip6xGcexSBTxdSMzEoIPBhQdJK_kEetASGIh43LwoZDj2oAFdMuQvzy9C8zAC7gknkS-53ZXSFQ21rFYvwVTCbpOo9bxYVyacXGK6RNFfQtdXLkFCOVbyEqdAyBCdlZu-6VT7UuzoxFSjxLaRYlU6HyWFfBf5EraNcQddBj4ozLDbcNxL2UYxvpmoE-QILLMzdbrOkTK8eo4TQvUjls-wxS6WTzya8hSF2AtcECCRQDmza2Xun4VkDbskfR7Qf1hJgxQ64J3ZFz-9iVrIwb7wWQH95OaWpS54sxU-4FvMWyAbjfpQA4qw5anTEme95pKMSCfhKhzqpgXYjyP3Y9aRzNx3pf5FwrDGA1652tW_o3iMY5_7JD-B9xwUzprTHIVLolkbQyszhzBfU959P92gJ0N3P4tCLpqwJAkgPvFZa-OM1kyljD1BjSS2HRNnsu8saIBp8lElY

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-08-13 19:26:54</sys_created_on>
<sys_id>382552f047c012107abccd9fe16d4317</sys_id>
<sys_mod_count>2</sys_mod_count>
<sys_mod_count>4</sys_mod_count>
<sys_name>x_298439_replicate.api_key</sys_name>
<sys_package display_value="Replicate" source="x_298439_replicate">6c015a3c478012107abccd9fe16d43fb</sys_package>
<sys_policy/>
<sys_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</sys_scope>
<sys_update_name>sys_properties_382552f047c012107abccd9fe16d4317</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-08-14 00:45:34</sys_updated_on>
<sys_updated_on>2024-08-29 17:09:31</sys_updated_on>
<type>password2</type>
<value/>
<write_roles/>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_scope_privilege">
<sys_scope_privilege action="INSERT_OR_UPDATE">
<operation>execute</operation>
<source_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</source_scope>
<status>allowed</status>
<sys_class_name>sys_scope_privilege</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-08-29 16:17:21</sys_created_on>
<sys_id>1363ccc2475012107abccd9fe16d43f9</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>ScriptableServiceResultBuilder.setBody</sys_name>
<sys_package display_value="Replicate" source="x_298439_replicate">6c015a3c478012107abccd9fe16d43fb</sys_package>
<sys_policy/>
<sys_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</sys_scope>
<sys_update_name>sys_scope_privilege_1363ccc2475012107abccd9fe16d43f9</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-08-29 16:17:21</sys_updated_on>
<target_name>ScriptableServiceResultBuilder.setBody</target_name>
<target_scope display_value="Global">global</target_scope>
<target_type>scriptable</target_type>
</sys_scope_privilege>
</record_update>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_scope_privilege">
<sys_scope_privilege action="INSERT_OR_UPDATE">
<operation>execute</operation>
<source_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</source_scope>
<status>allowed</status>
<sys_class_name>sys_scope_privilege</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-08-29 16:10:36</sys_created_on>
<sys_id>2ce1c842475012107abccd9fe16d4365</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>ScriptableFlowRunner.subflow</sys_name>
<sys_package display_value="Replicate" source="x_298439_replicate">6c015a3c478012107abccd9fe16d43fb</sys_package>
<sys_policy/>
<sys_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</sys_scope>
<sys_update_name>sys_scope_privilege_2ce1c842475012107abccd9fe16d4365</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-08-29 16:10:36</sys_updated_on>
<target_name>ScriptableFlowRunner.subflow</target_name>
<target_scope display_value="Global">global</target_scope>
<target_type>scriptable</target_type>
</sys_scope_privilege>
</record_update>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_scope_privilege">
<sys_scope_privilege action="INSERT_OR_UPDATE">
<operation>execute</operation>
<source_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</source_scope>
<status>allowed</status>
<sys_class_name>sys_scope_privilege</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-08-29 16:10:37</sys_created_on>
<sys_id>70e1c842475012107abccd9fe16d436d</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>ScriptableFlowRunner.run</sys_name>
<sys_package display_value="Replicate" source="x_298439_replicate">6c015a3c478012107abccd9fe16d43fb</sys_package>
<sys_policy/>
<sys_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</sys_scope>
<sys_update_name>sys_scope_privilege_70e1c842475012107abccd9fe16d436d</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-08-29 16:10:37</sys_updated_on>
<target_name>ScriptableFlowRunner.run</target_name>
<target_scope display_value="Global">global</target_scope>
<target_type>scriptable</target_type>
</sys_scope_privilege>
</record_update>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_scope_privilege">
<sys_scope_privilege action="INSERT_OR_UPDATE">
<operation>execute</operation>
<source_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</source_scope>
<status>allowed</status>
<sys_class_name>sys_scope_privilege</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-08-29 16:10:36</sys_created_on>
<sys_id>a8e1c842475012107abccd9fe16d436a</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>ScriptableFlowRunner.withInputs</sys_name>
<sys_package display_value="Replicate" source="x_298439_replicate">6c015a3c478012107abccd9fe16d43fb</sys_package>
<sys_policy/>
<sys_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</sys_scope>
<sys_update_name>sys_scope_privilege_a8e1c842475012107abccd9fe16d436a</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-08-29 16:10:36</sys_updated_on>
<target_name>ScriptableFlowRunner.withInputs</target_name>
<target_scope display_value="Global">global</target_scope>
<target_type>scriptable</target_type>
</sys_scope_privilege>
</record_update>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_scope_privilege">
<sys_scope_privilege action="INSERT_OR_UPDATE">
<operation>execute</operation>
<source_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</source_scope>
<status>allowed</status>
<sys_class_name>sys_scope_privilege</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-08-29 16:10:36</sys_created_on>
<sys_id>e0e1c842475012107abccd9fe16d4368</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>ScriptableFlowRunner.inForeground</sys_name>
<sys_package display_value="Replicate" source="x_298439_replicate">6c015a3c478012107abccd9fe16d43fb</sys_package>
<sys_policy/>
<sys_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</sys_scope>
<sys_update_name>sys_scope_privilege_e0e1c842475012107abccd9fe16d4368</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-08-29 16:10:36</sys_updated_on>
<target_name>ScriptableFlowRunner.inForeground</target_name>
<target_scope display_value="Global">global</target_scope>
<target_type>scriptable</target_type>
</sys_scope_privilege>
</record_update>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_scope_privilege">
<sys_scope_privilege action="INSERT_OR_UPDATE">
<operation>execute</operation>
<source_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</source_scope>
<status>allowed</status>
<sys_class_name>sys_scope_privilege</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-08-29 16:14:25</sys_created_on>
<sys_id>ecc280c2475012107abccd9fe16d4389</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>ScriptableFlowRunnerResult.getOutputs</sys_name>
<sys_package display_value="Replicate" source="x_298439_replicate">6c015a3c478012107abccd9fe16d43fb</sys_package>
<sys_policy/>
<sys_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</sys_scope>
<sys_update_name>sys_scope_privilege_ecc280c2475012107abccd9fe16d4389</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-08-29 16:14:25</sys_updated_on>
<target_name>ScriptableFlowRunnerResult.getOutputs</target_name>
<target_scope display_value="Global">global</target_scope>
<target_type>scriptable</target_type>
</sys_scope_privilege>
</record_update>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_scope_privilege">
<sys_scope_privilege action="INSERT_OR_UPDATE">
<operation>execute</operation>
<source_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</source_scope>
<status>allowed</status>
<sys_class_name>sys_scope_privilege</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-08-29 16:10:36</sys_created_on>
<sys_id>ece1c042475012107abccd9fe16d43e4</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>RESTAPIRequest</sys_name>
<sys_package display_value="Replicate" source="x_298439_replicate">6c015a3c478012107abccd9fe16d43fb</sys_package>
<sys_policy/>
<sys_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</sys_scope>
<sys_update_name>sys_scope_privilege_ece1c042475012107abccd9fe16d43e4</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-08-29 16:10:36</sys_updated_on>
<target_name>RESTAPIRequest</target_name>
<target_scope display_value="Global">global</target_scope>
<target_type>scriptable</target_type>
</sys_scope_privilege>
</record_update>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_scope_privilege">
<sys_scope_privilege action="INSERT_OR_UPDATE">
<operation>execute</operation>
<source_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</source_scope>
<status>allowed</status>
<sys_class_name>sys_scope_privilege</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-08-29 16:10:36</sys_created_on>
<sys_id>ece1c042475012107abccd9fe16d43e7</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>RESTAPIRequestBody</sys_name>
<sys_package display_value="Replicate" source="x_298439_replicate">6c015a3c478012107abccd9fe16d43fb</sys_package>
<sys_policy/>
<sys_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</sys_scope>
<sys_update_name>sys_scope_privilege_ece1c042475012107abccd9fe16d43e7</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-08-29 16:10:36</sys_updated_on>
<target_name>RESTAPIRequestBody</target_name>
<target_scope display_value="Global">global</target_scope>
<target_type>scriptable</target_type>
</sys_scope_privilege>
</record_update>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_scope_privilege">
<sys_scope_privilege action="INSERT_OR_UPDATE">
<operation>execute</operation>
<source_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</source_scope>
<status>allowed</status>
<sys_class_name>sys_scope_privilege</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-08-29 16:10:37</sys_created_on>
<sys_id>f0e1c842475012107abccd9fe16d437d</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>ScopedGlideElement</sys_name>
<sys_package display_value="Replicate" source="x_298439_replicate">6c015a3c478012107abccd9fe16d43fb</sys_package>
<sys_policy/>
<sys_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</sys_scope>
<sys_update_name>sys_scope_privilege_f0e1c842475012107abccd9fe16d437d</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-08-29 16:10:37</sys_updated_on>
<target_name>ScopedGlideElement</target_name>
<target_scope display_value="Global">global</target_scope>
<target_type>scriptable</target_type>
</sys_scope_privilege>
</record_update>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_ws_definition">
<sys_ws_definition action="INSERT_OR_UPDATE">
<active>true</active>
<base_uri>/api/x_298439_replicate/api</base_uri>
<consumes>application/json,application/xml,text/xml</consumes>
<consumes_customized>false</consumes_customized>
<default_version>No active default version</default_version>
<doc_link/>
<enforce_acl>cf9d01d3e73003009d6247e603f6a990</enforce_acl>
<is_versioned>false</is_versioned>
<name>Replicate</name>
<namespace>x_298439_replicate</namespace>
<produces>application/json,application/xml,text/xml</produces>
<produces_customized>false</produces_customized>
<service_id>api</service_id>
<short_description/>
<sys_class_name>sys_ws_definition</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-08-29 16:02:44</sys_created_on>
<sys_id>92cff77d471012107abccd9fe16d43fe</sys_id>
<sys_mod_count>1</sys_mod_count>
<sys_name>Replicate</sys_name>
<sys_package display_value="Replicate" source="x_298439_replicate">6c015a3c478012107abccd9fe16d43fb</sys_package>
<sys_policy/>
<sys_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</sys_scope>
<sys_update_name>sys_ws_definition_92cff77d471012107abccd9fe16d43fe</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-08-29 16:02:59</sys_updated_on>
</sys_ws_definition>
</record_update>
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_ws_operation">
<sys_ws_operation action="INSERT_OR_UPDATE">
<active>true</active>
<consumes>application/json,application/xml,text/xml</consumes>
<consumes_customized>false</consumes_customized>
<default_operation_uri/>
<enforce_acl>cf9d01d3e73003009d6247e603f6a990</enforce_acl>
<http_method>POST</http_method>
<name>Text2Text</name>
<operation_script><![CDATA[(function process( /*RESTAPIRequest*/ request, /*RESTAPIResponse*/ response) {
// implement resource here
try {
var prompt = request.body.data.input;
var inputs = {};
inputs['prompt'] = prompt; // String
// Start Asynchronously: Uncomment to run in background. Code snippet will not have access to outputs.
// sn_fd.FlowAPI.getRunner().subflow('x_298439_replicate.example_replicate_subflow').inBackground().withInputs(inputs).run();
// Execute Synchronously: Run in foreground. Code snippet has access to outputs.
var result = sn_fd.FlowAPI.getRunner().subflow('x_298439_replicate.example_replicate_subflow').inForeground().withInputs(inputs).run();
var outputs = result.getOutputs();
// var output = outputs['response']; // String
response.setBody(outputs);
// Current subflow has no outputs defined.
} catch (ex) {
var message = ex.getMessage();
gs.error(message);
}
})(request, response);]]></operation_script>
<operation_uri>/api/x_298439_replicate/api/text2text</operation_uri>
<produces>application/json,application/xml,text/xml</produces>
<produces_customized>false</produces_customized>
<relative_path>/text2text</relative_path>
<request_example/>
<requires_acl_authorization>true</requires_acl_authorization>
<requires_authentication>true</requires_authentication>
<requires_snc_internal_role>true</requires_snc_internal_role>
<short_description/>
<sys_class_name>sys_ws_operation</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-08-29 16:09:05</sys_created_on>
<sys_id>b211c402475012107abccd9fe16d437a</sys_id>
<sys_mod_count>10</sys_mod_count>
<sys_name>Text2Text</sys_name>
<sys_package display_value="Replicate" source="x_298439_replicate">6c015a3c478012107abccd9fe16d43fb</sys_package>
<sys_policy/>
<sys_scope display_value="Replicate">6c015a3c478012107abccd9fe16d43fb</sys_scope>
<sys_update_name>sys_ws_operation_b211c402475012107abccd9fe16d437a</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-08-29 16:35:35</sys_updated_on>
<web_service_definition display_value="Replicate">92cff77d471012107abccd9fe16d43fe</web_service_definition>
<web_service_version/>
</sys_ws_operation>
<sys_es_latest_script action="INSERT_OR_UPDATE">
<id>b211c402475012107abccd9fe16d437a</id>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-08-29 16:09:05</sys_created_on>
<sys_id>d6814402475012107abccd9fe16d431e</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-08-29 16:09:05</sys_updated_on>
<table>sys_ws_operation</table>
<use_es_latest>true</use_es_latest>
</sys_es_latest_script>
</record_update>

0 comments on commit 59e1449

Please sign in to comment.