~troyanov/maas:describe-maas-url

Last commit made on 2023-03-06
Get this branch:
git clone -b describe-maas-url https://git.launchpad.net/~troyanov/maas
Only Anton Troyanov can upload to this branch. If you are Anton Troyanov please log in for upload directions.

Branch merges

Branch information

Name:
describe-maas-url
Repository:
lp:~troyanov/maas

Recent commits

f3507a5... by Anton Troyanov

test(cli): test uri f-string

34d85f6... by Anton Troyanov

fixup! fix(cli): use profile.url to build absolute uri

b0e3985... by Anton Troyanov

fix(cli): use profile.url to build absolute uri

When MAAS is behind a load-balancer or proxy
(e.g. HAProxy with `mode tcp`), CLI should use MAAS URL stored in profile
to build absolute URI of a resource, instead of relying on `uri` property
returned by `/describe`.

Resolves LP:2009186

a7f1315... by Anton Troyanov

Revert "fix(api): /describe should respect maas_url"

This reverts commit 0ab0c87ecda7ae1488d366d6e474ddee00890e20.

0ab0c87... by Anton Troyanov

fix(api): /describe should respect maas_url

When MAAS is behind a load-balancer or proxy
(e.g. HAProxy with `mode tcp`), we should use address specified in
`maas_url` when returning resources information in `/describe`

Resolves LP:2009186

4fe6f7b... by Alberto Donato

Update initial SQL

4dbdcee... by Alberto Donato

drop ViewModel base class, since it's not really useful

faeff95... by Jack Lloyd-Walters

fix LP:2009140, OpenApi parameter names erroneously stripped of trailing '}'

16fd33e... by Jack Lloyd-Walters

Modify OpenApi method generation to capture all method types

20c7bab... by Alberto Donato

use text db field for MACs, normalise values in MACAddressFormField