Ends in:
7 DAYS
22 HRS
4 MIN
14 SEC
Ends in:
7 D
22 H
4 M
14 S
Open Closed

ABP CLI generated solution details are not available. #777


User avatar
0
prasad.gore created
  • ABP Framework version: 4.1.0
  • UI type: Angular / MVC / BLAZOR
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Generate a new solution with ABP CLI -: abp new <solution-name> [options] It will successfully creates the solution. But when I try to get all available solutions details using http://localhost:3000/api/abpSuite/solutions then it is not able to retrieve solutions created using ABP CLI. Also it is not listed in ABP SUITE Solutions list(http://localhost:3000/)

If I create a new solution using ABP SUITE browser then only it will be available in the solutions list and it is able retrieve solutins details using http://localhost:3000/api/abpSuite/solutions

So how can I get the details(id/name/path etc) of the solutions created using ABP CLI.

Thanks - Prasad G


6 Answer(s)
  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Hi @prasad.gore,

    Projects created by CLI are not added to suite solutions. But you can manually add them using " Add an existing solution" button.

  • User Avatar
    0
    prasad.gore created

    Thanks yekalkan But do we have any ABP CLI Command to add given solution in ABP SUITE ? Because I dont wan't use ABP SUITE browser to add existing solution. Basically I need to get Solution Id which is created using ABP CLI. I am trying to generate payload for CRUD generator which requires Solution Id in Url Ex:(http://localhost:3000/api/abpSuite/crudPageGenerator/a85652b9-a833-4bb6-ac08-7481b10b8944/save-and-generate-entity)

    Is there any way to get the Solution Id which is created using ABP CLI.

    Thanks - Prasad G

  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    @prasad.gore

    Actually we didn't think someone will need such a requirement. But automatically adding a new project created by CLI to Suite makes sense (Then you can get the SolutionId).

    I'll create an issue for v4.2 and implement if it is feasible.

  • User Avatar
    1
    prasad.gore created

    Hi yekalkan

    I am able to achive it while generating the required http post web request payload for http://localhost:3000/api/abpSuite/addSolution. Now it's explicitly adding any new project created by ABP CLI in ABP SUITE.

    Thanks - Prasad G

  • User Avatar
    0
    prasad.gore created

    Hi,

    Even if I am able to achive it while generating the required http post web request payload, it's a temporary solution so is this going to get resolved in any upcoming version?

    Thanks - Prasad G

  • User Avatar
    0
    alper created
    Support Team Director

    hi, first of all this is not a bug or missing feature. ABP CLI is used for both open-source and commercial platforms so, it's not possible to add a commercial feature to the free and open-source tool.

    Secondly, you can use ABP Suite via commad line with the HTTP requests. See how you can achieve this https://support.abp.io/QA/Questions/841/How-can-I-use-ABP-Suite-from-command-line#answer-194c035a-d6e7-c34f-5758-39fa4128c977

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06