anchor.diff:  	PolicyRow = #resource{name = "PolicyRow", description = "Policy Row",
   			category = "Policy", class_type = "LogicalResource",
   			base_type = "Resource", related = [#resource_rel{id = PolicyTableId,
  -					href = "/resourceInventoryManagement/v1/resourceRelationship/"
  +					href = "/resourceInventoryManagement/v1/resource/"
   					++ PolicyTableId, name = "PolicyTable", type = "contained"}],
   			specification = #specification_ref{id = "4",
   					href = "/resourceCatalogManagement/v2/resourceSpecification/4",
  
positive.code: 	{_, URI} = lists:keyfind("location", 1, Headers1),
  	{"/resourceInventoryManagement/v1/resource/" ++ ResourceId, _}
  			= httpd_util:split_path(URI),
  	NameOp = {struct, [{op, "add"}, {"path", "/name"}, {value, "Policy"}]},
  	DescriptionOp = {struct, [{op, "add"}, {"path", "/description"},
  			{value, "policy resource"}]},
  	CategoryOp = {struct, [{op, "add"}, {"path", "/category"},
  			{value, "policy"}]},
  	NewResSpecObj = {struct, [{"id", "4"}, {"name", "policy row spec"},
  			{"href", "/resourceInventoryManagement/v1/productSpecification/4"}]},
  	ResSpecOp = {struct, [{op, "add"}, {path, "/resourceSpecification"},
  			{value, NewResSpecObj}]},
  	OpArray = {array, [NameOp, DescriptionOp, CategoryOp, ResSpecOp]},
  	PatchReqBody = lists:flatten(mochijson:encode(OpArray)),
  	PatchContentType = "application/json-patch+json",
  	Request2 = {HostUrl ++ ResourceHref ++ ResourceId, [Accept, auth_header(),
  			{"if-match", Etag}], PatchContentType, PatchReqBody},
  	{ok, Result2} = httpc:request(patch, Request2, [], []),
  	{{"HTTP/1.1", 200, "OK"}, _Headers2, _ResponseBody2} = Result2,
  	{ok, #resource{name = "Policy", description = "policy resource",
  			category = "policy", specification = #specification_ref{id = "4",
  			href = "/resourceInventoryManagement/v1/productSpecification/4"}}}
  			= ocs:get_resource(ResourceId).
  
  post_policy() ->
  
negative.code: 	#resource_char{name = "rate", value = CharRate}
  			= lists:keyfind("rate", #resource_char.name, CharList).
  
  delete_tariff_resource() ->
  	[{userdata, [{doc,"Delete tariff resource inventory"}]}].
  
  delete_tariff_resource(Config) ->
  	{ok, #resource{id = Id}} = add_resource("1", "tariff table", "tariff"),
  	URI = "/resourceInventoryManagement/v1/resource/" ++ Id,
  	HostUrl = ?config(host_url, Config),
  	Request = {HostUrl ++ URI, [auth_header()]},
  