2024 Jul 03 11:08 AM - edited 2024 Jul 09 9:07 PM
This is a task in the July Developer Challenge - "Reverse APIs".
📺 We covered this task, both the "Simple deployment to BTP " approach, and the "Local deployment plus ngrok tunnel " approach, in the Hands-on SAP Dev live stream episode on Fri 05 Jul, and you can watch the replay of this coverage here: https://www.youtube.com/live/0hindK_fQ8c?si=FCId-oEln1ISGjwe&t=1098
This task is start you off gently so you can become comfortable with making a simple CAP powered service available in the cloud. This is so your API endpoints within services served by a CAP server can be reached from the TESTER service and checked for "correctness" (read the main challenge blog post July Developer Challenge - "Reverse APIs" for what this means).
What you need to do is simply follow the guidelines in the "Making your service available to test" in the 2024-07 "Reverse APIs" SAP Developer Challenge blog post, choosing either the "Simple deployment to BTP" approach, or the "Local deployment plus ngrok tunnel" approach, or indeed an approach of your own choosing.
NOTE: Whichever approach you choose, please ensure you choose a unique application name, ideally one that relates to your SAP Community ID. For example, my SAP Community ID is "qmacro" hence the application names in the guidelines referenced here are "qmacro-simplest-deployment" and "qmacro-simplest-deployment". Please make sure you use different names 👍
In this particular "pre" task (Task 0), there's no testing of whatever you get up and running; testing of your service endpoints starts with Task 1.
This thread is for us to discuss working through this task, to make comments and observations, and also to help each other get through the steps needed.
Optionally, once you get a simple CAP server up and running and the service URL exposed to the cloud, let us know here in the comments and share the URL.
Other than that, there's nothing to be done, nothing specific you need to have your test service endpoint return, and there will be nothing tested. It's just to make sure you know how to spin something up for the remaining 10 tasks.
Remember
Off you go!
2024 Jul 03 11:35 AM
2024 Jul 03 11:40 AM - edited 2024 Jul 03 11:45 AM
Nicely tested though anyway 😉
Actually, this allows me to point out to folks the importance of what the `serviceurl` is.
In your screenshot you have:
`https://ajmadariaga-simplest-deployment.cfapps.us10-001.hana.ondemand.com/odata/v4/catalog/Books`
... but this is NOT a service URL. It's the URL of a specific entity set
`/Books`
_within_ the service
`/odata/v4/catalog`
So the value for the serviceurl here should have been:
`https://ajmadariaga-simplest-deployment.cfapps.us10-001.hana.ondemand.com/odata/v4/catalog`
Please note the difference, folks! Services can have multiple endpoints, e.g. `/Books`, `/Authors`, etc, each with their own specific URLs.
Thank you for providing me with an opportunity to make this distinction clear!
2024 Jul 03 2:41 PM
2024 Jul 03 4:13 PM - edited 2024 Jul 03 5:59 PM
Calling the TESTER with a made-up task name ("task-0-provisioning") is not described in this task and not part of it 🙂 ...it's just @ajmaradiaga messing with our heads 😄
2024 Jul 03 10:09 PM
My service is up and running on Cloud Foundry!
2024 Jul 03 10:09 PM
URL: qmacro-simplest-deployment.cfapps.us10-001.hana.ondemand.com
2024 Jul 04 6:40 AM - edited 2024 Jul 04 6:40 AM
Love the one liner to create a cap app and deploy to cloud foundry 🙂
https://neelames-simplest-deployment.cfapps.eu11.hana.ondemand.com/
2024 Jul 04 9:21 AM
Heheh, thanks, I love one-liners. They celebrate the true power of the shell, but also allow us to iterate fast and become more productive as developers.
2024 Jul 04 10:54 AM
I started with the local execution option, but when I looked at getting ngrok, I lost interest and went back to the simple CF option.
Hence, I have this hybrid URL: https://qmacro-local-execution.cfapps.us10-001.hana.ondemand.com/
2024 Jul 04 8:31 PM
2024 Jul 05 7:04 AM
Here is my submission
https://flyhigh-simplest-deployment.cfapps.us10-001.hana.ondemand.com/
Regards,
Sushmita
2024 Jul 05 8:27 AM
Just to confirm it's up and running:
2024 Jul 05 11:13 AM
2024 Jul 05 12:12 PM
Hello,
The service is up and running locally with Ngrok:
2024 Jul 05 2:26 PM - edited 2024 Jul 05 2:29 PM
Hello qmacro,
I have completed the task! below are the url and screenshot for the task.
https://qmacro-simplest-deployment12.cfapps.us10-001.hana.ondemand.com/
Regards,
Manoj Kumar Potharaju.
2024 Jul 05 2:30 PM
Hi @qmacro ,
I have completed the Task 0 and here is my CAP service CF deployed URL
https://qmacro-simplest-deployment123.cfapps.us10-001.hana.ondemand.com
Please find the attached images for the reference.
Thanks,
Sunil Sigireddy.
2024 Jul 05 5:36 PM
2024 Jul 06 11:47 AM
2024 Jul 07 8:00 PM
I have completed the task 0 - provisioning.
2024 Jul 07 9:33 PM - edited 2024 Jul 07 9:35 PM
2024 Jul 09 5:47 PM
Little late, but my submission for Task-0
2024 Jul 10 8:59 AM
Not too late! I may deduct some points for calling the TESTER service (see the instructions above), plus the comments here) but will certainly add lots more on for using curl, having jq natively, having a nice shell prompt, using bash, and ... possibly (given the name of the host) using a dev container? Nice work! 🚀
2024 Jul 10 5:21 PM
Task 0 done and is available @ https://krishnan-jr-simplest-deployment.cfapps.us10-001.hana.ondemand.com/
2024 Jul 10 10:11 PM
2024 Jul 11 11:23 AM
2024 Jul 11 12:16 PM
My service deployed in BTP trial account. https://ajay-soreng-simplest-deployment.cfapps.us10-001.hana.ondemand.com/
2024 Jul 12 5:51 AM
Part of the game, using RestClient in BAS:
2024 Jul 16 3:36 PM
I've colpeted task 0.
https://berreke9176-simplest-deployment.cfapps.us10-001.hana.ondemand.com/
2024 Jul 24 2:43 PM
Here is task 0 completed
url: cammWilsonn-simplest-deployment 1.0.0 (72d5-102-209-8-26.ngrok-free.app)
2024 Jul 24 3:20 PM
2024 Aug 01 7:37 PM
I know July month is over! But I m still going to complete this one. 🙂
2024 Aug 02 1:25 PM
No worries - great to see you here! 🙂
2025 Jun 10 4:18 PM
I know am late to the party. When i tried to deploy am getting error APP "hr2406-simplest-deployment' is not found.
Could someone help me to resolve this issue. I am using BTP Trial Account
Thanks,
Hemanth
2025 Jun 11 7:19 AM
Hello Hemanth - did you watch the video that covers this (link at the top of this thread), and did you follow the steps? If so, and you're still getting an error, you'll need to help us to help you, by giving much more detail here. What did you do? What are the details? What about screenshots? What else did you try? Thanks. DJ