Layer7 API Management

  • 1.  migrate issue

    Posted Oct 11, 2018 08:18 PM

    Hi There,

    Am getting following issue during migrateIn not sure what it could be,shed any light?

    <l7:Mapping action="NewOrExisting" errorType="InvalidResource" srcId="5d7a3e44573123e7b2b9b25bcd9c12ec" srcUri="https://localhost:9443/restman/1.0/services/5d7a3e44573123e7b2b9b25bcd9c12ec" type="SERVICE">
    <l7:Properties>
    <l7:Property key="ErrorMessage">
    <l7:StringValue>Cannot add or update a child row: a foreign key constraint fails (`ssg`.`published_service`, CONSTRAINT `published_service_folder` FOREIGN KEY (`folder_goid`) REFERENCES `folder` (`goid`) ON DELETE NO ACTION ON UPDATE NO ACTION)</l7:StringValue>



  • 2.  Re: migrate issue
    Best Answer

    Broadcom Employee
    Posted Oct 14, 2018 08:18 PM

    Hi,

    Just guess, it sounds like the parent folder (folder id) does not exist on the target server.

    But usually the dependent parent folder should be included in the bundle file. May be some kind of mapping issue?

     

    Regards,

    Mark



  • 3.  Re: migrate issue

    Broadcom Employee
    Posted Nov 20, 2018 04:10 PM

    Did Mark's suggestion help with resolution of your issue? If not please let us know if you were able to resolve the problem and what was the cause.

     

    Sincerely,

     

    Stephen Hughes

    Broadcom Support



  • 4.  Re: migrate issue

    Posted Nov 20, 2018 09:55 PM

    Marked as correct.



  • 5.  Re: migrate issue

    Broadcom Employee
    Posted Nov 20, 2018 10:12 PM

    Thank you.