anchor.diff:  	notify_insert_gtt, notify_delete_gtt, query_gtt_notification,
   	notify_add_pla, notify_delete_pla, query_pla_notification,
   	post_hub_usage, get_usage_hubs, get_usage_hub, delete_hub_usage,
  -	notify_diameter_acct_log,
  +	notify_diameter_acct_log, get_resources,
   	oauth_authentication].
   
   %%---------------------------------------------------------------------
  
positive.code: 	{ok, _, #bucket{id = BId}} = ocs:add_bucket(ProdRef, Bucket),
  	BId.
  
  
negative.code: 					= lists:keyfind("type", 1, AcctUsageList)
  	end.
  
  get_resources() ->
  	[{userdata, [{doc, "GET Resource collection"}]}].
  
  get_resources(Config) ->
  	ok = add_resource("tariff resource", "tariff", "tariff spec"),
  	ok = add_resource("policy resource", "policy", "policy spec"),
  	HostUrl = ?config(host_url, Config),
  	CollectionUrl = HostUrl ++ "/resourceInventoryManagement/v1/resource/",
  	Accept = {"accept", "application/json"},
  	Request = {CollectionUrl, [Accept, auth_header()]},
  	{ok, Result} = httpc:request(get, Request, [], []),
  	{{"HTTP/1.1", 200, _OK}, Headers, ResponseBody} = Result,
  	{_, "application/json"} = lists:keyfind("content-type", 1, Headers),
  	ContentLength = integer_to_list(length(ResponseBody)),
  	{_, ContentLength} = lists:keyfind("content-length", 1, Headers),
  	{array, Objects} = mochijson:decode(ResponseBody),
  	true = length(Objects) >= 2.
  
  oauth_authenticaton()->
  	[{userdata, [{doc, "Authenticate a JWT using oauth"}]}].
  
  