Skip to content

Commit

Permalink
Merge branch 'main' into NIT-1448-alfresco-move-reindexing-job
Browse files Browse the repository at this point in the history
  • Loading branch information
georgepstaylor committed Aug 9, 2024
2 parents 487f39d + d976aba commit 675fff3
Show file tree
Hide file tree
Showing 5 changed files with 2,263 additions and 0 deletions.
1 change: 1 addition & 0 deletions kustomize/base/patch-ingress-repository.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: delius-alfresco-cs-repository
name: alfresco-content-services-alfresco-cs-repository
annotations:
external-dns.alpha.kubernetes.io/aws-weight: "100"
kubernetes.io/ingress.class: default
Expand Down
25 changes: 25 additions & 0 deletions kustomize/base/patch-job-reindexing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: batch/v1
kind: Job
metadata:
name: alfresco-content-services-alfresco-search-enterprise-reindexing
spec:
template:
spec:
containers:
- name: alfresco-search-enterprise-reindexing # Update this with the actual container name
volumeMounts:
- name: prefixes-file-volume
mountPath: /alf/reindex.prefixes-file.json
subPath: reindex.prefixes-file.json
env:
- name: ALFRESCO_REINDEX_PREFIXES_FILE
value: file:///alf/reindex.prefixes-file.json
- name: SPRING_DATASOURCE_URL
valueFrom:
secretKeyRef:
name: rds-instance-output
key: RDS_JDBC_URL
volumes:
- name: prefixes-file-volume
configMap:
name: prefixes-file
78 changes: 78 additions & 0 deletions kustomize/base/reindex-prefixes-config-map.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: prefixes-file
data:
reindex.prefixes-file.json: |
{
"prefixUriMap":{
"":"",
"http://www.alfresco.org/model/aos/1.0":"aos",
"http://www.alfresco.org/model/workflow/invite/nominated/1.0":"inwf",
"http://www.alfresco.org/model/solrfacetcustomproperty/1.0":"srftcustom",
"http://www.alfresco.org/model/datalist/1.0":"dl",
"http://www.alfresco.org/model/webdav/1.0":"webdav",
"http://www.alfresco.org/model/cmis/1.0/cs01ext":"cmisext",
"http://www.alfresco.org/model/distributionpolicies/1.0/model":"dp",
"http://www.alfresco.org/view/repository/1.0":"view",
"http://www.alfresco.org/model/download/1.0":"download",
"http://www.alfresco.org/model/publishing/twitter/1.0":"twitter",
"http://www.alfresco.org/model/action/1.0":"act",
"http://www.alfresco.org/system/registry/1.0":"reg",
"http://www.alfresco.org/model/user/1.0":"usr",
"http://www.alfresco.org/model/calendar":"ia",
"http://www.alfresco.org":"alf",
"http://www.alfresco.org/model/content/metadata/IPTCXMP/1.0":"iptcxmp",
"http://www.alfresco.org/model/application/1.0":"app",
"http://www.alfresco.org/model/surf/1.0":"surf",
"http://www.alfresco.org/model/versionstore/1.0":"ver",
"http://www.alfresco.org/system/modules/1.0":"module",
"http://www.alfresco.org/model/linksmodel/1.0":"lnk",
"http://iptc.org/std/Iptc4xmpExt/2008-02-29/":"Iptc4xmpExt",
"http://ns.adobe.com/photoshop/1.0/":"photoshop",
"http://www.alfresco.org/model/sync/1.0":"sync",
"http://ns.useplus.org/ldf/xmp/1.0/":"plus",
"http://www.alfresco.org/model/zaizi/gdpr/1.0":"gdpr",
"http://www.alfresco.org/model/remotecredentials/1.0":"rc",
"http://www.alfresco.org/model/emailserver/1.0":"emailserver",
"http://www.alfresco.org/model/hybridworkflow/1.0":"hwf",
"http://www.alfresco.org/model/sitecustomproperty/1.0":"stcp",
"http://www.alfresco.org/model/cmis/1.0/cs01":"cmis",
"http://www.alfresco.org/model/transfer/1.0":"trx",
"http://www.alfresco.org/model/rendition/1.0":"rn",
"http://www.alfresco.org/model/exif/1.0":"exif",
"http://www.alfresco.org/model/publishing/youtube/1.0":"youtube",
"http://ns.adobe.com/xap/1.0/rights/":"xmpRights",
"http://www.alfresco.org/model/custommodelmanagement/1.0":"cmm",
"http://www.alfresco.org/model/workflow/invite/moderated/1.0":"imwf",
"http://www.alfresco.org/model/forum/1.0":"fm",
"http://www.alfresco.org/model/rule/1.0":"rule",
"http://www.alfresco.org/model/publishing/linkedin/1.0":"linkedin",
"http://www.alfresco.org/model/publishing/slideshare/1.0":"slideshare",
"http://www.alfresco.org/model/system/1.0":"sys",
"http://www.alfresco.org/model/content/smartfolder/1.0":"smf",
"http://www.alfresco.org/model/zaizi/nomsspg/1.0":"nspg",
"http://www.alfresco.org/model/workflow/1.0":"wf",
"http://www.alfresco.org/model/qshare/1.0":"qshare",
"http://www.alfresco.org/model/versionstore/2.0":"ver2",
"http://www.alfresco.org/model/solrfacet/1.0":"srft",
"http://www.alfresco.org/model/audio/1.0":"audio",
"http://www.alfresco.org/model/blogintegration/1.0":"blg",
"http://www.alfresco.org/model/bpm/1.0":"bpm",
"http://www.alfresco.org/model/site/1.0":"st",
"http://www.alfresco.org/model/imap/1.0":"imap",
"http://www.alfresco.org/model/dictionary/1.0":"d",
"custom.model":"custom",
"http://www.alfresco.org/model/publishing/facebook/1.0":"facebook",
"http://www.alfresco.org/model/content/1.0":"cm",
"http://www.alfresco.org/model/cmis/custom":"cmiscustom",
"http://www.alfresco.org/model/devicesync/1.0":"devicesync",
"http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/":"Iptc4xmpCore",
"http://www.alfresco.org/model/googledocs/2.0":"gd2",
"http://www.alfresco.org/model/publishing/flickr/1.0":"flickr",
"http://www.alfresco.org/model/workflow/resetpassword/1.0":"resetpasswordwf",
"http://www.alfresco.org/model/cmis/1.0/alfcmis":"alfcmis",
"http://www.alfresco.org/model/publishing/1.0":"pub",
"http://purl.org/dc/elements/1.1/":"dc"
}
}
Loading

0 comments on commit 675fff3

Please sign in to comment.