ubuntu-advantage-script:remove-machine-token-from-cfg

Last commit made on 2024-04-30
Get this branch:
git clone -b remove-machine-token-from-cfg https://git.launchpad.net/ubuntu-advantage-script

Branch merges

Branch information

Name:
remove-machine-token-from-cfg
Repository:
lp:ubuntu-advantage-script

Recent commits

26501bb... by Lucas Albuquerque Medeiros de Moura

machine_token: handler circular dependency issues

ef25515... by Lucas Albuquerque Medeiros de Moura

tests: fix all tests for machine token refactor

67b5617... by Lucas Albuquerque Medeiros de Moura

set machine token during entitlement creation

We are now setting up the machine_token_file variable directly
on the object creation. Since the machine_token_file is a singleton
object, we believe this will simplify our existing flows

a6bcf7e... by Lucas Albuquerque Medeiros de Moura

remove machine token from UAConfig

Our goal is to make the UAConfig module only handle user configuration.
Right now it also handles any interaction that we have with the machine
token file. We are removing that responsability from the UAConfig class
by allowing the necessary classes and functions to access the machine
token file directly

dc7c662... by Lucas Albuquerque Medeiros de Moura

files: move machine_token to a separate module

Create specific module for the machine token file

a426370... by Lucas Albuquerque Medeiros de Moura

make entitlement_factory return object

Instead of the entitlement_factory to return the entitlement class,
we are instatiating the object and returning it

161e347... by Grant Orndorff

all these secrets have been rotated

6ab282d... by Grant Orndorff

d/postinst: ensure migrations happen in correct package postinst

Fixes: #2982

570f0dd... by Grant Orndorff

update-pos

67bf06b... by Grant Orndorff

messaging: add consistent messaging for end-of-contract UX