Skip to main content
Skip table of contents

Business Calendar API Configurations & Deployment

Overview

The Business Calendar application is a comprehensive scheduling tool designed for businesses to manage events and shifts efficiently.

Key Features
  1. Event Management

    • Create, update, and delete events

    • Support for various event types (business hours, holidays, out of office)

    • Recurring events with customizable recurrence rules

  2. Shift Management

    • Schedule shifts with start and end times

    • Support for different shift types (morning, evening, night)

  3. Technical Implementation

  • Backend: Java with MongoDB for data storage

Business Calendar Component Deployment

Step 1: Clone the repository

CODE
git clone -b 4.5.1 https://gitlab.expertflow.com/cim/cim-solution.git

 

Step 2: Update configMap

  1. Open cim-solution/kubernetes/cim/ConfigMaps/ef-business-calendar-configmap.yaml file and add the following parameters

  2. CODE
      MAX_EVENT_LIMIT_RECURRING_INSTANCES: "365"
      MONGO_DB_NAME: business_calendars_db



Step 3: Update FQDN

Expertflow CX should be accessible by a fully qualified domain name. Assign the FQDN that resolves to the control plane node or KubeVIP.

Replace <FQDN> with your FQDN for Expertflow CX and run this command.

CODE
sed -i 's/devops[0-9]*.ef.com/<FQDN>/g' ConfigMaps/* Ingresses/nginx/* Ingresses/traefik/*

Step 4: Pull Image Mannualy

 

CODE
CONTAINERD_ADDRESS=/run/k3s/containerd/containerd.sock /var/lib/rancher/rke2/bin/ctr  -n k8s.io i pull -u saifullah:saifullah96 gigitimages.expertflow.com/cim/business-calendar/build:4.3_f-CIM-15248-3760a21b2d912d51c78160cf631d6eabff2b65a1


Step 5: Update Deployment

CODE
kubectl apply -f ConfigMaps/ef-business-calendar-configmap.yaml
kubectl apply -f Services/ef-business-calendar-service.yaml
kubectl apply -f Deployments/ef-business-calendar-deployment.yaml
#Apply Ingresses 
#for RKE
kubectl apply -f Ingresses/nginx/ef-business-calendar.yaml
#or 
#for Traefik
kubectl apply -f Ingresses/traefik/ef-business-calendar-Ingress.yaml

Business Calendar APIs

Business Calendars APIs.postman_collection.json

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.