@@ -677,16 +677,40 @@ modules:
677677 type: com.sap.application.content
678678 path: .
679679 requires:
680+ - name: afcsdk-auth
681+ - name: srv-api
680682 - name: afcsdk-html5-repo-host
681683 parameters:
682684 content-target: true
685+ config:
686+ HTML5Runtime_enabled: true
683687 build-parameters:
684688 build-result: resources
685689 requires:
686690 - name: afcsdkscheduling.monitoring.job
687691 artifacts:
688692 - scheduling.monitoring.job.zip
689693 target-path: resources
694+ parameters:
695+ config:
696+ HTML5Runtime_enabled: true
697+ init_data:
698+ instance:
699+ existing_destinations_policy: update
700+ destinations:
701+ - Name: srv-api
702+ URL: ~{ srv - api / srv - url }
703+ Authentication: NoAuthentication
704+ Type: HTTP
705+ ProxyType: Internet
706+ HTML5.ForwardAuthToken: true
707+ HTML5.DynamicDestination: true
708+ - Name: ui5
709+ URL: https://ui5.sap.com
710+ Authentication: NoAuthentication
711+ Type: HTTP
712+ ProxyType: Internet
713+
690714 - name: afcsdk-destinations
691715 type: com.sap.application.content
692716 requires:
@@ -729,6 +753,7 @@ modules:
729753 - npm ci
730754 - npm run build
731755 supported-platforms: []
756+
732757resources:
733758 - name: afcsdk-auth
734759 type: org.cloudfoundry.managed-service
@@ -1478,10 +1503,10 @@ srv:
14781503 path: /actuator/health/liveness
14791504 readiness:
14801505 path: /actuator/health/readiness
1481- expose:
1482- enabled: true
14831506 networkSecurity:
14841507 allowNamespaceInternal: true
1508+ expose:
1509+ enabled: true
14851510xsuaa:
14861511 serviceOfferingName: xsuaa
14871512 servicePlanName: broker
@@ -1584,11 +1609,11 @@ tag: latest
15841609before-all:
15851610 - npx cds build --production
15861611 - mvn clean package -DskipTests=true --batch-mode
1587- - mkdir -p ui-resources /resources
1612+ - mkdir -p app/html5-deployer /resources
15881613 - npm i --prefix app/scheduling.monitoring.job
15891614 - npm run build --prefix app/scheduling.monitoring.job
15901615 # zip filename should match the archiveName specified in ui5-deploy.yaml
1591- - cp -f app/scheduling.monitoring.job/dist/scheduling.monitoring.job.zip ui-resources /resources/scheduling.monitoring.job.zip
1616+ - cp -f app/scheduling.monitoring.job/dist/scheduling.monitoring.job.zip app/html5-deployer /resources/scheduling.monitoring.job.zip
15921617modules:
15931618 - name: afcsdk-srv
15941619 build-parameters:
@@ -1619,7 +1644,7 @@ modules:
16191644 buildpack:
16201645 type: nodejs
16211646 builder: builder-jammy-base
1622- path: ui-resources
1647+ path: app/html5-deployer
16231648 env:
16241649 BP_NODE_RUN_SCRIPTS: " "
16251650"
0 commit comments