<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sota Fujimoto on Medium]]></title>
        <description><![CDATA[Stories by Sota Fujimoto on Medium]]></description>
        <link>https://medium.com/@sota.fujimoto?source=rss-9e7b41898e08------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*6iSpGw4Bg34UyuwG</url>
            <title>Stories by Sota Fujimoto on Medium</title>
            <link>https://medium.com/@sota.fujimoto?source=rss-9e7b41898e08------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 08:53:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sota.fujimoto/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How We Craft Tailored Notification Experiences: A Peek into Our Simple In-House Solution]]></title>
            <link>https://medium.com/wealthpark-engineering/how-we-craft-tailored-notification-experiences-a-peek-into-our-simple-in-house-solution-684f68a6681f?source=rss-9e7b41898e08------2</link>
            <guid isPermaLink="false">https://medium.com/p/684f68a6681f</guid>
            <category><![CDATA[wealthpark]]></category>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[backend]]></category>
            <dc:creator><![CDATA[Sota Fujimoto]]></dc:creator>
            <pubDate>Wed, 06 Dec 2023 10:09:42 GMT</pubDate>
            <atom:updated>2026-06-13T07:25:19.582Z</atom:updated>
            <content:encoded><![CDATA[<p>by <a href="https://www.linkedin.com/in/sota-fujimoto/">Sota Fujimoto</a>, a Backend SWE at WealthPark</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*H4CTNN7pmLlAhCyYv7DPJg.jpeg" /></figure><p>Welcome to an insightful journey as I share my experiences since joining a new team in October.</p><p>This article, while less technical than our usual posts on the tech blog, offers a glimpse into my inaugural project — a venture into crafting customizable notification experiences. Whether you’re a newcomer to our tech blog or a seasoned reader, join me in exploring the practical aspects and key components of our in-house solution.</p><h3>Background</h3><h4>About the Team</h4><p>The backend team I recently joined operates within the business domain of our direct clients in a business schema best described as “B2B2C.” In this model, our company assumes the role of the initial “B,” providing a platform for intermediary businesses (our direct clients) to seamlessly engage with end consumers (“C”).</p><p>While our primary focus revolves around catering to the needs of our clients, our approach is inherently cross-functional. This means that our team collaborates not only on client-specific solutions but also extends its expertise to the end consumer domain and tackles common technical challenges that impact both spheres. Our goal is to develop comprehensive backend solutions that empower our clients to navigate and optimize interactions within the B2B2C ecosystem, fostering success across the board.</p><h4>The Need for Customization</h4><p>As we delve into the intricacies of digital communication, the imperative for customization becomes evident. In the realm of our B2B2C model, our clients often find the need to send notifications to their customers, whether it be through emails or other forms of communication.</p><p>These notifications serve as a vital means of keeping end consumers informed about relevant actions taken by our clients or the customers themselves within our digital platform. Recognizing the diverse nature of these interactions, our clients demand a flexible solution that allows them to tailor notifications based on specific actions, ensuring a seamless communication flow.</p><p>This inherent need became the catalyst for our venture into building a service, providing our team with the tools to efficiently manage and customize the notification content according to their unique requirements.</p><h3>Introducing the Service</h3><p>Our Notification Management App serves as a centralized hub for our team to effortlessly customize and manage notifications on behalf of our clients.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k-dRnSOFjo6i2W0Rsxjm1Q.png" /><figcaption>Yes, its GUI doesn’t look fancy…You know we are Backend Developers</figcaption></figure><p>Every client is allocated its dedicated instance of the service, providing our team with an exclusive space for customization in response to client requests. Each instance comes pre-loaded with default templates that align with the natural demands of their specific business model, serving as a convenient starting point for further customization.</p><h3>Key Features</h3><h4>Template Customization</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7TJHMsBX3AkSq_ZmSFAXiQ.png" /></figure><p>The primary purpose of this solution is to empower non-engineers to effortlessly customize various elements within notification templates. Designed for those who directly communicate with clients, this solution streamlines the template customization process, saving considerable time and effort.</p><p>These customizable fields include:</p><ul><li><strong>Template ID:</strong> Each template is assigned a unique identifier, allowing our teams to easily reference and manage different templates.</li><li><strong>Template Name:</strong> A customizable name for the template, providing clarity and organization within our Notification Service.</li><li><strong>Template Subject:</strong> The subject line of the notification, can be personalized to suit the specific context or purpose of the communication.</li><li><strong>Template Content (HTML):</strong> The content of the notification, formatted in HTML, enables our teams to craft rich and dynamic messages.</li></ul><p>Both the Subject and Content fields support dynamic placeholders, automatically replaced with real-time information from our database upon notification delivery.</p><h4><strong>Real-time Preview</strong></h4><p>To facilitate an intuitive customization process, we incorporated a real-time preview feature. This lets operators instantly visualize how their changes will appear, ensuring a seamless and engaging engineer experience.</p><h4>Attaching Files (PDF)</h4><p>Recognizing the need for diverse content in notifications, we’ve incorporated the ability to attach PDF files. This feature empowers operators to include additional information or documentation directly within notifications, enriching the communication process.</p><h4>Activity Monitoring</h4><p>This App actively keeps a close eye on delivering notifications. With an activity monitoring feature, every notification is carefully tracked. If a notification fails, operators can quickly click a button to resend it. This monitoring system significantly improves the reliability of our notification delivery.</p><h4>Manual Notifications</h4><p>For manual control, our Notification Management App allows operators to trigger notifications intentionally. This feature provides flexibility and control, allowing operators to input details, use templates, and specify recipient addresses. Even if there are issues in our other systems, this manual capability ensures the timely dispatch of critical notifications, independent of automated processes.</p><h3>Future Enhancements</h3><p>Looking ahead, we envision expanding the capabilities of the service to provide an even more robust solution.</p><h4>Advanced Customization Options</h4><p>As part of our commitment to providing a highly customizable notification experience, we are working on introducing advanced options that go beyond basic content and formatting. These advanced customization options will include the ability to attach metadata to emails, such as:</p><ul><li><strong>Sender’s Name or Address:</strong> Enable customization of the sender’s information to align with specific communication needs.</li><li><strong>BCC (Blind Carbon Copy):</strong> Provide the option to include BCC recipients for increased transparency or specialized tracking.</li><li><strong>Reply-To:</strong> Allow customization of the reply-to address, enhancing communication channels and streamlining recipient responses.</li></ul><h4>Multi-Channel Support</h4><p>While the service currently supports the email format, we recognize the importance of diversifying communication channels. In our pursuit of comprehensive multi-channel support, we are actively exploring the integration of additional transport types, such as SMS and In-App Notifications.</p><p>This expansion aims to provide the flexibility to choose the most effective communication channel for different scenarios, ensuring a cohesive brand experience across various platforms. By adopting these additional transport types, we aim to create a more versatile solution.</p><h3>Conclusion</h3><p>In wrapping this article up, our in-house solution may not boast flashy visuals, but it’s the silent hero behind the scenes. Complemented by activity monitoring and manual control options, Our focus on simplicity, template flexibility, and real-time previews reflects our commitment to addressing the unique needs of our clients. As we look ahead, we’re dedicated to improving our solution with advanced customization options, multi-channel support, and so on.</p><p>Stay Tuned for this journey as we continue to explore enhancements, ensuring our notifications evolve in step with the changing demands of our business domain.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=684f68a6681f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/wealthpark-engineering/how-we-craft-tailored-notification-experiences-a-peek-into-our-simple-in-house-solution-684f68a6681f">How We Craft Tailored Notification Experiences: A Peek into Our Simple In-House Solution</a> was originally published in <a href="https://medium.com/wealthpark-engineering">WealthPark Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Centralized Management of Amazon S3 Resources Using GitLab CI/CD Pipelines and Its Precautions]]></title>
            <link>https://medium.com/wealthpark-engineering/centralized-management-of-amazon-s3-resources-using-gitlab-ci-cd-pipelines-and-its-precautions-70d46767d748?source=rss-9e7b41898e08------2</link>
            <guid isPermaLink="false">https://medium.com/p/70d46767d748</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[wealthpark]]></category>
            <category><![CDATA[gitlab]]></category>
            <dc:creator><![CDATA[Sota Fujimoto]]></dc:creator>
            <pubDate>Mon, 16 Oct 2023 13:22:04 GMT</pubDate>
            <atom:updated>2023-10-16T23:54:43.320Z</atom:updated>
            <content:encoded><![CDATA[<p>by <a href="https://www.linkedin.com/in/sota-fujimoto/">Sota Fujimoto</a>, a Backend SWE at WealthPark</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KvCRA-YBtWzxS6wRNmhJlg.jpeg" /><figcaption>Eye of the Storm Image from Outer Space</figcaption></figure><p>Managing S3 buckets and objects can be cumbersome.</p><p>Amazon Simple Storage Service (S3) is a powerful cloud storage solution that offers scalable and durable data storage. However, as your cloud infrastructure grows, so does the complexity of managing your S3 resources. This is where GitLab CI/CD comes to the rescue.</p><p>This article explores how you can leverage GitLab CI/CD pipelines to centralize and automate the management of your S3 Contents, making your cloud storage infrastructure more efficient and secure. Additionally, some measures to be taken into account during the execution of this process are addressed.</p><h3>Case Study</h3><p>Imagine you have an application that relies on S3 to store user uploads, configuration files, or even application binaries. Traditionally, managing these resources might involve manual steps or separate scripts that handle resource provisioning, file uploads, and permissions management.</p><p>Now, consider the introduction of GitLab CI/CD pipelines into this scenario; that will empower you to streamline these processes, ensuring that your application and its associated S3 assets are always in sync.</p><p>Here are the steps to achieve this integration:</p><h4>1. Repository Organization</h4><p>Ensure that your GitLab repository is well-organized. Create dedicated directories or folders within your repository to house the scripts, configurations, and other assets related to your S3 resource management. This keeps your codebase clean and maintains a clear separation between your application code and S3 management components.</p><h4>2. AWS IAM Roles and Policies</h4><p>Review AWS IAM (Identity and Access Management) roles and policies that provide your CI/CD pipeline with the necessary permissions to manage S3 contents. These policies should be restrictive and follow the principle of least privilege.</p><p>Then, <a href="https://docs.gitlab.com/ee/ci/cloud_deployment/#authenticate-gitlab-with-aws">authenticate GitLab with AWS</a>.</p><h4>3. GitLab CI/CD Setup</h4><p>Define the CI/CD pipeline in your GitLab repository’s .gitlab-ci.yml file. This file specifies the stages and jobs needed to manage S3 resources.</p><blockquote>A typical pipeline might consist of four stages, executed in the following order:</blockquote><blockquote>・A <em>build</em> stage, with a job called <em>compile</em>.<br>・A <em>test</em> stage, with two jobs called <em>test1</em> and <em>test2</em>.<br>・A <em>staging</em> stage, with a job called <em>deploy-to-stage</em>.<br>・A <em>production</em> stage, with a job called <em>deploy-to-prod</em>.</blockquote><blockquote>— <a href="https://docs.gitlab.com/ee/ci/pipelines/">Gitlab CI/CD pipelines</a></blockquote><p>You can extend this general pipeline to include stages and jobs for managing your S3 assets. These CI/CD stages can handle tasks like creating buckets, uploading files, and setting permissions, ensuring that S3 management becomes an integral part of your development workflow.</p><p><strong>Example: Uploading Files to S3</strong></p><p>Here is how to upload files to an Amazon S3 bucket using GitLab CI/CD. We’ll use the popular AWS CLI to implement this.</p><pre>deploy_to_s3:<br>  stage: deploy<br>  script:<br>    - aws s3api put-object<br>      --bucket my-s3-bucket<br>      --key script.js<br>      --body script.js</pre><p>In this example:</p><ol><li>We define a single job called deploy_to_s3 within the deploy stage of our CI/CD pipeline.</li><li>In the script section, we use the AWS CLI’s aws s3api put-object command to upload a single file (script.js) to the specified S3 bucket (my-s3-bucket).</li></ol><ul><li>--key script.js specifies the name of the object in the S3 bucket.</li><li>--body script.js specifies the file in your Gitlab repository to be uploaded to the S3 bucket.</li></ul><p>You can adapt and expand on this example to fit your specific requirements, referring to <a href="https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/put-object.html">the official documentation</a>.</p><h3>Precautions</h3><p>Though it is highly effective to centralize the management of S3 resources using GitLab CI/CD pipelines, there are some important safety and reliability tips you should keep in mind.</p><h4>Secrets Management</h4><p>Managing sensitive contents like configurations for your application is critical for security. You can store those in your repository setting by using <a href="https://docs.gitlab.com/ee/ci/variables/index.html#use-file-type-cicd-variables">file-type CI/CD variables</a>.</p><p>File-type variables can then be utilized as environment variables in CI/CD jobs. In the illustration below, AWS_S3_OBJECT_SECRETS is file-type.</p><pre>deploy_secrets_to_s3:<br>  stage: deploy<br>  script:<br>    - aws s3api put-object<br>      --bucket ${BUCKET_SECRETS}<br>      --key secrets.js<br>      --body ${AWS_S3_OBJECT_SECRETS}</pre><p>Please note that secret variables cannot be version-controlled directly in your Git repository, as they are meant to be stored securely outside the repository to prevent exposure of sensitive information.</p><h4>Test Dependencies</h4><p>It is important to isolate S3 resources used in test stages from those in production to prevent accidental damage to production or failures of deployments. To implement this, you can copy the files in your repository.</p><p>GitLab CI/CD supports Bash/Shell commands, enabling the straightforward duplication and application of objects in the test stages.</p><pre>.test:<br>  stage: test<br>  script:<br>    - cp script.js /test/script.js<br>    - #run tests using /test/script.js</pre><p>Another possible solution is to create separate S3 buckets dedicated to testing. However, it might not be ideal, as it could disrupt the order of CI/CD jobs by necessitating deployment before the production stages.</p><h3>Conclusion</h3><p>This article discusses how GitLab CI/CD pipelines can simplify the management of S3 buckets and objects as well as its precautions mentioned earlier to maintain security and reliability.</p><p>There is still room for improvement about both what’s written here and what’s been done for our CI/CD, but having said that, it is good at least we treat some S3 resources the same way, just as we version-control codes in our GitLab repository.</p><p>We look forward to witnessing the ongoing development of our CI/CD infrastructure, which will empower and enhance the experiences of our engineering teams.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70d46767d748" width="1" height="1" alt=""><hr><p><a href="https://medium.com/wealthpark-engineering/centralized-management-of-amazon-s3-resources-using-gitlab-ci-cd-pipelines-and-its-precautions-70d46767d748">Centralized Management of Amazon S3 Resources Using GitLab CI/CD Pipelines and Its Precautions</a> was originally published in <a href="https://medium.com/wealthpark-engineering">WealthPark Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>