Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 72 additions & 11 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,83 @@
---
# This workflow will execute on pull request to dev branch

name: pr-workflow
name: dev-branch

on:
pull_request:
push:
branches:
- dev

jobs:
build:
maven-build-job:
runs-on: ubuntu-latest

permissions:
contents: read
packages: write
security-events: write

steps:
- name: get the code
uses: actions/checkout@v6
- name: setup java
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'temurin'
- name: cache maven dependencies
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: java
- name: package the code
run: mvn clean package
- name: Perform code quality analysis
uses: github/codeql-action/analyze@v4
- name: upload JAR as artifact
uses: actions/upload-artifact@v4
with:
name: petclinic-jar
path: target/*.jar

docker-build-job:
runs-on: ubuntu-latest
steps:
- name: get the code
uses: actions/checkout@v6
- name: compile the code
run: mvn compile
- name: test the code
run: mvn test
- name: create the package
run: mvn package
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: build docker image
uses: docker/build-push-action@v7
with:
push: false
tags: "shaik2025/springbootexample-mar26:latest"
# This workflow will execute on pull request to dev branch

# name: pr-workflow

# on:
# pull_request:
# branches:
# - dev

# jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - name: get the code
# uses: actions/checkout@v6
# - name: compile the code
# run: mvn compile
# - name: test the code
# run: mvn test
# - name: create the package
# run: mvn clean package
# - name: publish the test results
# uses: EnricoMi/publish-unit-test-result-action@v2
# with:
# files: "**/target/surefire-reports/**/*.xml"
# comment_mode: always
196 changes: 196 additions & 0 deletions .sfdx/tools/sobjects/standardObjects/Account.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
// This file is generated as an Apex representation of the
// corresponding sObject and its fields.
// This read-only file is used by the Apex Language Server to
// provide code smartness, and is deleted each time you
// refresh your sObject definitions.
// To edit your sObjects and their fields, edit the corresponding
// .object-meta.xml and .field-meta.xml files.

global class Account {
global Id Id;
global Boolean IsDeleted;
global Account MasterRecord;
global Id MasterRecordId;
global String Name;
global String Type;
global Account Parent;
global Id ParentId;
global String BillingStreet;
global String BillingCity;
global String BillingState;
global String BillingPostalCode;
global String BillingCountry;
global Double BillingLatitude;
global Double BillingLongitude;
global String BillingGeocodeAccuracy;
global Address BillingAddress;
global String ShippingStreet;
global String ShippingCity;
global String ShippingState;
global String ShippingPostalCode;
global String ShippingCountry;
global Double ShippingLatitude;
global Double ShippingLongitude;
global String ShippingGeocodeAccuracy;
global Address ShippingAddress;
global String Phone;
global String Fax;
global String AccountNumber;
global String Website;
global String PhotoUrl;
global String Sic;
global String Industry;
global Decimal AnnualRevenue;
global Integer NumberOfEmployees;
global String Ownership;
global String TickerSymbol;
global String Description;
global String Rating;
global String Site;
global User Owner;
global Id OwnerId;
global Datetime CreatedDate;
global User CreatedBy;
global Id CreatedById;
global Datetime LastModifiedDate;
global User LastModifiedBy;
global Id LastModifiedById;
global Datetime SystemModstamp;
global Date LastActivityDate;
global Datetime LastViewedDate;
global Datetime LastReferencedDate;
global String Jigsaw;
global String JigsawCompanyId;
global String CleanStatus;
global String AccountSource;
global String DunsNumber;
global String Tradestyle;
global String NaicsCode;
global String NaicsDesc;
global String YearStarted;
global String SicDesc;
global DandBCompany DandbCompany;
global Id DandbCompanyId;
global OperatingHours OperatingHours;
global Id OperatingHoursId;
global List<Account> ChildAccounts;
global List<AccountCleanInfo> AccountCleanInfos;
global List<AccountContactRole> AccountContactRoles;
global List<AccountFeed> Feeds;
global List<AccountHistory> Histories;
global List<AccountPartner> AccountPartnersFrom;
global List<AccountPartner> AccountPartnersTo;
global List<AccountShare> Shares;
global List<ActivityHistory> ActivityHistories;
global List<AlternativePaymentMethod> AlternativePaymentMethods;
global List<Asset> Assets;
global List<Asset> ProvidedAssets;
global List<Asset> ServicedAssets;
global List<AssociatedLocation> AssociatedLocations;
global List<AttachedContentDocument> AttachedContentDocuments;
global List<Attachment> Attachments;
global List<AuthorizationFormConsent> AuthorizationFormConsents;
global List<AuthorizationFormConsent> RelatedAuthorizationFormConsents;
global List<CardPaymentMethod> CardPaymentMethods;
global List<Case> Cases;
global List<CollaborationGroupRecord> RecordAssociatedGroups;
global List<CombinedAttachment> CombinedAttachments;
global List<CommSubscriptionConsent> CommSubscriptionConsents;
global List<Contact> Contacts;
global List<ContactPointAddress> ContactPointAddresses;
global List<ContactPointEmail> ContactPointEmails;
global List<ContactPointPhone> ContactPointPhones;
global List<ContactRequest> ContactRequests;
global List<ContentDocumentLink> ContentDocumentLinks;
global List<Contract> Contracts;
global List<CreditMemo> CreditMemos;
global List<DigitalWallet> DigitalWallets;
global List<DuplicateRecordItem> DuplicateRecordItems;
global List<EmailMessage> Emails;
global List<Entitlement> Entitlements;
global List<EntitySubscription> FeedSubscriptionsForEntity;
global List<Event> Events;
global List<Expense> Expenses;
global List<FinanceBalanceSnapshot> FinanceBalanceSnapshots;
global List<FinanceTransaction> FinanceTransactions;
global List<Invoice> Invoices;
global List<MaintenancePlan> MaintenancePlans;
global List<MessagingEndUser> MessagingEndUsers;
global List<MessagingSession> MessagingSessions;
global List<Note> Notes;
global List<NoteAndAttachment> NotesAndAttachments;
global List<OpenActivity> OpenActivities;
global List<Opportunity> Opportunities;
global List<OpportunityPartner> OpportunityPartnersTo;
global List<Order> Orders;
global List<Partner> PartnersFrom;
global List<Partner> PartnersTo;
global List<Payment> Payments;
global List<PaymentAuthAdjustment> PaymentAuthAdjustments;
global List<PaymentAuthorization> PaymentAuthorizations;
global List<PaymentLineInvoice> PaymentLinesInvoice;
global List<ProcessInstance> ProcessInstances;
global List<ProcessInstanceHistory> ProcessSteps;
global List<ProductRequest> ProductRequests;
global List<ProductRequestLineItem> ProductRequestLineItems;
global List<RecordAction> RecordActions;
global List<RecordActionHistory> RecordActionHistories;
global List<Refund> Refunds;
global List<RefundLinePayment> RefundLinePayments;
global List<ResourcePreference> ResourcePreferences;
global List<ReturnOrder> ReturnOrders;
global List<ScorecardAssociation> ScorecardAssociations;
global List<ServiceAppointment> ServiceAppointmentAccount;
global List<ServiceAppointment> ServiceAppointments;
global List<ServiceContract> ServiceContracts;
global List<ServiceResource> ServiceResources;
global List<Swarm> Swarms;
global List<SwarmMember> SwarmMembers;
global List<Task> Tasks;
global List<TopicAssignment> TopicAssignments;
global List<User> Users;
global List<WorkOrder> WorkOrders;
global List<WorkPlanSelectionRule> WorkPlanSelectionRules;
global List<AIInsightValue> SobjectLookupValue;
global List<AIRecordInsight> Target;
global List<AccountChangeEvent> Parent;
global List<AccountContactRoleChangeEvent> Account;
global List<AssetChangeEvent> AssetProvidedBy;
global List<AssetChangeEvent> AssetServicedBy;
global List<AuthorizationFormConsentChangeEvent> ConsentGiver;
global List<AuthorizationFormConsentChangeEvent> RelatedRecord;
global List<CampaignMember> LeadOrContact;
global List<CaseChangeEvent> Account;
global List<CommSubscriptionConsentChangeEvent> ConsentGiver;
global List<ContactChangeEvent> Account;
global List<ContactPointAddressChangeEvent> Parent;
global List<ContentDistribution> RelatedRecord;
global List<ContentDocumentLinkChangeEvent> LinkedEntity;
global List<ContentVersion> FirstPublishLocation;
global List<ContractChangeEvent> Account;
global List<EmailMessageChangeEvent> RelatedTo;
global List<EntitlementChangeEvent> Account;
global List<EventChangeEvent> What;
global List<EventRelationChangeEvent> Relation;
global List<ExpenseChangeEvent> Account;
global List<FeedComment> Parent;
global List<FinanceBalanceSnapshotChangeEvent> Account;
global List<FlowExecutionErrorEvent> ContextRecord;
global List<FlowOrchestrationWorkItem> RelatedRecord;
global List<Lead> ConvertedAccount;
global List<MaintenancePlanChangeEvent> Account;
global List<OutgoingEmail> RelatedTo;
global List<PaymentMethod> Account;
global List<ResourcePreferenceChangeEvent> RelatedRecord;
global List<ReturnOrderChangeEvent> Account;
global List<ServiceAppointmentChangeEvent> ParentRecord;
global List<ServiceContractChangeEvent> Account;
global List<TaskChangeEvent> What;
global List<UserChangeEvent> Account;
global List<UserRole> PortalAccount;
global List<WorkOrderChangeEvent> Account;

global Account ()
{
}
}
25 changes: 25 additions & 0 deletions .sfdx/tools/sobjects/standardObjects/AccountHistory.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// This file is generated as an Apex representation of the
// corresponding sObject and its fields.
// This read-only file is used by the Apex Language Server to
// provide code smartness, and is deleted each time you
// refresh your sObject definitions.
// To edit your sObjects and their fields, edit the corresponding
// .object-meta.xml and .field-meta.xml files.

global class AccountHistory {
global Id Id;
global Boolean IsDeleted;
global Account Account;
global Id AccountId;
global User CreatedBy;
global Id CreatedById;
global Datetime CreatedDate;
global String Field;
global String DataType;
global Object OldValue;
global Object NewValue;

global AccountHistory ()
{
}
}
Loading