mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 04:08:27 +08:00
fix syntax error, #1195
This commit is contained in:
parent
6de55d2e03
commit
44797a14e3
|
@ -106,17 +106,17 @@ CLASS lcl_http IMPLEMENTATION.
|
||||||
|
|
||||||
cl_http_client=>create_by_url(
|
cl_http_client=>create_by_url(
|
||||||
EXPORTING
|
EXPORTING
|
||||||
url = zcl_abapgit_url=>host( iv_url )
|
url = zcl_abapgit_url=>host( iv_url )
|
||||||
ssl_id = 'ANONYM'
|
ssl_id = 'ANONYM'
|
||||||
proxy_host = lo_proxy_configuration->get_proxy_url( iv_url )
|
proxy_host = lo_proxy_configuration->get_proxy_url( iv_url )
|
||||||
proxy_service = lo_proxy_configuration->get_proxy_port( iv_url )
|
proxy_service = lo_proxy_configuration->get_proxy_port( iv_url )
|
||||||
IMPORTING
|
IMPORTING
|
||||||
client = li_client
|
client = li_client
|
||||||
EXCEPTIONS
|
EXCEPTIONS
|
||||||
argument_not_found = 1
|
argument_not_found = 1
|
||||||
plugin_not_active = 2
|
plugin_not_active = 2
|
||||||
internal_error = 3
|
internal_error = 3
|
||||||
OTHERS = 4 ).
|
OTHERS = 4 ).
|
||||||
IF sy-subrc <> 0.
|
IF sy-subrc <> 0.
|
||||||
CASE sy-subrc.
|
CASE sy-subrc.
|
||||||
WHEN 1.
|
WHEN 1.
|
||||||
|
@ -161,7 +161,7 @@ CLASS lcl_http IMPLEMENTATION.
|
||||||
li_client->propertytype_logon_popup = if_http_client=>co_disabled.
|
li_client->propertytype_logon_popup = if_http_client=>co_disabled.
|
||||||
|
|
||||||
zcl_abapgit_login_manager=>load( iv_uri = iv_url
|
zcl_abapgit_login_manager=>load( iv_uri = iv_url
|
||||||
ii_client = li_client ).
|
ii_client = li_client ).
|
||||||
|
|
||||||
ro_client->send_receive( ).
|
ro_client->send_receive( ).
|
||||||
IF check_auth_requested( li_client ) = abap_true.
|
IF check_auth_requested( li_client ) = abap_true.
|
||||||
|
@ -174,7 +174,7 @@ CLASS lcl_http IMPLEMENTATION.
|
||||||
|
|
||||||
IF lv_scheme <> gc_scheme-digest.
|
IF lv_scheme <> gc_scheme-digest.
|
||||||
zcl_abapgit_login_manager=>save( iv_uri = iv_url
|
zcl_abapgit_login_manager=>save( iv_uri = iv_url
|
||||||
ii_client = li_client ).
|
ii_client = li_client ).
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
@ -182,7 +182,7 @@ CLASS lcl_http IMPLEMENTATION.
|
||||||
METHOD is_local_system.
|
METHOD is_local_system.
|
||||||
|
|
||||||
DATA: lv_host TYPE string,
|
DATA: lv_host TYPE string,
|
||||||
lt_list TYPE zif_abapgit_definitions=>ty_icm_sinfo2_tt,
|
lt_list TYPE zif_abapgit_exit=>ty_icm_sinfo2_tt,
|
||||||
li_exit TYPE REF TO zif_abapgit_exit.
|
li_exit TYPE REF TO zif_abapgit_exit.
|
||||||
|
|
||||||
FIELD-SYMBOLS: <ls_list> LIKE LINE OF lt_list.
|
FIELD-SYMBOLS: <ls_list> LIKE LINE OF lt_list.
|
||||||
|
|
|
@ -28,8 +28,6 @@ INTERFACE zif_abapgit_definitions PUBLIC.
|
||||||
ty_files_tt TYPE STANDARD TABLE OF ty_file WITH DEFAULT KEY .
|
ty_files_tt TYPE STANDARD TABLE OF ty_file WITH DEFAULT KEY .
|
||||||
TYPES:
|
TYPES:
|
||||||
ty_string_tt TYPE STANDARD TABLE OF string WITH DEFAULT KEY .
|
ty_string_tt TYPE STANDARD TABLE OF string WITH DEFAULT KEY .
|
||||||
TYPES:
|
|
||||||
ty_icm_sinfo2_tt TYPE STANDARD TABLE OF icm_sinfo2 WITH DEFAULT KEY .
|
|
||||||
TYPES:
|
TYPES:
|
||||||
BEGIN OF ty_git_user,
|
BEGIN OF ty_git_user,
|
||||||
name TYPE string,
|
name TYPE string,
|
||||||
|
|
|
@ -180,12 +180,6 @@
|
||||||
<LANGU>E</LANGU>
|
<LANGU>E</LANGU>
|
||||||
<DESCRIPT>TY_GIT_USER</DESCRIPT>
|
<DESCRIPT>TY_GIT_USER</DESCRIPT>
|
||||||
</SEOCOMPOTX>
|
</SEOCOMPOTX>
|
||||||
<SEOCOMPOTX>
|
|
||||||
<CLSNAME>ZIF_ABAPGIT_DEFINITIONS</CLSNAME>
|
|
||||||
<CMPNAME>TY_ICM_SINFO2_TT</CMPNAME>
|
|
||||||
<LANGU>E</LANGU>
|
|
||||||
<DESCRIPT>TY_ICM_SINFO2_TT</DESCRIPT>
|
|
||||||
</SEOCOMPOTX>
|
|
||||||
<SEOCOMPOTX>
|
<SEOCOMPOTX>
|
||||||
<CLSNAME>ZIF_ABAPGIT_DEFINITIONS</CLSNAME>
|
<CLSNAME>ZIF_ABAPGIT_DEFINITIONS</CLSNAME>
|
||||||
<CMPNAME>TY_ITEM</CMPNAME>
|
<CMPNAME>TY_ITEM</CMPNAME>
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
INTERFACE zif_abapgit_exit PUBLIC.
|
INTERFACE zif_abapgit_exit PUBLIC.
|
||||||
|
|
||||||
|
TYPES:
|
||||||
|
ty_icm_sinfo2_tt TYPE STANDARD TABLE OF icm_sinfo2 WITH DEFAULT KEY .
|
||||||
|
|
||||||
METHODS:
|
METHODS:
|
||||||
change_local_host
|
change_local_host
|
||||||
CHANGING ct_hosts TYPE zif_abapgit_definitions=>ty_icm_sinfo2_tt,
|
CHANGING ct_hosts TYPE ty_icm_sinfo2_tt,
|
||||||
allow_sap_objects
|
allow_sap_objects
|
||||||
RETURNING VALUE(rv_allowed) TYPE abap_bool,
|
RETURNING VALUE(rv_allowed) TYPE abap_bool,
|
||||||
change_proxy_url
|
change_proxy_url
|
||||||
|
|
Loading…
Reference in New Issue
Block a user