ProstDev
ProstDev
  • 299
  • 158 996
How to upsert fields from an object in an array with the update operator in DataWeave 2.0 | Mule 4
In this video, we'll learn how to use the update operator along with the upsert and conditional options. We'll also learn different ways of handling null values for our fields.
In the article version of this video, you can follow along by clicking on the "Open in Playground" buttons to see how the code is being developed and to try it out yourself!
Article: www.prostdev.com/post/upsert-object-from-array
---
📚 FOLLOW US
Read more posts: www.prostdev.com/blog
Watch more videos: ua-cam.com/users/ProstDev
Find my stuff: www.alexmartinez.ca/
Video chapters:
00:00 Intro
00:10 Use case
01:11 map function - Iterate through the array and match the user to update
02:33 update operator - Update each field with the new values
04:25 default - Keep original values when needed
05:30 upsert operator - Insert the new field to the original object
06:05 conditionals inside the update operator - Avoid null values per field
07:15 do - Create local scope if needed
08:25 skipNullOn - Avoid null values in the whole output
09:44 Ending
Переглядів: 277

Відео

Data Cloud/MuleSoft Integration Part 5: Insert Data with the BULK operations
Переглядів 4565 місяців тому
Hello, hello! By this point, you should already have a full Mule application running in CloudHub and you have been able to call the Query/Streaming operations. In July 2024, I released a new JAR (version 2.1.0) where I added the Bulk operations. Let's take a look at what other updates have been done to this version! 🔗 TUTORIAL www.prostdev.com/post/part-5-data-cloud-mulesoft-integration 💻 REPO ...
How to manually authenticate to Salesforce Data Cloud through a MuleSoft integration
Переглядів 3695 місяців тому
Ok, so I was really trying to just use the Salesforce Data Cloud Connector - Mule 4, but I wasn't able to find the Get All Jobs operation. Because of that, I had two options: 1. To create my own connector to do *just* that operation (which would be deprecated as soon as the operation came out in a new version of the DC connector) 2. To manually authenticate to Data Cloud and call the API using ...
Part 6: CI/CD pipeline with MuleSoft and GitHub Actions - Deploying to CloudHub 2.0
Переглядів 9667 місяців тому
We already learned how to set up secured properties, MUnit coverage, and even a connected app to authenticate when you're using Multi-Factor Authentication (MFA) in your Anypoint Platform account. From now on, we will continue authenticating using a connected app for best practices. What are we missing then? Well, we haven't learned how to enable the CI/CD pipelines for a CloudHub 2.0 deploymen...
Interactive MuleSoft tutorial: Anypoint Platform API Catalog by Rolando Carrasco | UAPIM | Exchange
Переглядів 3328 місяців тому
Have you ever wanted to do some interactive tutorials while learning MuleSoft? There are not a lot of options out there for this purpose. However, MuleSoft Ambassador Rolando Carrasco took the time to create one for us! Watch the video or follow through the article to learn how to use this awesome platform called Killercoda to learn more about API Catalog. FOLLOW ROLANDO www.linkedin.com/in/rol...
Exposing DataWeave: Map+Filter vs. Reduce - which is faster?
Переглядів 4468 місяців тому
I was working on some code that was using both map and filter together and I started thinking if there was a better way to refactor this code to make it more performant. If some milliseconds are a difference for your use case, time your approaches before assuming! 🔗 TUTORIAL www.prostdev.com/post/exposing-dataweave-map-filter-vs-reduce-which-is-faster 📚 FOLLOW US Read more posts: www.prostdev.c...
Data Cloud/MuleSoft Integration Part 4: Secure your API with basic authentication in API Manager
Переглядів 56510 місяців тому
We already finished our Data Cloud integration with MuleSoft. We have everything deployed and running in CloudHub, and we know how to call this integration to query, insert, or delete records from/to Data Cloud. However, our integration has a fatal flaw: we have no security. In Part 2 of this series, we learned that we should not share the CloudHub URL because everyone had access to our Data Cl...
Data Cloud/MuleSoft Integration Part 3: Call your integration with Postman
Переглядів 68210 місяців тому
A little bird told me that deleting records in Data Cloud is actually not that easy to do. So, I did my research and came up with a Mule application for you all to reuse to (hopefully) make your lives easier when dealing with Data Cloud! In this third part, we'll learn how to use our integration. We'll use Postman for this article, but you can use any other REST client like Thunder Client, cURL...
Data Cloud/MuleSoft Integration Part 2: Deploy your own Mule app on Anypoint Platform (CloudHub)
Переглядів 98910 місяців тому
A little bird told me that deleting records in Data Cloud is actually not that easy to do. So, I did my research and came up with a Mule application for you all to reuse to (hopefully) make your lives easier when dealing with Data Cloud! In this second part, we'll go through the MuleSoft side of the integration and you'll deploy your own Mule app to CloudHub. You do not have to know MuleSoft be...
Data Cloud/MuleSoft Integration Part 1: Connected App, Ingestion API, & Data Stream (Salesforce)
Переглядів 2,1 тис.10 місяців тому
A little bird told me that deleting records in Data Cloud is actually not that easy to do. So, I did my research and came up with a Mule application for you all to reuse to (hopefully) make your lives easier when dealing with Data Cloud! In this first part, we'll go through the Salesforce/Data Cloud settings that we need to set up before even calling Data Cloud through the Mule app. 🔗 TUTORIAL ...
How to add JVM/Command-line arguments to the Mule 4 Runtime in Anypoint Code Builder (ACB)
Переглядів 48811 місяців тому
How to add JVM/Command-line arguments to the Mule 4 Runtime in Anypoint Code Builder (ACB)
Export a Mule project as a deployable JAR file in Anypoint Code Builder | #Codetober 2023 Day 31
Переглядів 628Рік тому
Export a Mule project as a deployable JAR file in Anypoint Code Builder | #Codetober 2023 Day 31
Differences between the DataWeave extension & Anypoint Code Builder | #Codetober 2023 Day 30
Переглядів 176Рік тому
Differences between the DataWeave extension & Anypoint Code Builder | #Codetober 2023 Day 30
Enable Multi-Factor Authentication in MuleSoft with the Salesforce App | #Codetober 2023 Day 29
Переглядів 184Рік тому
Enable Multi-Factor Authentication in MuleSoft with the Salesforce App | #Codetober 2023 Day 29
Testing Mule flows with the MUnit recorder in Anypoint Studio | #Codetober 2023 Day 28
Переглядів 435Рік тому
Testing Mule flows with the MUnit recorder in Anypoint Studio | #Codetober 2023 Day 28
Using branches in Design Center & Anypoint Code Builder for API specs | #Codetober 2023 Day 27
Переглядів 161Рік тому
Using branches in Design Center & Anypoint Code Builder for API specs | #Codetober 2023 Day 27
Using the Transform Message component (DataWeave) in Anypoint Code Builder | #Codetober 2023 Day 26
Переглядів 394Рік тому
Using the Transform Message component (DataWeave) in Anypoint Code Builder | #Codetober 2023 Day 26
Implement & test a GraphQL API in Anypoint Code Builder (ACB) | #Codetober 2023 Day 25
Переглядів 246Рік тому
Implement & test a GraphQL API in Anypoint Code Builder (ACB) | #Codetober 2023 Day 25
Debugging the American Flights App in Anypoint Code Builder (ACB) | #Codetober 2023 Day 24
Переглядів 87Рік тому
Debugging the American Flights App in Anypoint Code Builder (ACB) | #Codetober 2023 Day 24
Implementing the American Flights API Spec in Anypoint Code Builder (ACB) | #Codetober 2023 Day 23
Переглядів 119Рік тому
Implementing the American Flights API Spec in Anypoint Code Builder (ACB) | #Codetober 2023 Day 23
Transforming Flight Data with DataWeave in Anypoint Code Builder (ACB) | #Codetober 2023 Day 22
Переглядів 109Рік тому
Transforming Flight Data with DataWeave in Anypoint Code Builder (ACB) | #Codetober 2023 Day 22
Connecting to a Database from the Mule app in Anypoint Code Builder (ACB) | #Codetober 2023 Day 21
Переглядів 111Рік тому
Connecting to a Database from the Mule app in Anypoint Code Builder (ACB) | #Codetober 2023 Day 21
Integrating American Flights Processes in Anypoint Code Builder (ACB) | #Codetober 2023 Day 20
Переглядів 107Рік тому
Integrating American Flights Processes in Anypoint Code Builder (ACB) | #Codetober 2023 Day 20
Testing, syncing, and publishing an API in Anypoint Code Builder (ACB) | #Codetober 2023 Day 19
Переглядів 147Рік тому
Testing, syncing, and publishing an API in Anypoint Code Builder (ACB) | #Codetober 2023 Day 19
Designing the American Flights API Spec in Anypoint Code Builder (ACB) | #Codetober 2023 Day 18
Переглядів 205Рік тому
Designing the American Flights API Spec in Anypoint Code Builder (ACB) | #Codetober 2023 Day 18
Deploy Experience, Process, & System API layers to CloudHub 2.0 from Studio | #Codetober 2023 Day 17
Переглядів 164Рік тому
Deploy Experience, Process, & System API layers to CloudHub 2.0 from Studio | #Codetober 2023 Day 17
How to debug several Mule applications in Anypoint Studio at the same time | #Codetober 2023 Day 16
Переглядів 249Рік тому
How to debug several Mule applications in Anypoint Studio at the same time | #Codetober 2023 Day 16
Setting up HTTP Requests for Experience, Process, & System layers in Mule 4 | #Codetober 2023 Day 15
Переглядів 386Рік тому
Setting up HTTP Requests for Experience, Process, & System layers in Mule 4 | #Codetober 2023 Day 15
Best practices in Mule apps: global elements & properties files per env | #Codetober 2023 Day 14
Переглядів 238Рік тому
Best practices in Mule apps: global elements & properties files per env | #Codetober 2023 Day 14
Session 9: Test your Mule app with MUnit testing | MuleSoft from Start: A Beginner's Guide
Переглядів 5 тис.Рік тому
Session 9: Test your Mule app with MUnit testing | MuleSoft from Start: A Beginner's Guide

КОМЕНТАРІ

  • @blang1
    @blang1 18 днів тому

    If you are running Windows and don’t want to use a properties file, but instead want to replicate Anypoint Studio environment variables in a debug configuration, you can set up a configuration in your launch.json file like this: "windows": {"mule.runtime.args": "${config:mule.runtime.defaultArguments} -M-Denv=UAT -M-Dmyarg1=myvalue1 -M-Dmyarg2=myvalue2" }. For some reason, the root-level mule.runtime.args configuration is ignored by the mule.bat file, so you must specify the windows block instead.

  • @akshayavhad3824
    @akshayavhad3824 20 днів тому

    If i wanted to try it practically is there any other option to try without buying titanium version

  • @swathikrishna5324
    @swathikrishna5324 Місяць тому

    I am debugging one api using local host and in flow, calling cloudhub api using http request. How to debug the flow in local host as http request is calling cloudhub api

  • @cabrelngako8877
    @cabrelngako8877 Місяць тому

    Thank for you video, it is really well understandable. please, do you have any idea on how to make automatic versioning with GitHub Actions, that is, each deployment (on CloudHub) has a specific version.

  • @MihirUdhani
    @MihirUdhani Місяць тому

    %dw 2.0 import * from dw::core::Strings output application/json --- /* Expected output: 148 */ sum((payload splitBy " ") map ((item, index) -> ( if(lower(reverse(item replace /[^a-zA-Z0-9]/ with "")) == lower(item replace /[^a-zA-Z0-9]/ with "")) sizeOf(item) as Number else 0 ))) as Number

  • @MihirUdhani
    @MihirUdhani Місяць тому

    %dw 2.0 output application/json --- /* Expected output: 30 */ sum(((payload) splitBy " ") map ((item) -> ( if(((item splitBy " ") contains("R")) and ((item splitBy " ") contains("S"))) if (item[2] as String == "R") 6 else 0 else if(((item splitBy " ") contains("S")) and ((item splitBy " ") contains("P"))) if (item[2] as String == "S") 6 else 0 else if(((item splitBy " ") contains("R")) and ((item splitBy " ") contains("P"))) if (item[2] as String == "P") 6 else 0 else 3 ))) as Number

  • @musafirRider786
    @musafirRider786 Місяць тому

    Hi Alex, thanks for useful series, we have CI/CD for Mulesoft working in our Environment after taking useful tips from your series. However we wanted to standardise our Parent POM and stucked on the error below despite trying multiple things. Even the solutions from Mulesoft Help Article is not helping. status code: 412, reason phrase: Precondition Failed (412)

    • @ProstDev
      @ProstDev Місяць тому

      I have never seen that before. I found this link, maybe it's useful? help.salesforce.com/s/articleView?id=001120384&type=1 You can add me on Discord with my username: DevAlexMartinez to discuss this further via chat!

  • @MitchellYoung-v4m
    @MitchellYoung-v4m 2 місяці тому

    Awesome video for starter! Help me so much, Thank you! FYI, IF we donnot want to change version of the deploying api, we could change build.yml -DmuleDeploy command with below -DmuleDeploy -s .maven/settings.xml -f pom.xml --batch-mode --update-snapshots verify

  • @PlayFactoryGG
    @PlayFactoryGG 2 місяці тому

    Legend. Thank you.

    • @ProstDev
      @ProstDev Місяць тому

      Glad it helped

  • @eletronicof
    @eletronicof 2 місяці тому

    Good videos, thank you so much for sharing

    • @ProstDev
      @ProstDev Місяць тому

      Glad you like them!

  • @jpraminelli
    @jpraminelli 2 місяці тому

    Hello Martinez. I followed the steps, but I'm getting the following error: Failed to deploy populate-tables-app: Could not deploy application. Caused by: org.mule.tools.client.core.exception.ClientException: 403 Forbidden: {"timestamp":"","status":403,"error":"Forbidden","path":""} My server is US East (N. Virginia), so I am use <target>Cloudhub-US-East-1</target> Could you advise me what my problem would be?

    • @ProstDev
      @ProstDev 2 місяці тому

      try deploying it manually first to see if you have access to that region. if you are using a free trial account you only have access to us east 2

    • @jpraminelli
      @jpraminelli 2 місяці тому

      hello @ProstDev, it's not a trial account, I can publish directly through anypoint studio normally, I've done this several times.

    • @ProstDev
      @ProstDev 2 місяці тому

      the other thing that i can think of is bad credentials or missing permissions on the connected app?

    • @jpraminelli
      @jpraminelli 2 місяці тому

      Good afternoon everybody. I ended up redoing the project, I followed the step by step from the beginning and this time it worked, I don't know where I went wrong. Thank you all very much.

    • @ProstDev
      @ProstDev 2 місяці тому

      phew! ok glad to hear :)

  • @musafirRider786
    @musafirRider786 2 місяці тому

    really useful video and in depth too

    • @ProstDev
      @ProstDev 2 місяці тому

      Glad you liked it

    • @musafirRider786
      @musafirRider786 2 місяці тому

      @ still struggling to do it at client side though I can do CICD in my free environment

    • @ProstDev
      @ProstDev 2 місяці тому

      what are you struggling with?

  • @1russianspy
    @1russianspy 2 місяці тому

    Cool stuff you're showing us here, Alex! Keep these videos coming!

    • @ProstDev
      @ProstDev 2 місяці тому

      Thanks! Will do!

  • @vishvish8549
    @vishvish8549 2 місяці тому

    Great session. Appreciate sharing this.

    • @ProstDev
      @ProstDev 2 місяці тому

      Glad you enjoyed it!

  • @behumanf1rst
    @behumanf1rst 2 місяці тому

    Awesome!. in pom.xml what is the need of specifying client.id and client.secret? where it is used and from where these values are passed?

    • @ProstDev
      @ProstDev 2 місяці тому

      cause we are authenticating via a Connected App instead of username/password

  • @vishalphaltane2o
    @vishalphaltane2o 2 місяці тому

    %dw 2.0 output application/json --- max(payload splitBy " " map ((item, index) -> sum(item splitBy " ")) )

  • @anthonysantos9266
    @anthonysantos9266 2 місяці тому

    Can you also create a tutorial on how we can integrate Mulesoft to visual studio?

    • @ProstDev
      @ProstDev 2 місяці тому

      hmmm can you elaborate on that? I'm not sure what you mean

  • @behumanf1rst
    @behumanf1rst 2 місяці тому

    cool, do you demo for RTF platform with GitHub actions?

    • @ProstDev
      @ProstDev 2 місяці тому

      no :( I don't have any RTF content

  • @miguelmunoz1865
    @miguelmunoz1865 3 місяці тому

    Dear Alex, thank you so much for your content. I would try to answer the homework 😃

    • @ProstDev
      @ProstDev 2 місяці тому

      My pleasure!

  • @Sh4dow_Devil
    @Sh4dow_Devil 3 місяці тому

    Really cool video Alex!

    • @ProstDev
      @ProstDev 3 місяці тому

      thank you!!

  • @ManGaming_Bruh
    @ManGaming_Bruh 4 місяці тому

    "Imagine if you fall in love with Einstein" IM NOT GAY ALRIGHT?

    • @ProstDev
      @ProstDev 4 місяці тому

      😂😂😂

  • @Noel-th6yl
    @Noel-th6yl 4 місяці тому

    Why the fuck are you she/they it's supposed to be she/her and why will I be gay with Einstein

  • @yili7310
    @yili7310 4 місяці тому

    I love how you break it down, really helpful videos. Thanks

    • @ProstDev
      @ProstDev 4 місяці тому

      Glad it was helpful!

  • @RodrigoG13
    @RodrigoG13 4 місяці тому

    The button "New Request" not work v2.24.13

    • @ProstDev
      @ProstDev 4 місяці тому

      I have been using it lately and it works with the latest version

  • @jaymaniar1278
    @jaymaniar1278 5 місяців тому

    I have an interesting issue - I follow your steps very judiciously, but when I try to deploy my application it gives my 500 - Internal Server Error with no much details. Mind giving an idea on what can the issue?

    • @ProstDev
      @ProstDev 4 місяці тому

      Have you tried checking if you have enough vcores?

    • @BoboSiebenschlaefer108
      @BoboSiebenschlaefer108 Місяць тому

      @jaymaniar1278 could you resolve this issue? I've been trying to fix it all day.

    • @BoboSiebenschlaefer108
      @BoboSiebenschlaefer108 Місяць тому

      Could you resolve this issue? I've been trying to fix it all day.

    • @ProstDev
      @ProstDev Місяць тому

      @@BoboSiebenschlaefer108 do you have any more details on the configuration/error?

  • @zantsama
    @zantsama 5 місяців тому

    So for this session I needed to have the project in a git repository and maven installed in the path already?

    • @ProstDev
      @ProstDev 4 місяці тому

      Yes. The rest of the project is created during the previous sessions

  • @thiyageshkanna
    @thiyageshkanna 5 місяців тому

    Thank you so much sathish for having session on this topic!!!

    • @ProstDev
      @ProstDev 4 місяці тому

      Satish rocks!

  • @patrickvandersluis2796
    @patrickvandersluis2796 5 місяців тому

    Alex, your content and presentation style are the most helpful I have seen and came at just the right time for me. Thank you for all the effort you have put into all of your videos!

    • @ProstDev
      @ProstDev 5 місяців тому

      thank youuuu!

  • @mohammadarsha4583
    @mohammadarsha4583 5 місяців тому

    Informative👏👏👏

    • @ProstDev
      @ProstDev 5 місяців тому

      Thanks 🙂

  • @SurjeetSingh-rm1gj
    @SurjeetSingh-rm1gj 5 місяців тому

    Is this correct? %dw 2.0 output application/json var accumulator = 1 fun factorialOf(item, accumulator) = if(item <= 0) accumulator else factorialOf(item - 1, accumulator*item) var ans = payload splitBy " " map ((item, index) -> factorialOf(item as Number, accumulator)) reduce ($+$$) as String --- ans[20 to 25] as Number

    • @ProstDev
      @ProstDev 5 місяців тому

      that is correct!! amazing!

  • @SurjeetSingh-rm1gj
    @SurjeetSingh-rm1gj 5 місяців тому

    CHALLENGE COMPLETED!! I CODE FOR NON-STOP 3 HOURS FOR THIS, JUST TOOK THE REGEX TO REMOVE ALPHANUMERICS FROM INTERNET!! TOTAL LINES < 40 %dw 2.0 output application/json import * from dw::core::Strings var splitedPayload = payload splitBy " " fun replaceAlphanumerics(str: String): String = str splitBy "" map ((c) -> if (c contains /[a-zA-Z0-9]/) "" else c) joinBy "" var punctuationWordIndex = flatten(splitedPayload map ((item, index1) -> item splitBy " " map ((word, index2) -> if(sizeOf(replaceAlphanumerics(word)) > 0) {lineIndex: index1, wordIndex : index2, punctuationWord : replaceAlphanumerics((word))} else ("NULL")))) filter ((item, index) -> item != "NULL") var punctuationFreeData = splitedPayload map ((item, index1) -> item splitBy " " map ((word, index2) -> if((word contains replaceAlphanumerics(word))) (word remove replaceAlphanumerics(word)) else (word))) fun addPunctuationToWord(word, lineIndex, wordIndex) = do { punctuationWordIndex map ((item, index) -> if((item.lineIndex ~= lineIndex as String) and (item.wordIndex ~= wordIndex as String)) (word ++ item.punctuationWord) else ("") ) filter ((item, index) -> !isBlank(item)) } --- punctuationFreeData map ((item, index) -> reverse(item joinBy " ") splitBy " " map ((item2, index2) -> if(!isEmpty(addPunctuationToWord(reverse(item2), index, index2))) (addPunctuationToWord(reverse(item2), index, index2)) joinBy "" else reverse(item2) ) joinBy " ")

    • @ProstDev
      @ProstDev 5 місяців тому

      awesome!!! glad you didn't give up!

  • @kaggumurid7935
    @kaggumurid7935 5 місяців тому

    Thanks! I don't see the Ingestion Api section. Need help. @ProstDev

    • @ProstDev
      @ProstDev 5 місяців тому

      hello! did you go to the settings?

    • @kaggumurid7935
      @kaggumurid7935 5 місяців тому

      @@ProstDev Hello, yes I search "Data Cloud" but I not found it.

    • @ProstDev
      @ProstDev 5 місяців тому

      that probably means you don't have access to Data Cloud on your Salesforce org. I believe it doesn't come with the free subscription, you'd have to check with an org admin who pays for salesforce

  • @anmabdbj29866
    @anmabdbj29866 5 місяців тому

    Hi I enjoyed your videos … are you ok is there a reason why you haven’t uploaded any in a while??? And can you help me practice creating apis 🙏

    • @ProstDev
      @ProstDev 5 місяців тому

      I've just been very swamped lately! But hoping to upload stuff soon :)

  • @1russianspy
    @1russianspy 5 місяців тому

    Hello Alex! Thank you for this information. It's very rare these days to find useful information in English that you can understand. Please keep going!

    • @ProstDev
      @ProstDev 5 місяців тому

      thank you!! glad it helps

  • @PraveenKumar-c9w6b
    @PraveenKumar-c9w6b 5 місяців тому

    learned many things from your videos😍 alex

    • @ProstDev
      @ProstDev 5 місяців тому

      Thank you!!

  • @fmendoza86
    @fmendoza86 6 місяців тому

    Hay videos en español?

    • @ProstDev
      @ProstDev 5 місяців тому

      Hola! Por lo pronto no tengo muchos videos en español. Los de principiantes están en inglés

  • @SurjeetSingh-rm1gj
    @SurjeetSingh-rm1gj 6 місяців тому

    %dw 2.0 output application/json import * from dw::core::Strings fun removeEverythingExceptAlphaNumerics(item) = lower(item) replace /[^a-zA-Z0-9]/ with "" --- /* Expected output: 148 */ splitBy(payload, " ") map ((item, index) -> if(removeEverythingExceptAlphaNumerics(item) == reverse(removeEverythingExceptAlphaNumerics(item)))(sizeOf(item)) else (item)) filter ((item, index) -> item is Number) reduce ($+$$)

    • @ProstDev
      @ProstDev 5 місяців тому

      Awesome! Thank you for sharing!

  • @SurjeetSingh-rm1gj
    @SurjeetSingh-rm1gj 6 місяців тому

    %dw 2.0 output application/json --- /* Expected output: 30 */ //ans sum(splitBy(payload, " ") map ((item, index) -> splitBy(item, " ")) map ((item, index) -> { a:item[0], b:item[1] }) map ((item, index) -> if(item.a == item.b) (3) else ( if((item.a == "R" and item.b == "S") or (item.a == "P" and item.b == "S") or (item.a == "S" and item.b == "P")) (6) else (0) ) ))

    • @ProstDev
      @ProstDev 6 місяців тому

      that's awesome!! thanks for sharing!

  • @SurjeetSingh-rm1gj
    @SurjeetSingh-rm1gj 6 місяців тому

    %dw 2.0 output application/json var sumArray = payload replace " " with(",") splitBy "," map ((item, index) -> splitBy(item, " ") reduce ((item, accumulator) -> accumulator + (item as Number))) --- /* Expected output: 29 */ max(sumArray map ((item, index) -> item as Number)) done without looking anywhere. :) You're doing a very important work for the community.

    • @ProstDev
      @ProstDev 6 місяців тому

      thank you for sharing! i'm glad it's been helpful!

  • @1russianspy
    @1russianspy 6 місяців тому

    Hi Alex. First, thank you very much for creating these videos - they are a big help. I would add a suggestion if you didn't mind. Please make sure to show all the details - do not skip anything, no matter how small those details are. For the folks totally new to "mule" those are vital.

    • @ProstDev
      @ProstDev 6 місяців тому

      I really appreciate your feedback! Unfortunately, this series was recorded live and then cut-down for the UA-cam videos, so it makes sense that the details are missing :( you will be able to find them in the live-stream recordings on Twitch tho! I will be working on a refresh of this series to include more to-the-point content and also to refresh the information to the latest. Could you please let me know exactly which details I missed so I can be sure to add them in the new series?

    • @1russianspy
      @1russianspy 6 місяців тому

      @@ProstDev First of all, thank you so much for your response. I do enjoy your informative videos. The place that I wish you'd be a bit clearer is at 24:50. You said you'd create another global property where you'd reference the key name for the object store. I am still not quite sure, do we need yet another configuration properties file for that? I am going to go ahead and assume - yes. So sounds like we have ended up with 2(two) Configuration properties files: one for the Environment (like Dev or Local) and the other for the default.properties. Am I correct?

    • @ProstDev
      @ProstDev 6 місяців тому

      that is what I personally prefer to do with my projects but it doesn't mean it's necessarily the 'best practice'. If you prefer to have just the environment files (dev/local), you can use those and keep copy/pasting the values. A lot of projects do that to avoid creating the default.properties, which is entirely fine. Some things are more up to people's preference. For example, you can also use .yaml or .properties for your properties files and it just depends on personal preference which one to use. Thank you for being so detailed!

  • @AladeAleshinloye
    @AladeAleshinloye 6 місяців тому

    I am a beginner and need to transition my career. I would like help with resources and training to become a Mulesoft Engineer/analyst

    • @ProstDev
      @ProstDev 6 місяців тому

      hello! this playlist is the right place for you! let me know if you have questions

  • @LukeHarrison-c5t
    @LukeHarrison-c5t 6 місяців тому

    Hello Alex - thanks for this great series! I was wondering if you might be able to help - we are getting an error duing the deployment build step. I tried posting the full error earlier but youtube didn't like it and removed the comment. The error we are getting looks something like this: Unresolveable build extension: Plugin org.mule.tools.maven:mule-maven-plugin:4.2.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.mule.tools.maven:mule-maven-plugin:jar:4.2.0: Could not transfer artifact org.mule.tools.maven:mule-maven-plugin:pom:4.2.0 from/to maven-default-http-blocker. Blocked mirror for repositories: It then lists the mulesoft-releases and mulesoft-snapshot repositories. Do you have any idea what this error message could be related to? Many thanks!

    • @ProstDev
      @ProstDev 6 місяців тому

      I'm not really sure... Were you trying to deploy to cloudhub 2? and, can you try using maven 4.1.1 instead? see if that works

  • @kevinandresrojasmoncayo6551
    @kevinandresrojasmoncayo6551 6 місяців тому

    Excelente. Gracias.

    • @ProstDev
      @ProstDev 6 місяців тому

      que bueno que te sirvio!

  • @kevinandresrojasmoncayo6551
    @kevinandresrojasmoncayo6551 6 місяців тому

    Me ha servido mucho tu video. Tuve que usar otras formas al final, pero me ayudaste bastante a entender. Ya me funciona el proyecto en el que venía trabajando.

    • @ProstDev
      @ProstDev 6 місяців тому

      Me alegra! Es un proyecto algo viejo, me imagino que habia varias cosas que cambiar. Que bueno que lo resolviste!

  • @ecolladoa
    @ecolladoa 6 місяців тому

    Hey, I think you may know me :P I'm watching your videos now! Good job, schoen!

    • @ProstDev
      @ProstDev 6 місяців тому

      Hello!! Thank you :D

  • @generix1694
    @generix1694 6 місяців тому

    Update videos about blog. Click not on others but on guides and go to page 4 ^^ have fun

  • @shubham2927
    @shubham2927 7 місяців тому

    Loved the content that you are generating. Thanks for clearing my understanding of MuleSoft and plz don't stop uploading videos of Mulesoft.

    • @ProstDev
      @ProstDev 6 місяців тому

      Thank you! Feel free to send me any suggestions on more content :)

  • @dhurairajk147
    @dhurairajk147 7 місяців тому

    Hai i am facing this error while i deploy to cloudhub2.0 i am using window 11 Unknown lifecycle phase ".id=***". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1] cloud you tell what is this error

  • @HepaDesigns
    @HepaDesigns 7 місяців тому

    Awesome !! In next blog please guide on adding the API to API Manager and adding policies as part of CI/CD pipeline

    • @ProstDev
      @ProstDev 7 місяців тому

      thanks for the suggestion! I'm not sure if this is possible to do with CI/CD though. Because you need to create the API in API Manager, retrieve the api id, and add the id to your Mule application. The policies could be automated through the UI, no need for CI/CD

  • @antojerome9250
    @antojerome9250 7 місяців тому

    Woow thanks a lot! Last 3 days I am struggling with huge binary file splitting.

    • @ProstDev
      @ProstDev 7 місяців тому

      Awesome!!