Comments (9)
Ok I think there was an upgrade to the CF cli version recently and with it the format of cf env command has changed breaking this script. @qmacro is away this week and I didn't want to change anything already there. Therefore I've added another script called ./default-env-gen7. https://github.com/SAP-samples/teched2020-developer-keynote/blob/main/cap/brain/default-env-gen7
I tested this script in the Business Application Studio and it works fine. Hopefully this will get you going again until DJ gets back next week and we can look for a more permanent solution.
from teched2020-developer-keynote.
from teched2020-developer-keynote.
Hello Thomas,
When I ran your script, the Json file was created, but this time I got an error like the picture in the "cds run" command.
from teched2020-developer-keynote.
@ag3silaus - I'm not able to recreate that issue. When I run npm start - it starts fine and I see the initialization to the Enterprise Messaging. When you created the instance of the enterprise messaging service, which plan did you use? You want to be sure to use the dev plan. https://github.com/SAP-samples/teched2020-developer-keynote/tree/main/messagebus
from teched2020-developer-keynote.
By any chance did you change the version of the @sap/cds module in package.json of the /cap/brain? If I update my project to 5.x version of CAP then I do get that same error you received. However when I go back to the specific version used in this repo (4.4.7) and use npm install then it starts fine again.
"dependencies": {
"@sap/cds": "4.4.7",
"@sap/hana-client": "^2.5",
"@sap/xb-msg-amqp-v100": "latest",
"console-log-level": "^1.4.1",
"express": "^4",
"sqlite3": "^5.0"
},
After install check from the terminal in this folder with a "cds version" to see what version it is using.
from teched2020-developer-keynote.
Hallo Thomas,
i create new CAP in my BAS and i didnt receive this error. I will use this app for the future lessons. But i want to know also where problem is? Thank you for your patience.
from teched2020-developer-keynote.
Hi @ag3silaus I'll be back from holiday next week and I'm looking forward to taking a look here too. Speak soon. Cheers. DJ
from teched2020-developer-keynote.
Hi @ag3silaus we addressed this in the Open Working live stream, hope this is OK. Basically you got a single }
because the output of cf env
at version 7 is different to the output at version 6 and the sed
based parsing was too brittle to cope. My fault entirely. Tom corrected this at the time with a temporary version, the associated PR makes this permanent.
from teched2020-developer-keynote.
Hi again @ag3silaus on the cds version and enterprise messaging "kind", there are changes relating to single/multi tenancy support and you may need to use enterprise-messaging-shared
in newer versions of cds. See the live stream around 100 minutes in.
from teched2020-developer-keynote.
Related Issues (17)
- Build Scenario Storyboard HOT 3
- s4 mock service - deploy to Kyma
- Kyma Service publish to Github Docker
- CAP section Setup and Usage Instructions HOT 1
- Add Kyma docker and deployment content to CAP main service
- Emitter section Setup and Usage Instructions HOT 2
- Error at ./emit 1 HOT 2
- Overall Storyline HOT 1
- Kyma Brain Component Deployment Error HOT 3
- Setup Enterprise Messaging
- ABAP class framework to generically interact with Enterprise Messaging
- Research Go HOT 1
- Configure the Enterprise Messaging setup from Kyma Managed runtime
- Mocking of the S/4 Business Objects APIs and Events
- Complete readme.md
- Connect the dots
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teched2020-developer-keynote.