Working on orchestration

This commit is contained in:
Owen
2025-11-20 10:31:09 -05:00
parent fa5facdf33
commit 3750c36aa7
10 changed files with 177 additions and 90 deletions

View File

@@ -272,9 +272,6 @@ export async function createSiteResource(
);
}
// const targets = await generateSubnetProxyTargets([newSiteResource], trx);
// await addTargets(newt.newtId, targets);
await rebuildClientAssociations(newSiteResource, trx); // we need to call this because we added to the admin role
});

View File

@@ -106,10 +106,7 @@ export async function deleteSiteResource(
);
}
// const targets = await generateSubnetProxyTargets([removedSiteResource], trx);
// await removeTargets(newt.newtId, targets);
await rebuildClientAssociations(existingSiteResource, trx);
await rebuildClientAssociations(removedSiteResource, trx);
});
logger.info(