FUNCTION_ERROR_INIT_FAILURE error while deploying AWS Lamba

Today I got an error Provisioned Concurrency configuration failed to be applied. Reason: FUNCTION_ERROR_INIT_FAILURE in CloudFormation while deploying stack with Lambda And that’s all. No more details about the root cause. My SAM file configures lambda with Provisioned Concurrency. After switching off Provisioned Concurrency my stack was successfully deployed but first lambda invocation finished with exception. … Read more FUNCTION_ERROR_INIT_FAILURE error while deploying AWS Lamba

IE11 ignores wildcard * for Access-Control-Allow-Headers

Yesterday while testing my React App on Internet Explorer 11 I got SEC7123: Request header content-type was not present in the Access-Control-Allow-Headers list in F12 Developers Tools Console.It happened during OPTIONS preflight HTTPS request to AWS API Gateway with CORS enabled. CORS was enabled via MOCK Integration Request. Mandatory CORS response headers Access-Control-Allow-Headers Access-Control-Allow-Origin Access-Control-Allow-Methods … Read more IE11 ignores wildcard * for Access-Control-Allow-Headers

Transforming JSON to Blue Prism Queue Item

I am still playing with Blue Prism and Kafka integration. I decided to build Blue Prism process which connects to Kafka, fetches messages and saves them in work queue. I used techniques for Blue Prism and Kafka communication described in my earlier post. Kafka messages in Json format need to be transformed to Blue Prism … Read more Transforming JSON to Blue Prism Queue Item

Encryption and decryption of queue items in Blue Prism

Over couple of days I have been working quite a lot with queues and queue items in Blue Prism. Every Blue Prism queue can be marked as encrypted in System settings. I used AES256 symmetric-key encryption algorithm. There are some details of queues and queue items in Control Room but there is no view which … Read more Encryption and decryption of queue items in Blue Prism

Setting auto.offset.reset for Kafka Rest Proxy

Yesterday I was struggling with auto.offset.reset configuration property for communication with Confluent Kafka Rest Proxy. I was using curl command to create Kafka consumer and was receiving successful response Then I tried to rewrite curl logic to Python code using requests module. But I started to receive error Invalid consumer configuration: Wrong value earliest of … Read more Setting auto.offset.reset for Kafka Rest Proxy

Trusting self-signed SSL certificate in Blue Prism

Today I have been continuing work on integrating RPA Blue Prism with Confluent Kafka. I mentioned in my earlier post that I connect to Kafka Rest Proxy by using Utility – HTTP business object with HTTP Request action. Blue Prism consumer authenticates to Kafka by using SSL certificates. I use self-signed SSL certificate on my Kafka test environment … Read more Trusting self-signed SSL certificate in Blue Prism

Converting Base64 string to binary in Blue Prism

I was working on a use case to store binary file (PKCS 12 certificate) in Blue Prism Security-Credentials. Unfortunately Security-Credentials do not support storing binary files. So I thought of converting binary to file to Base64 string and storing it in Security-Credentials as password and decoding it back to binary in Blue Prism process. Although … Read more Converting Base64 string to binary in Blue Prism

Committing custom offsets to Kafka

Recently I have been playing around integrating RPA Blue Prism with Confluent Kafka. Blue Prism process was consuming messages from Kafka topic using Kafka Rest Proxy. To achieve it I used build in Utility – HTTP business object with HTTP Request action. Reading messages from Kafka REST Proxy consists of 5 steps 1. Creating consumer … Read more Committing custom offsets to Kafka

Using H2 database for Apache Spark tests

Recently I have tried to write some units tests for Apache Spark using some in-memory database in Scala. I used H2 database and created tiny project on Github which presents how to achieve this. Dependencies pom.xml contains dependencies used in this project. Application Simple application reads rows from student table from input database. Dataset of students is … Read more Using H2 database for Apache Spark tests