Backup and restore Cron Jobs_SP_96.xmind
Run Feature Launch manually , if got error
Run Feature Launch manualy , if got error
open Azuew Storage Expoler
click add button >{"LauncherId": 99} > ok
Feature launch clear data
1 update [dbo].[FeatureToggles] set [FeatureLaunchId] = null
2 update [dbo].[FeatureToggles] set [IsLaunched] = 0
3 Delete from [dbo].[WebstoreFeatureToggles]
4 Delete [dbo].[FeatureLaunches]
Add feature launch
SendGrid
Go to azure
Search SCCSMTP001
click Open SaaS Account on publisher’s site
settings > sender authentication > click show more.
Fastly
https://manage.fastly.com/home
Fastly
https://www.microsoft365.com/apps?auth=2&home=1
heart 1
Sign in to your account
change CloudConfigs FastlyEnableForNewInstallation value to false
update [dbo].[CloudConfigs] set[Value] = 'false' where [key] = 'FastlyEnableForNewInstallation'
restart app
STAGING-WORKER-WEBAPP-PLATFORM-01
cypress typescript Advane
convert string to type
simple Key, Value pair array
convert response object to Key value by Object entres
Remove visible sensitive data SP 107 2023.11.07
- Go to the Azure portal https://portal.azure.com/#home
- go to "Key vaults"
- Search EA Sana dev Platform
- SanaPlatform-staging
then go to Secret > select any value
eg: ApplicationSecrets-AzureWebJobStorage
secret value kept as encrypted
and authorized users can change the sensitive data from here. without hardcoding at the code level.
two types of jobs
1 Azure portal job (Keep)
2 operation Kubernetes (backup, upgrade, retry, extend trial)
eg:
now in App.config files don't keep any data,
all the details are kept in userSecretsFile.
userSecretsFile location is "C:\\home\\secrets.xml" (only use for Azure jobs)
by reading those data it will fill the appSettings Key value details
file inside secrets.xml
Access Token Single sign Login
Problem : Single sign-on users unable to acess the Sana Platform APIs.
Solution: Intraduce the Personal Access Token feature
This feature is designed to help users who use Single Sign-On but can't access the Sana Platform APIs .
The problem arises because when you log in through Single Sign-On, user don't need to enter a password for the Platform portal.
This means these users can't use the "/api/v1/accounts/authentication-token" API to generate an "Access Token" and use other APIs.
Update Role permission>
Personal Access Token > Manage Personal Access Token
after granting the permission ,usser able use the personal access token feature as folowing
- Click Personal Access Token (under profile image)
- Click Create Token> fill details > save
- Copy User access Token.(token will only appier one time)
- user can create multiple access tokens (currently 5 records)
Dynatrace
Dynatarce is a 3rd party application which used to
monitor and identify security vulnerabilities on Sana platform-hosted Webstores.
1 instralltion/ webstore has 1 app
The only basic requirement is hosting level should be Live (Saas/Customized).
Beta will not monitor.
But if you change the BETA webstore hosting level to LIVE, then monitoring will be available.
and if you change LIVE webstore to BETA, then monitoring will not be available. (but the app will remain)
it will monitor
- monitor main Webstores , eg : CY_Test
- monitor its domains separately
- ctest@sana.commerce.com
- ctest2@sana.commerce.com
- ctest3@sana.test.commerce.com
Go to > https://bol50726.live.dynatrace.com/ui/dashboards?gtf=-2h&gf=all
change environment
- installation of a Live webstore
- update domain
- region change
- Hosting Level change
Sales Demo source
https://staging-platform.sana-commerce.com/Webstore/Index?webstoreId=60122
file:///D:/KT%20Recordings/Sales%20Demo%20source%20Related.webm
Sana operate 3 regions :- US ,West Europe, Asia Pacifica
Create 3 new sites (replicate) form Main Site (Sales Demo Source) and assign it to sales Team on US ,West Europe, Asia Pacifica
as Destination one ,Destination Two,Destination Three
ERP servers run Nederland 12.00AM.
This Sits are created for Sales Teams Demo ,Presentation purposely,
so after end of the day from Platform Portal ,we reset/restore the Destination Sites again back as fresh sites (restore to Backup1).
Then it will remove all the changes done by Sales team.
site should use latest Versions with (latest Changes )
with the latest update manual backup should be created by Core Team
sites will be Ring 0
only sales Demo Source site can have 2 manual backup
use Database Flage as (isSalesDemoSource)
when this flag is available Db content and addon Packeages also Backup.
App pool vm size
https://portal.azure.com/#home > Kubernetes services
select/search the correct cluster according to webstore.
configure STAGING-PROD-CLUSTER-WEU-01 ,verify 3 cron job
- Go to azure > Kubernetes services
- select PLATFORM-DEV-STAGING-CLUSTER-WEU-01
- open power shell on pc > az login > click connect > copy run commands


