Skip to content

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

Merged
smklein merged 5 commits into
mainfrom
move-api-id
Oct 12, 2021
Merged

Relocate 'api_identity' derive macro - it's a helper for omicron-common#288
smklein merged 5 commits into
mainfrom
move-api-id

Conversation

@smklein

@smklein smklein commented Oct 6, 2021

Copy link
Copy Markdown
Collaborator

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