Project

General

Profile

« Previous | Next » 

Revision e9e0ab3a

Added by Thomas McKay over 7 years ago

fixes #16999 - process portal creation

added temporary travis.yml change

View differences:

lib/hammer_cli_csv/subscriptions.rb
api = rest_client("/subscription/consumers/#{manifest['uuid']}/entitlements?pool=#{subscription['id']}&quantity=#{line[SUBS_QUANTITY]}")
results = api.post({}.to_json)
subscription['quantity'] -= line[SUBS_QUANTITY]
break
return
end
end
print _('subscription unavailable...')
end
def get_available_subscriptions(manifest)
......
'system.certificate_version' => '3.2'
}
}
manifest = api.post(body.to_json,
results = api.post(body.to_json,
{'accept' => 'json', 'content_type' => 'application/json'}
)
manifest = JSON.parse(results)
manifest['subscriptions'] = []
@manifests[line[ORGANIZATION]][:manifest] = manifest
end

Also available in: Unified diff