Skip to content

Relocate 'api_identity' derive macro - it's a helper for omicron-common #288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 12, 2021

Conversation

smklein
Copy link
Collaborator

@smklein smklein commented Oct 6, 2021

This PR is for cleanup:

  • The derive macro is only usable within the context of omicron-common/src/api/external, so it has been
    moved to be co-located with usage.
  • The macro itself has been updated to use hygienic paths.

@smklein smklein requested a review from davepacheco October 6, 2021 20:49
@smklein smklein added the cleanup Code cleanliness label Oct 7, 2021
@smklein smklein merged commit ec737d3 into main Oct 12, 2021
@smklein smklein deleted the move-api-id branch October 12, 2021 20:45
david-crespo added a commit that referenced this pull request Nov 9, 2021
david-crespo added a commit that referenced this pull request Nov 10, 2021
david-crespo added a commit that referenced this pull request Nov 10, 2021
david-crespo added a commit that referenced this pull request Nov 12, 2021
david-crespo added a commit that referenced this pull request Nov 18, 2021
* Revert "Relocate 'api_identity' derive macro - it's a helper for omicron-common (#288)"

This reverts commit ec737d3.

* create external_api and internal_api modules, put entrypoints inside

* pull project and org views and params out of common

* do an example of internal params

* update openapi spec fixture

* comment symmetry on params files

* update comment

* address comments
david-crespo added a commit that referenced this pull request Nov 18, 2021
* Revert "Relocate 'api_identity' derive macro - it's a helper for omicron-common (#288)"

This reverts commit ec737d3.

* create external_api and internal_api modules, put entrypoints inside

* pull project and org views and params out of common

* do an example of internal params

* update openapi spec fixture

* comment symmetry on params files

* move sled agent's DiskEnsureBody into sled agent

* do a more complicated sled agent type

* super::super:: -> crate::

* move bootstrap agent types into bootstrap agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code cleanliness
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants