实现文件夹加密后别人无法找到自已的重要excel文件的方法(excel无法加密您的文件)
532
2022-05-29
问题
productLayout2Page.jsp和product detail page的绑定关系在Hybris WCMS cockpit什么地方能够找到
点击了product list里的product image,会跳转到detail page:
target jsp的url在这个方法里计算出来:
算出来的结果:
也就是这个文件:
问题
productLayout2Page.jsp和product detail page的绑定关系在WCMS cockpit什么地方能够找到?
这两天内部transfer忙着交接,没有及时回复。
productLayout2Page.jsp和product detail page的绑定关系是在以下的impex里面插入的
INSERT_UPDATE PageTemplate;$contentCV[unique=true];uid[unique=true];name;frontendTemplateName;restrictedPageTypes(code);active[default=true] ;;ProductDetailsPageTemplate;Product Details Page Template;product/productLayout2Page;ProductPage
依据个人经验,wcms主要还是要领会思路,不要迷失在具体的代码里,因为画面是自动生成的。
WCMS–Page template–componentslot–component–cmsproductlistcomponent.jsp–productListerItem.tag
确实,这里注释写的很清楚。
登录Google Cloud platform,创建一个新的Kubernetes Cluster:
该集群的node个数选择为1,从Machine type下拉列表里选择CPU配置:
展开Advanced Edit,选择该Kubernetes集群安装所在的操作系统的镜像类型:
选择ubuntu,磁盘类型选择SSD:
点击Create,得到一个Kubernetes cluster:
The images for these containers will be pulled from the public Docker repository and store. The containers will be connected to each other and have some ports exposed to the internet.
Kubernetes集群创建好之后,点击Connect,
即可在Google Cloud Shell里用kubectl命令行访问这个Kubernetes cluster:
创建一个新的secret:
kubectl create secret docker-registry docker-secret --docker-server=https://index.docker.io/v1/ --docker-username=jerry password=jerrywang --docker-email=jerry.wang@gmail.com
在Google Cloud platform的Kubernetes cluster上,新建一个hxe.yaml文件:
将如下内容拷贝进yaml文件:
kind: ConfigMap apiVersion: v1 metadata: creationTimestamp: 2018-01-18T19:14:38Z name: hxe-pass data: password.json: |+ {"master_password" : "HXEHana1"} --- kind: PersistentVolume apiVersion: v1 metadata: name: persistent-vol-hxe labels: type: local spec: storageClassName: manual capacity: storage: 150Gi accessModes: - ReadWriteOnce hostPath: path: "/data/hxe_pv" --- kind: PersistentVolumeClaim apiVersion: v1 metadata: name: hxe-pvc spec: storageClassName: manual accessModes: - ReadWriteOnce resources: requests: storage: 50Gi --- apiVersion: apps/v1 kind: Deployment metadata: name: hxe labels: name: hxe spec: selector: matchLabels: run: hxe app: hxe role: master tier: backend replicas: 1 template: metadata: labels: run: hxe app: hxe role: master tier: backend spec: initContainers: - name: install image: busybox command: [ 'sh', '-c', 'chown 12000:79 /hana/mounts' ] volumeMounts: - name: hxe-data mountPath: /hana/mounts volumes: - name: hxe-data persistentVolumeClaim: claimName: hxe-pvc - name: hxe-config configMap: name: hxe-pass imagePullSecrets: - name: docker-secret containers: - name: hxe-container image: "store/saplabs/hanaexpress:2.00.033.00.20180925.2" ports: - containerPort: 39013 name: port1 - containerPort: 39015 name: port2 - containerPort: 39017 name: port3 - containerPort: 8090 name: port4 - containerPort: 39041 name: port5 - containerPort: 59013 name: port6 args: [ "--agree-to-sap-license", "--dont-check-system", "--passwords-url", "file:///hana/hxeconfig/password.json" ] volumeMounts: - name: hxe-data mountPath: /hana/mounts - name: hxe-config mountPath: /hana/hxeconfig - name: sqlpad-container image: "sqlpad/sqlpad" ports: - containerPort: 3000 --- apiVersion: v1 kind: Service metadata: name: hxe-connect labels: app: hxe spec: type: LoadBalancer ports: - port: 39013 targetPort: 39013 name: port1 - port: 39015 targetPort: 39015 name: port2 - port: 39017 targetPort: 39017 name: port3 - port: 39041 targetPort: 39041 name: port5 selector: app: hxe --- apiVersion: v1 kind: Service metadata: name: sqlpad labels: app: hxe spec: type: LoadBalancer ports: - port: 3000 targetPort: 3000 protocol: TCP name: sqlpad selector: app: hxe
第77行指定了HANA express对应的容器镜像文件:
“store/saplabs/hanaexpress:2.00.033.00.20180925.2”
使用命令行创建资源:
kubectl create -f hxe.yaml:
创建成功,使用命令行kubectl describe pods查看成功创建的资源:
使用命令行查看数据库是否成功启动:
kubectl logs deployment/hxe -c hxe-container
看到startup finished的消息,说明启动成功:
使用命令行进入pod内部,得到shell:
kubectl exec -it <
打开SQL console:
hdbsql -i 90 -d systemdb -u SYSTEM -p HXEHana1
JSP Kubernetes
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。