Skip to content

Commit

Permalink
Issue OpenC2-org#7 - remove action-throttle
Browse files Browse the repository at this point in the history
  • Loading branch information
sparrell committed May 1, 2019
1 parent 713f21f commit ae099be
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 183 deletions.
2 changes: 0 additions & 2 deletions apps/ocas/src/act_svr_map.erl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ action_map() ->
, <<"stop">> => act_stop
, <<"substitute">> => act_substitute
, <<"sync">> => act_sync
, <<"throttle">> => act_throttle
, <<"update">> => act_update
},
ActionMap.
Expand All @@ -94,4 +93,3 @@ text_to_server( Word ) ->
-spec is_server_running(atom()) -> 'undefined' | pid() | port().
is_server_running(Svr) ->
whereis(Svr).

112 changes: 0 additions & 112 deletions apps/ocas/src/action_servers/act_throttle.erl

This file was deleted.

12 changes: 0 additions & 12 deletions test/action_su_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
, test_stop/1
, test_substitute/1
, test_sync/1
, test_throttle/1
, test_update/1
]).

Expand All @@ -63,8 +62,6 @@ all() ->
, test_substitute
, test_sync
, test_sync
, test_throttle
, test_throttle
, test_update
, test_update
].
Expand Down Expand Up @@ -164,19 +161,10 @@ test_sync(Config) ->
),
ok.

test_throttle(Config) ->
%% send command and compare expected results
helper_json:post_oc2( "throttle01.json"
, "throttle01.results.json"
, Config
),
ok.

test_update(Config) ->
%% send command and compare expected results
helper_json:post_oc2( "update01.json"
, "update01.results.json"
, Config
),
ok.

15 changes: 0 additions & 15 deletions test/action_su_SUITE_data/throttle01.json

This file was deleted.

42 changes: 0 additions & 42 deletions test/action_su_SUITE_data/throttle01.results.json

This file was deleted.

0 comments on commit ae099be

Please sign in to comment.