Skip to content

Integrate various parts of projects with the Admin API tool window #113

@picimako

Description

@picimako

Summary

As many endpoints in the Admin API work with JSON stub mappings, it could be beneficial to integrate actual stub mapping files with the Admin API tool window.

Tasks

  • Context menu action in the Project View to create/update/find/find by/delete by id of a mapping based on the selected JSON stub mapping file, or a given stub mapping in it, if multi-mapping.
    • In case of multi-mapping files, the same logic can be reused to determine parent stub mapping object, that is used in the Java DSL preview.
  • Floating action bar button to create/update a mapping based on the selected JSON stub mapping file, or a given stub mapping in it, if multi-mapping.
  • Create JSON stub mapping(s) in the project from endpoint responses containing stub mappings.
    • This could be a button on the response body side in the tool window.
  • Generate request configuration for the Admin API tool window from eligible Java DSL method calls. This is an extension of Extend HTTP Client request creation for more Admin API endpoints #61
    • It may require some new underlying logic in terms of how to target and configure certain parts of the tool window based on outside triggers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions