All files / output/open-abap-core if_a4c_cp_service.intf.mjs

93.02% Statements 40/43
100% Branches 4/4
21.42% Functions 3/14
93.02% Lines 40/43

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 432x 2x 2x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x       1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x
function $t_aWZfYTRjX2NwX3NlcnZpY2UuaW50Zi5tanM_0() { return new abap.types.Structure({
"name": new abap.types.Character(30, {"qualifiedName":"if_a4c_cp_service=>ty_service_property_name"}),
"value": new abap.types.Character(512, {"qualifiedName":"if_a4c_cp_service=>ty_service_property_value"})}, "if_a4c_cp_service=>ts_cp_svc_property"); }
function $t_aWZfYTRjX2NwX3NlcnZpY2UuaW50Zi5tanM_1() { return abap.types.TableFactory.construct($t_aWZfYTRjX2NwX3NlcnZpY2UuaW50Zi5tanM_0(), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":["NAME"]},"secondary":[]}, "if_a4c_cp_service=>tt_cp_svc_properties"); }
// if_a4c_cp_service.intf.abap
class if_a4c_cp_service {
  static INTERNAL_TYPE = 'INTF';
  static INTERNAL_NAME = 'IF_A4C_CP_SERVICE';
  static ATTRIBUTES = {"USER_PROPAGATION": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "SERVICE_SPECIFIC": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "NONE": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "BASIC": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "OAUTH2": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}};
  static METHODS = {"CREATE_HTTP_CLIENT": {"visibility": "U", "exceptions": ["CX_WEB_HTTP_CLIENT_ERROR"], "parameters": {"RO_HTTP_CLIENT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_WEB_HTTP_CLIENT", RTTIName: "\\INTERFACE=IF_WEB_HTTP_CLIENT"});}, "is_optional": " ", "parm_kind": "R", "type_name": "ObjectReferenceType"}, "IV_SVC_AUTHENTICATION_MODE": {"type": () => {return new abap.types.String({qualifiedName: "IF_A4C_CP_SERVICE=>AUTHN_MODE", enumValues: ["USER_PROPAGATION","SERVICE_SPECIFIC"]});}, "is_optional": "X", "parm_kind": "I", "type_name": "EnumType"}}},
  "GET_PROPERTY": {"visibility": "U", "exceptions": ["CX_A4C_CP_SVC_PROP_NOT_FOUND"], "parameters": {"RV_VALUE": {"type": () => {return new abap.types.Character(512, {"qualifiedName":"if_a4c_cp_service=>ty_service_property_value"});}, "is_optional": " ", "parm_kind": "R", "type_name": "CharacterType"}, "IV_PROPERTY_NAME": {"type": () => {return new abap.types.Character(30, {"qualifiedName":"if_a4c_cp_service=>ty_service_property_name"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}},
  "GET_PROPERTIES": {"visibility": "U", "parameters": {"RT_PROPERTIES": {"type": () => {return $t_aWZfYTRjX2NwX3NlcnZpY2UuaW50Zi5tanM_1();}, "is_optional": " ", "parm_kind": "R", "type_name": "TableType"}}},
  "GET_CONNECTION_DETAILS": {"visibility": "U", "parameters": {"RS_DETAILS": {"type": () => {return new abap.types.Structure({
  "ca_uuid": new abap.types.Hex({length: 16, qualifiedName: "SYSUUID_X16"}),
  "logical_port": new abap.types.Character(32),
  "authn_type": new abap.types.Integer({qualifiedName: "I"}),
  "oa2c_configuration": new abap.types.Character(32, {"qualifiedName":"CHAR32","ddicName":"CHAR32","description":""})}, "TSA4C_CP_SVC_CONN_DETAILS", "TSA4C_CP_SVC_CONN_DETAILS");}, "is_optional": " ", "parm_kind": "R", "type_name": "StructureType"}}}};
}
abap.Classes['IF_A4C_CP_SERVICE'] = if_a4c_cp_service;
if_a4c_cp_service.if_a4c_cp_service$user_propagation = new abap.types.Integer({qualifiedName: "I"});
if_a4c_cp_service.if_a4c_cp_service$user_propagation.set(0);
if_a4c_cp_service.if_a4c_cp_service$service_specific = new abap.types.Integer({qualifiedName: "I"});
if_a4c_cp_service.if_a4c_cp_service$service_specific.set(1);
if_a4c_cp_service.if_a4c_cp_service$none = new abap.types.Integer({qualifiedName: "I"});
if_a4c_cp_service.if_a4c_cp_service$none.set(0);
if_a4c_cp_service.if_a4c_cp_service$basic = new abap.types.Integer({qualifiedName: "I"});
if_a4c_cp_service.if_a4c_cp_service$basic.set(1);
if_a4c_cp_service.if_a4c_cp_service$oauth2 = new abap.types.Integer({qualifiedName: "I"});
if_a4c_cp_service.if_a4c_cp_service$oauth2.set(2);
if_a4c_cp_service.ty_service_instance_name = new abap.types.Character(80, {"qualifiedName":"if_a4c_cp_service=>ty_service_instance_name"});
if_a4c_cp_service.ty_service_type = new abap.types.Character(64, {"qualifiedName":"if_a4c_cp_service=>ty_service_type"});
if_a4c_cp_service.ty_service_property_name = new abap.types.Character(30, {"qualifiedName":"if_a4c_cp_service=>ty_service_property_name"});
if_a4c_cp_service.ty_service_property_value = new abap.types.Character(512, {"qualifiedName":"if_a4c_cp_service=>ty_service_property_value"});
if_a4c_cp_service.ty_service_instance_id = new abap.types.Hex({length: 16, qualifiedName: "IF_A4C_CP_SERVICE=>TY_SERVICE_INSTANCE_ID"});
if_a4c_cp_service.ts_cp_svc_property = $t_aWZfYTRjX2NwX3NlcnZpY2UuaW50Zi5tanM_0();
if_a4c_cp_service.authn_mode = new abap.types.String({qualifiedName: "IF_A4C_CP_SERVICE=>AUTHN_MODE", enumValues: ["USER_PROPAGATION","SERVICE_SPECIFIC"]});
if_a4c_cp_service.authn_type = new abap.types.String({qualifiedName: "IF_A4C_CP_SERVICE=>AUTHN_TYPE", enumValues: ["NONE","BASIC","OAUTH2"]});
if_a4c_cp_service.tt_cp_svc_properties = $t_aWZfYTRjX2NwX3NlcnZpY2UuaW50Zi5tanM_1();
export {if_a4c_cp_service};