Wednesday, August 17, 2022

Spring Boot : how to fix Unsupported file format in sitemap creation

  

If you ever faced this issue in the dynamic sitemap generated?

The error says Incorrect http header content-type: "application/json;charset=UTF-8" (expected: "application/xml")

This issue was caused by not setting the header content type properly. By default HTML page will return the text/html content type. 

In my case it was 


you can verify this network tab in chrome and firefox,




Tuesday, July 26, 2022

Academic Projects for MCA BCA MSc BSc Computer Science in Sulthan Bathery Wayanad

 

Photo by <a href="https://unsplash.com/@cgower?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Christopher Gower</a> on <a href="https://unsplash.com/s/photos/technology-java?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>

Are you a student pursuing MCA, BCA, MSc/BSc Computer Science?  We are affiiliating with Impact-Site-Verification: 77d67905-f0aa-4774-ae23-5d14ff7d1379

Are you looking for Academic Projects for your Course?

Then now we at smashplus conduct academic project guidance with certifications at an affordable cost.

The students from Wayanad district, Kerala always have the hassle of academic projects to spend a lot of money outside Wayanad for the projects that also do not get the industry standard training or guidance. 

The Academic project wing from Smashplus providing the project guidance on the following technology.

  • Core Java, Spring Boot, Spring MVC, Hibernate, Restful Webservices
  • Angular, Java Script, JQuery
  • AWS Cloud computing
  • Elastic Search
  • Database: MySQL, Oracle
  • Search Engine Optimization 


Location:

Smashplus OPC Private Ltd., Hayath Residency

Sulthan Bathery, Wayanad Kerala

Call: 96560 67723

Academic Projects Lead By


Shamsudeen S

Technical Lead, Academic Projects Lead at Smashplus Company Ltd.

Experience - 15 years in the IT industry


Monday, September 20, 2021

Final Building Permit in Kerala

Building permit note 21/Sep

Documents
  • Possession Certificate From Village
  • Land Tax 
  • Engineer visit on 21/SEP/21

Thursday, April 8, 2021

DynamoDB Streams

A DynamoDB stream is an ordered flow of information about changes to items in a DynamoDB table.
 
When you enable a stream on a table, DynamoDB captures information about every modification to data items in the table.
 
Whenever an application creates, updates, or deletes items in the table, DynamoDB Streams writes a stream record with the primary key attributes of the items that were modified. A stream record contains information about a data modification to a single item in a DynamoDB table. 

AWS Step function

  • Serverless function orchestrator
  • Series of checkpoints & Event driven workflow that maintatin the application state
  • Step Functions manages sequencing, error handling, retry logic, and state, removing a significant operational burden from your team.

 

As your applications execute, Step Functions maintains application state,

 

tracking exactly which workflow step your application is in, and stores an event log of data that is passed between application components.

That means that if networks fail or components hang, your application can pick up right where it left off.

 

Workflow as state machine

 

Create using Amazon state language

 

you can run a serverless workflow on a time-based schedule.

 

Amazon CloudWatch Events provides a near real-time stream of system events that describe the changes and notifications for your AWS resources.

From this stream, you can create rules to route specific events to AWS Step Functions and invoke a state machine to perform further processing.

AWS Step Functions allows you to coordinate multiple services into serverless workflows so you can build and update automated processes quickly.

Wednesday, March 3, 2021

403 Forbidden static web hosting on AWS S3

I encounterd an error while making the bucket for static webhosting on AWS S3. Made the below update in the policy and it worked fine. Done on the aws console.
Thanks to stack overflow ;)
{
  "Version":"2012-10-17",
  "Statement":[{
    "Sid":"PublicReadGetObject",
    "Effect":"Allow",
    "Principal": "*",
    "Action":["s3:GetObject"],
    "Resource":["arn:aws:s3:::example.com/*"]
  }]
}

Substitute the bucket name example.com with your bucket name
 

 Recommended Reading

S3 CreateBucket Error: unspecified location constraint is incompatible for the region specific endpoint

If you ever encounterd below error while creating bucket?
 

An error occurred (IllegalLocationConstraintException) when calling the CreateBucket operation: The unspecified location constraint is incompatible for the region specific endpoint this request was sent to.

 

I got this error when trying to run this command in the AWS CLI and the region specifiied is us-east-2

 

aws s3api create-bucket --bucket yourbucketname --region us-east-2
 
Solution:
 
You need to specify the location constaint for every region except us-east-1. so I have tried the below command and it worked. Here I specified the location constraint.
 
aws s3api create-bucket --bucket yourbucketname --region us-east-2 --create-bucket-configuration LocationConstraint=us-east-2
 
This worked!