Project

General

Profile

« Previous | Next » 

Revision 9926d4d3

Added by Joseph Magen over 10 years ago

fixes #3998 - API v2 error on /api/compute_resources, missing gce.json.rabl

View differences:

app/views/api/v1/compute_resources/gce.json.rabl
attributes :email, :zone, :project, :key_path
app/views/api/v2/compute_resources/gce.json.rabl
attributes :email, :zone, :project, :key_path
test/fixtures/compute_resources.yml
password: MyString
uuid: 234234234324
type: Foreman::Model::EC2
gce:
name: gce123
description: yourcompute
url: us-central1-a
user: MyString
password: MyString
uuid: 78787878787
type: Foreman::Model::GCE

Also available in: Unified diff