microsoft / service-fabric-yarp

YARP integration with Service Fabric
MIT License
31 stars 9 forks source link

Unable to Register Pinger Test Application #6

Closed fuhsb closed 1 year ago

fuhsb commented 2 years ago

I downloaded the service-fabric-yarp.zip and followed the instructions in deploying YARP using PowerShell. That looks to have deployed correctly. We wanted to test out the YARP deployment by using the pinger test application provided. When I get to the step Register-ServiceFabricApplicationType -ApplicationPathInImageStore pinger-yarp, I get the below error:

Register-ServiceFabricApplicationType : The BuildLayout of the application in S:\SvcFab\ImageBuilderProxy\AppType\d2dbaf41-1f22-4fab-b012-5a52b7e29487 is invalid. Pinger.Code is missing for service PingerService.
At line:1 char:1
+ Register-ServiceFabricApplicationType -ApplicationPathInImageStore pi ...
+ CategoryInfo: InvalidOperation: (Microsoft.Servi...usterConnection:ClusterConnection) [Register-ServiceFabricApplicationType], FabricException
+ FullyQualifiedErrorId : RegisterApplicationTypeErrorId,Microsoft.ServiceFabric.Powershell.RegisterApplicationType

Is there a step I'm missing prior to or after downloading the SF yarp zip file? Every step I've taken is verbatim with what you have provided.

egaribay77 commented 2 years ago

Hello, I just took a look, and it seems as the pinger.code package was not included in this release. It must have not been properly added as part of our release pipeline. For now, can you download the previous release zip and extract the pinger.code package and copy it over. You can even just use the pinger-yarp app in the previous release they should be the same

egaribay77 commented 1 year ago

This has been addressed by the recent PR: https://github.com/microsoft/service-fabric-yarp/pull/10