The document provides instructions on Docker practice including prerequisites, basic Docker commands, running containers from images, committing container changes to new images, logging into Docker Hub and pushing images.
It begins with prerequisites of having Ubuntu 18.04 or higher and installing the latest Docker engine and Docker compose. It then explains that Docker runs processes in isolated containers and uses layered images.
The document demonstrates basic commands like docker version, docker images, docker pull, docker search, docker run, docker ps, docker stop, docker rm and docker rmi. It also shows how to commit container changes to a new image with docker commit, tag and push images to Docker Hub. Other topics covered include docker exec, docker save/load, docker
The document provides instructions for setting up a Kubernetes cluster with one master node and one worker node on VirtualBox. It outlines the system requirements for the nodes, describes how to configure the networking and hostnames, install Docker and Kubernetes, initialize the master node with kubeadm init, join the worker node with kubeadm join, and deploy a test pod. It also includes commands to check the cluster status and remove existing Docker installations.
This document describes how to deploy a Kubernetes cluster on CoreOS virtual machines including setting up the Kubernetes master and nodes. It details installing software packages, configuring Kubernetes components like etcd and flannel, and creating replication controllers and services to deploy applications. The cluster consists of a master and two nodes with nginx pods load balanced across nodes using a QingCloud load balancer.
기존에 저희 회사에서 사용하던 모니터링은 Zabbix 였습니다.
컨테이너 모니터링 부분으로 옮겨가면서 변화가 필요하였고, 이에 대해서 프로메테우스를 활용한 모니터링 방법을 자연스럽게 고민하게 되었습니다.
이에 이영주님께서 테크세션을 진행하였고, 이에 발표자료를 올립니다.
5개의 부분으로 구성되어 있으며, 세팅 방법에 대한 내용까지 포함합니다.
01. Prometheus?
02. Usage
03. Alertmanager
04. Cluster
05. Performance
The document discusses Linux networking commands and tools. It provides examples of using ip commands to view and configure network interfaces, routes, neighbors, and rules. It also shows tcpdump for packet capture and nmap for port scanning. Firewalls are configured using iptables to allow traffic from a specific source to a web server port.
The document provides requirements and sample exam questions for the Red Hat Certified Engineer (RHCE) EX294 exam. It outlines 18 exam questions to test Ansible skills. Key requirements include setting up 5 virtual machines, one as the Ansible control node and 4 managed nodes. The questions cover tasks like Ansible installation, ad-hoc commands, playbooks, roles, vaults and more. Detailed solutions are provided for each question/task.
Troubleshooting Tips from a Docker Support EngineerJeff Anderson
The document discusses various troubleshooting techniques for Docker including using tools like socat and curl to characterize networking and TLS issues, checking container processes and permissions, using volumes to store persistent data, and resolving issues with incorrect localhost references between containers. It also provides examples of troubleshooting issues with a Minecraft server, Ruby application, and Nginx proxy configuration.
Real World Lessons on the Pain Points of Node.js ApplicationsBen Hall
The document discusses several pain points experienced with Node.js applications and solutions for resolving them. It covers creating a strong foundation by upgrading to Node.js v5, locking down NPM dependencies, handling errors properly with try/catch blocks and promises, deploying applications using Docker for scaling, addressing security issues, and using tools like debug and profilers to improve performance.
The document discusses using Docker and Docker Compose to run Python and Django applications. It shows commands for pulling Docker images, running containers, linking databases, mounting volumes, building images, and using Docker Compose to define and run multi-container applications. Key aspects covered include using Dockerfiles to build images, linking containers, mounting host directories as volumes, setting environment variables, and running commands on container startup.
Running Docker in Development & Production (#ndcoslo 2015)Ben Hall
The document discusses running Docker in development and production. It covers:
- Using Docker containers to run individual services like Elasticsearch or web applications
- Creating Dockerfiles to build custom images
- Linking containers together and using environment variables for service discovery
- Scaling with Docker Compose, load balancing with Nginx, and service discovery with Consul
- Clustering containers together using Docker Swarm for high availability
This document provides instructions on how to install Docker Compose and use it to define and run a multi-container Docker application with WordPress and MySQL. It shows downloading and installing Docker Compose, defining the WordPress and MySQL services in a docker-compose.yml file, building a WordPress container image from the Dockerfile, and using Compose to start the containers and link them together.
Web scale infrastructures with kubernetes and flannelpurpleocean
La capacità di rispondere in poche frazioni di secondo alle richieste degli utenti - indipendentemente dal loro numero - è un fattore determinante per il successo dei servizi sul web. Secondo Amazon, bastano 100 millisecondi di latenza nella risposta per generare una perdita economica di circa l'1% sul
fatturato [1]. In base alle statistiche di Google AdWords, inoltre, il 2015 ha sancito l’ufficiale superamento del numero di interazioni mobile rispetto a quelle desktop [2], con la conseguente riduzione della durata media delle sessioni di navigazione web.
In uno scenario di questo tipo, la razionalizzazione dell’utilizzo delle risorse hardware e la capacità di scalare rispetto al numero di utenti sono fattori determinanti per il successo del business.
In questo talk racconteremo la nostra esperienza di migrazione di soluzioni e-commerce di tipo enterprise in Magento da un’architettura basata su VM tradizionali ad una di tipo software-defined basata su Kubernetes, Flannel e Docker. Discuteremo, quindi, delle reali difficoltà da noi incontrate nel porting su container di soluzioni in produzione e daremo evidenza di come, alla fine di questo lungo viaggio, i nostri sforzi siano stati concretamente premiati dall’aumento di resilienza, affidabilità e automazione della soluzione finale.
A supporto della conversazione, mostreremo i risultati dei benchmark da noi condotti per valutare la scalabilità della nuova architettura presentando delle evidenze delle reali capacità di Kubernetes come strumento di orchestrazione di servizi erogati in Docker container.
Concluderemo l’intervento presentando il nostro progetto di distribuzione geografica dei nodi master di Kubernetes facendo uso di reti SD-WAN per garantire performance e continuità di servizio della soluzione.
The document discusses using the Docker Remote API and docker-py Python library to interact with Docker containers remotely. It shows how to generate TLS certificates to securely connect to the Docker daemon, make API calls to list images, pull an image, create and start a container, and check the running container. Python code is provided that uses docker-py to connect over TLS, create and start a container, and verify it is running.
This document discusses various techniques for improving performance of Python web applications, including WSGI, processes, threads, gevent, and asyncio. It explains that WSGI is a standard for Python web servers to interface with frameworks, and that uWSGI and Gunicorn are common WSGI servers. It also discusses how to optimize processes and threads in uWSGI, and how gevent can be used to improve I/O performance by using greenlets instead of native threads. There is no single best approach and performance tuning requires testing different configurations.
Vagrant is a well-known tool for creating development environments in a simple and consistent way. Since we adopted in our organization we experienced several benefits: lower project setup times, better shared knowledge among team members, less wtf moments ;-)
In this session I'd like to share our experience, including but not limited to:
- advanced vagrantfile configuration
- vm configuration tips for dev environment: performance, debug, tuning
- our wtf moments
- puphet/phansilbe: hot or not?
- tips for sharing a box
Hands on Docker - Launch your own LEMP or LAMP stack - SunshinePHPDana Luther
In this tutorial we will go over setting up a standard LEMP stack for development use and learn how to modify it to mimic your production/pre-production environments as closely as possible. We will go over how to switch from Nginx to Apache, upgrade PHP versions and introduce additional storage engines such as Redis to the equation. We'll also step through how to run both unit and acceptance suites using headless Selenium images in the stack. Leave here fully confident in knowing that whatever environment you get thrown into, you can replicate it and work in it comfortably.
DCSF19 Tips and Tricks of the Docker Captains Docker, Inc.
Brandon Mitchell, BoxBoat
Docker Captain Brandon Mitchell will help you accelerate your adoption of Docker containers by delivering tips and tricks on getting the most out of Docker. Topics include managing disk usage, preventing subnet collisions, debugging container networking, understanding image layers, getting more value out of the default volume driver, and solving the UID/GID permission issues with volumes in a way that allows images to be portable from any developer laptop and to production.
This document provides installation instructions for Component Pack 6.0.0.6 across three servers. It details preparing the system by opening required firewall ports, installing prerequisites like Docker and Kubernetes, initializing the master node, joining worker nodes, and installing Helm. It also covers tasks like creating persistent volumes, labeling worker nodes for Elasticsearch, pushing images to the Docker registry, bootstrapping the Kubernetes cluster, and installing the Component Pack connections-env.
Plug-ins: Building, Shipping, Storing, and Running - Nandhini Santhanam and T...Docker, Inc.
At Docker, we are striving to enable the extensibility of Docker via "Plugins" and make them available for developers and enterprises alike. Come attend this talk to understand what it takes to build, ship, store and run plugins. We will deep dive into plugin lifecycle management on a single engine and across a swarm cluster. We will also demonstrate how you can integrate plugins from other enterprises or developers into your ecosystem. There will be fun demos accompanying this talk! This will be session will be beneficial to you if you: 1) Are an ops team member trying to integrate Docker with your favorite storage or network vendor 2) Are Interested in extending or customizing Docker; or 3) Want to become a Docker partner, and want to make the technology integration seamless.
Deploying Windows Containers on Windows Server 2016Ben Hall
This document discusses deploying Docker containers on Windows Server 2016. It provides an introduction to Docker and containers, explains how containers work on Windows, and demonstrates how to deploy common applications like IIS and ASP.NET within Windows containers. It also covers building Windows-based Docker images, running containers in production, and the future of containers on Windows platforms.
This document summarizes the steps to build and run a Docker container for Nginx. It describes creating a Dockerfile that installs Nginx on Ubuntu, builds the image, runs a container from the image mounting a local directory, and commits changes to create a new image version. Key steps include installing Nginx, exposing ports 80 and 443, committing a container to create a new image with added files, and using Docker commands like build, run, commit, diff and inspect.
This document provides an introduction to using Ansible in a top-down approach. It discusses using Ansible to provision infrastructure including load balancers, application servers, and databases. It covers using ad-hoc commands and playbooks to configure systems. Playbooks can target groups of hosts, apply roles to automate common tasks, and allow variables to customize configurations. Selective execution allows running only certain parts of a playbook. Overall the document demonstrates how Ansible can be used to deploy and manage infrastructure and applications in a centralized, automated way.
The Docker network overlay driver relies on several technologies: network namespaces, VXLAN, Netlink and a distributed key-value store. This talk will present each of these mechanisms one by one along with their userland tools and show hands-on how they interact together when setting up an overlay to connect containers.
The talk will continue with a demo showing how to build your own simple overlay using these technologies.
Apache httpd v2.4 is well-suited for cloud environments due to improvements that increase performance, flexibility, and dynamic configuration capabilities. It has been enhanced as a reverse proxy with load balancing and support for additional protocols. Benchmark tests show that for transaction speed, the prefork MPM performs best, though other MPMs are on par for concurrency. Apache remains a robust and customizable web server option.
DCHQ Cloud Application Platform | Linux Containers | Docker PaaSdchq
This document provides instructions for installing DCHQ On-Premise software to automate Docker application deployment and management. It outlines 11 steps: 1) request access to the install script, 2) download the script, 3) ensure your Linux host is supported, 4) run the script, 5) log in and save credentials, 6) update system settings, 7) create a cluster, 8) add a Linux host, 9) create a WordPress application template, 10) set the cluster as default, and 11) deploy WordPress from the library. The script installs Docker if needed, pulls required DCHQ images, runs containers, and configures email and proxy settings.
Setting up the hyperledger composer in ubuntukesavan N B
The document provides steps to set up Hyperledger Composer in Ubuntu by:
1. Installing development tools like composer-cli, generator-hyperledger-composer, and composer-rest-server.
2. Starting Hyperledger Fabric.
3. Creating a business network definition from a sample, modifying files, and defining models and transactions.
4. Building a business network archive (.bna) file.
5. Deploying the .bna file to the running Hyperledger Fabric.
6. Generating a REST API using composer-rest-server to interact with the business network.
Real World Lessons on the Pain Points of Node.js ApplicationsBen Hall
The document discusses several pain points experienced with Node.js applications and solutions for resolving them. It covers creating a strong foundation by upgrading to Node.js v5, locking down NPM dependencies, handling errors properly with try/catch blocks and promises, deploying applications using Docker for scaling, addressing security issues, and using tools like debug and profilers to improve performance.
The document discusses using Docker and Docker Compose to run Python and Django applications. It shows commands for pulling Docker images, running containers, linking databases, mounting volumes, building images, and using Docker Compose to define and run multi-container applications. Key aspects covered include using Dockerfiles to build images, linking containers, mounting host directories as volumes, setting environment variables, and running commands on container startup.
Running Docker in Development & Production (#ndcoslo 2015)Ben Hall
The document discusses running Docker in development and production. It covers:
- Using Docker containers to run individual services like Elasticsearch or web applications
- Creating Dockerfiles to build custom images
- Linking containers together and using environment variables for service discovery
- Scaling with Docker Compose, load balancing with Nginx, and service discovery with Consul
- Clustering containers together using Docker Swarm for high availability
This document provides instructions on how to install Docker Compose and use it to define and run a multi-container Docker application with WordPress and MySQL. It shows downloading and installing Docker Compose, defining the WordPress and MySQL services in a docker-compose.yml file, building a WordPress container image from the Dockerfile, and using Compose to start the containers and link them together.
Web scale infrastructures with kubernetes and flannelpurpleocean
La capacità di rispondere in poche frazioni di secondo alle richieste degli utenti - indipendentemente dal loro numero - è un fattore determinante per il successo dei servizi sul web. Secondo Amazon, bastano 100 millisecondi di latenza nella risposta per generare una perdita economica di circa l'1% sul
fatturato [1]. In base alle statistiche di Google AdWords, inoltre, il 2015 ha sancito l’ufficiale superamento del numero di interazioni mobile rispetto a quelle desktop [2], con la conseguente riduzione della durata media delle sessioni di navigazione web.
In uno scenario di questo tipo, la razionalizzazione dell’utilizzo delle risorse hardware e la capacità di scalare rispetto al numero di utenti sono fattori determinanti per il successo del business.
In questo talk racconteremo la nostra esperienza di migrazione di soluzioni e-commerce di tipo enterprise in Magento da un’architettura basata su VM tradizionali ad una di tipo software-defined basata su Kubernetes, Flannel e Docker. Discuteremo, quindi, delle reali difficoltà da noi incontrate nel porting su container di soluzioni in produzione e daremo evidenza di come, alla fine di questo lungo viaggio, i nostri sforzi siano stati concretamente premiati dall’aumento di resilienza, affidabilità e automazione della soluzione finale.
A supporto della conversazione, mostreremo i risultati dei benchmark da noi condotti per valutare la scalabilità della nuova architettura presentando delle evidenze delle reali capacità di Kubernetes come strumento di orchestrazione di servizi erogati in Docker container.
Concluderemo l’intervento presentando il nostro progetto di distribuzione geografica dei nodi master di Kubernetes facendo uso di reti SD-WAN per garantire performance e continuità di servizio della soluzione.
The document discusses using the Docker Remote API and docker-py Python library to interact with Docker containers remotely. It shows how to generate TLS certificates to securely connect to the Docker daemon, make API calls to list images, pull an image, create and start a container, and check the running container. Python code is provided that uses docker-py to connect over TLS, create and start a container, and verify it is running.
This document discusses various techniques for improving performance of Python web applications, including WSGI, processes, threads, gevent, and asyncio. It explains that WSGI is a standard for Python web servers to interface with frameworks, and that uWSGI and Gunicorn are common WSGI servers. It also discusses how to optimize processes and threads in uWSGI, and how gevent can be used to improve I/O performance by using greenlets instead of native threads. There is no single best approach and performance tuning requires testing different configurations.
Vagrant is a well-known tool for creating development environments in a simple and consistent way. Since we adopted in our organization we experienced several benefits: lower project setup times, better shared knowledge among team members, less wtf moments ;-)
In this session I'd like to share our experience, including but not limited to:
- advanced vagrantfile configuration
- vm configuration tips for dev environment: performance, debug, tuning
- our wtf moments
- puphet/phansilbe: hot or not?
- tips for sharing a box
Hands on Docker - Launch your own LEMP or LAMP stack - SunshinePHPDana Luther
In this tutorial we will go over setting up a standard LEMP stack for development use and learn how to modify it to mimic your production/pre-production environments as closely as possible. We will go over how to switch from Nginx to Apache, upgrade PHP versions and introduce additional storage engines such as Redis to the equation. We'll also step through how to run both unit and acceptance suites using headless Selenium images in the stack. Leave here fully confident in knowing that whatever environment you get thrown into, you can replicate it and work in it comfortably.
DCSF19 Tips and Tricks of the Docker Captains Docker, Inc.
Brandon Mitchell, BoxBoat
Docker Captain Brandon Mitchell will help you accelerate your adoption of Docker containers by delivering tips and tricks on getting the most out of Docker. Topics include managing disk usage, preventing subnet collisions, debugging container networking, understanding image layers, getting more value out of the default volume driver, and solving the UID/GID permission issues with volumes in a way that allows images to be portable from any developer laptop and to production.
This document provides installation instructions for Component Pack 6.0.0.6 across three servers. It details preparing the system by opening required firewall ports, installing prerequisites like Docker and Kubernetes, initializing the master node, joining worker nodes, and installing Helm. It also covers tasks like creating persistent volumes, labeling worker nodes for Elasticsearch, pushing images to the Docker registry, bootstrapping the Kubernetes cluster, and installing the Component Pack connections-env.
Plug-ins: Building, Shipping, Storing, and Running - Nandhini Santhanam and T...Docker, Inc.
At Docker, we are striving to enable the extensibility of Docker via "Plugins" and make them available for developers and enterprises alike. Come attend this talk to understand what it takes to build, ship, store and run plugins. We will deep dive into plugin lifecycle management on a single engine and across a swarm cluster. We will also demonstrate how you can integrate plugins from other enterprises or developers into your ecosystem. There will be fun demos accompanying this talk! This will be session will be beneficial to you if you: 1) Are an ops team member trying to integrate Docker with your favorite storage or network vendor 2) Are Interested in extending or customizing Docker; or 3) Want to become a Docker partner, and want to make the technology integration seamless.
Deploying Windows Containers on Windows Server 2016Ben Hall
This document discusses deploying Docker containers on Windows Server 2016. It provides an introduction to Docker and containers, explains how containers work on Windows, and demonstrates how to deploy common applications like IIS and ASP.NET within Windows containers. It also covers building Windows-based Docker images, running containers in production, and the future of containers on Windows platforms.
This document summarizes the steps to build and run a Docker container for Nginx. It describes creating a Dockerfile that installs Nginx on Ubuntu, builds the image, runs a container from the image mounting a local directory, and commits changes to create a new image version. Key steps include installing Nginx, exposing ports 80 and 443, committing a container to create a new image with added files, and using Docker commands like build, run, commit, diff and inspect.
This document provides an introduction to using Ansible in a top-down approach. It discusses using Ansible to provision infrastructure including load balancers, application servers, and databases. It covers using ad-hoc commands and playbooks to configure systems. Playbooks can target groups of hosts, apply roles to automate common tasks, and allow variables to customize configurations. Selective execution allows running only certain parts of a playbook. Overall the document demonstrates how Ansible can be used to deploy and manage infrastructure and applications in a centralized, automated way.
The Docker network overlay driver relies on several technologies: network namespaces, VXLAN, Netlink and a distributed key-value store. This talk will present each of these mechanisms one by one along with their userland tools and show hands-on how they interact together when setting up an overlay to connect containers.
The talk will continue with a demo showing how to build your own simple overlay using these technologies.
Apache httpd v2.4 is well-suited for cloud environments due to improvements that increase performance, flexibility, and dynamic configuration capabilities. It has been enhanced as a reverse proxy with load balancing and support for additional protocols. Benchmark tests show that for transaction speed, the prefork MPM performs best, though other MPMs are on par for concurrency. Apache remains a robust and customizable web server option.
DCHQ Cloud Application Platform | Linux Containers | Docker PaaSdchq
This document provides instructions for installing DCHQ On-Premise software to automate Docker application deployment and management. It outlines 11 steps: 1) request access to the install script, 2) download the script, 3) ensure your Linux host is supported, 4) run the script, 5) log in and save credentials, 6) update system settings, 7) create a cluster, 8) add a Linux host, 9) create a WordPress application template, 10) set the cluster as default, and 11) deploy WordPress from the library. The script installs Docker if needed, pulls required DCHQ images, runs containers, and configures email and proxy settings.
Setting up the hyperledger composer in ubuntukesavan N B
The document provides steps to set up Hyperledger Composer in Ubuntu by:
1. Installing development tools like composer-cli, generator-hyperledger-composer, and composer-rest-server.
2. Starting Hyperledger Fabric.
3. Creating a business network definition from a sample, modifying files, and defining models and transactions.
4. Building a business network archive (.bna) file.
5. Deploying the .bna file to the running Hyperledger Fabric.
6. Generating a REST API using composer-rest-server to interact with the business network.
The document provides an overview and cheat sheet for using the OpenShift command line interface. It defines what OpenShift is, lists common commands for login/authentication, managing projects and resources, building and deploying applications, and provides an example of creating a new project, adding users, building an application from source code and image, and checking the status of deployed resources.
The document discusses software composition and dependency management in PHP projects. It provides information on project dependencies, managing third-party code and licenses, monitoring code quality and vulnerabilities, and maintaining a product lifecycle for updates and security fixes. Key aspects covered include dependency trees, release roadmaps, vulnerability analysis tools, outdated packages, license checks, and OWASP recommendations for component analysis.
Frank Macreery, Aptible CTO, gives Ruby devs an introduction to Docker, simplifying service-oriented architecture, wrapping databases in a uniform API, and achieving the Holy Grail of dev/prod parity.
The document provides an overview of the logical architecture of Kubernetes. It describes the main components that make up the Kubernetes control plane (API server, scheduler, etc.) and Kubernetes workers, as well as core Kubernetes objects like pods, replica sets, deployments, services, ingress and configmaps/secrets. It also touches on controllers, operators, Kubernetes manifests and provides an example manifest configuration.
Mastering Microservices with Kong (DevoxxUK 2019)Maarten Mulders
When architecting microservice solutions, you'll often find yourself struggling with cross-cutting concerns. Think security, rate limiting, access control, monitoring, location-aware routing… Things can quickly become a nightmare.
The API Gateway pattern can help you solve such problems in an elegant and uniform way. Using Kong, an open source product, you can get started today. In this session we'll look at the why and how of this approach.
The 12 facets of the OpenAPI standard.pdfCisco DevNet
We introduce the OpenAPI Specifications (OAS) and how Cisco Products leverage this industry standard to drive API quality and state-of-the-art developer experience. We then describe OpenAPI best practices, tools and processes available to the developer community. Join this session to discover the misjudged values that come with the OpenAPI specifications,and explore the many ways your software development and automation teams can benefit from the OpenAPI standard.
Supply Chain Security for Containerised Workloads - Lee Chuk MunnNUS-ISS
Containers have emerged as an indispensable component of modern cloud-native applications, serving diverse roles from development environments to application distribution and deployment on platforms like Azure's App Service and Kubernetes. In this presentation, we will delve into a suite of powerful tools designed to ensure the adoption of best practices in container management. You'll gain insights into how to scan container images rigorously, identifying and mitigating vulnerabilities effectively. We'll also explore the art of generating comprehensive software bill of materials (SBOM) for your containers and the significance of signing container images for enhanced security. The ultimate goal of this presentation is to empower you with the knowledge and skills necessary to seamlessly integrate these tools and practices into your CI (Continuous Integration) pipelines. By the end of this session, you'll be well-equipped to fortify your container workflows, delivering secure and robust cloud-native applications that thrive in today's dynamic digital landscape.
18 facets of the OpenAPI specification - Cisco Live US 2023Cisco DevNet
We introduce the OpenAPI Specification (OAS) and how Cisco Products leverage this industry standard to drive API quality and state-of-the-art developer experience. We present OpenAPI best practices, tools and processes available to the developer community, and some of the benefits for Cisco API consumers. Join this session to discover the misjudged values that come with the OpenAPI specification, and explore the many ways your software development and automation teams can benefit from OpenAPI with better quality and security.
Sebastien Thomas, System Architect at Coyote Amerique, gave a presentation on operator frameworks. His talk covered how Operator SDK can be used to create Kubernetes Operators with Go.
PVS-Studio: analyzing pull requests in Azure DevOps using self-hosted agentsAndrey Karpov
Static code analysis is most effective when changing a project, as errors are always more difficult to fix in the future than at an early stage. We continue expanding the options for using PVS-Studio in continuous development systems. This time, we'll show you how to configure pull request analysis using self-hosted agents in Microsoft Azure DevOps, using the example of the Minetest game.
The document provides an overview of the Hyperledger Composer architecture, which includes client-side and blockchain-side components. Client-side components like the playground and CLI allow developing and testing business networks. Blockchain-side components include the runtime, which exposes business networks on various blockchain platforms, and connectors that provide standardized interfaces to interact with networks. Key parts include business network definitions, deployment of networks and runtime to platforms, and use of connection profiles to select appropriate connectors.
Presented by: Jason Mimick
Technical Director, MongoDB
MongoDB Ops Manager is an enterprise-grade end-to-end database management, monitoring, and backup solution. Kubernetes has clearly won the orchestration-platform "wars". In this session we'll take a deep dive on how you can leverage both these technologies to host your MongoDB deployments within your Kubernetes infrastructure whether that's OpenShift, PKS, Azure AKS, or just upstream. This talk will review the core technologies, such as containers, Kubernetes, and MongoDB Ops Manager. You'll also have a chance to see real-live demos of MongoDB running on Kubernetes and managed with MongoDB Ops Manager with the MongoDB Enterprise Kubernetes Operator.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Join us to discover how to use the PHP frameworks and tools you love in the Cloud with Heroku. We will cover best practices for deploying and scaling your PHP apps and show you how easy it can be. We will show you examples of how to deploy your code from Git and use Composer to manage dependencies during deployment. You will also discover how to maintain parity through all your environments, from development to production. If your apps are database-driven, you can also instantly create a database from the Heroku add-ons and have it automatically attached to your PHP app. Horizontal scalability has always been at the core of PHP application design, and by using Heroku for your PHP apps, you can focus on code features, not infrastructure.
Jump into Squeak - Integrate Squeak projects with Docker & Githubhubx
☛ Install Squeak and dependencies using Docker to avoid complex installation steps
☛ Extend Monticello to use Git for version control and collaboration by adding a MCGitHubRepository class
☛ Saves to Git automatically during Monticello commits, allowing changes to be pushed to a GitHub repository with a single commit
Continuous Security: From tins to containers - now what!Michael Man
The document discusses securing containers throughout their lifecycle from selection of base images and configuration to runtime. It emphasizes applying security controls at each stage including static analysis of Dockerfiles, scanning of images for vulnerabilities, and using admission controllers in Kubernetes to enforce policies for privileges, network access, and resource usage. The document demonstrates potential security risks if containers are not secured properly and provides examples of admission controllers and best practices to mitigate those risks in Kubernetes.
ESM Asset Model FlexConnector Developer's Guide for ESM 6.8cProtect724v3
The document provides instructions on installing and configuring the Asset Model Import FlexConnector to import asset model data from CSV files into the ArcSight ESM network model. It describes prerequisites, supported platforms, installing the connector, configuring it with CSV file locations and parsers, and setting the model import user. An example CSV format and default parser template are also provided.
이더리움 기반 DApp 개발과 스마트 계약 실습 (ERC20,ERC721,ERC1155,ERC1400)wonyong hwang
이더리움 스마트컨트랙트 기초 및 실습
DApp 실습(투표, ICO 등)
ERC-20,ERC-712,ERC-1155-ERC-1400, Multi-Sig 등 실습
- Introduction to Ethereum Smart Contracts and Practical Exercises
- DApp Development Practice (Voting, ICO, etc.)
- Hands-on Practice with ERC-20, ERC-721, ERC-1155, ERC-1400, Multi-Sig, and More
이더리움 플랫폼의 솔리디티로 구현되는 스마트 컨트랙트의 취약을 분석하는 도구를 소개합니다. 무료이면서 많이 사용하는 Mythril과 Slither를 아주 간단히 소개하는 자료입니다.
Let me introduce a tool to analyze the vulnerabilities of smart contracts implemented as solidarity on the Ethereum platform. This is a very brief introduction to Mythril and Slider, which are free and used a lot.
kubernetes baremetal installation and practicewonyong hwang
Virtual Box 에서 Ubuntu 22.04 기반으로 1 Control plane과 1 Worker 노드로 구성하는 Kubertetes 실습 교안입니다. 기초 부터 Ingress까지 다룹니다.
This is a Kubertets hands-on teaching material that consists of 1 Control plane and 1 Worker node based on Ubuntu 22.04 in Virtual Box. It covers from basics to Ingress.
Hyperledger Besu 빨리 따라하기 (Private Networks)wonyong hwang
Hyperledger Besu의 Private Networks에서 진행하는 실습입니다. 주요 내용은 공식 문서인https://besu.hyperledger.org/private-networks/tutorials 의 내용에서 발췌하였으며, Privacy Enabled Network와 Permissioned Network까지 다루고 있습니다.
This is a training session at Hyperledger Besu's Private Networks, with the main content excerpts from the official document besu.hyperledger.org/private-networks/tutorials and even covers the Private Enabled and Permitted Networks.
하이퍼레저 페이지 단위 블록 조회(How to retrieve data more than totalQueryLimit)
- 블록 데이터 조회가 한 번의 요청에 10만건으로 제한이 되는 제약이 있는 상황에서 이를 페이징처리하여 조회할 수 있는 방법을 다룹니다.(It deals with how block data queries can be paged and queried in situations where there is a limit of 100,000 requests per time request.)
The document provides instructions for setting up Kubernetes on two VMs (master and worker nodes) using VirtualBox. It describes the minimum requirements for the VMs and outlines the steps to configure networking and install Kubernetes, container runtime (containerd), and CNI (Flannel). The steps covered include setting up NAT and host-only networking in VirtualBox, configuring the hosts file, installing Kubernetes packages (kubeadm, kubelet, kubectl), initializing the master node with kubeadm, joining the worker node to the cluster, and deploying a sample pod.
The document provides instructions for deploying a smart contract to a Hyperledger Fabric network using the test network. It describes installing required tools, starting the test network, creating a channel, installing and approving a chaincode package on the channel, and interacting with the deployed chaincode. Key steps include packaging the Java chaincode, installing it on peer nodes from Org1 and Org2, approving the definition from Org1, and invoking/querying transactions on the channel.
This document discusses using the Confluent REST Proxy to interact with a Kafka cluster when a Kafka client library is not available. It provides instructions for installing the REST Proxy, configuring it to connect to an existing Zookeeper and Kafka deployment, and examples of sending and receiving messages to topics using REST APIs. The REST Proxy provides an alternative to using a Kafka client directly when client libraries are not options, but it has fewer configuration options and may not perform as well for high volumes of traffic.
Kafka monitoring using Prometheus and Grafanawonyong hwang
Kafka Cluster를 모니터링 하기 위한 Prometheus 설정을 가이드하고, 이를 시각화하기 위해 Grafana를 연동하는 방법을 설명합니다.
Guide Prometheus settings for monitoring the Kafka Cluster and explain how to work with Grafana to visualize them.
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxshyamraj55
We’re bringing the TDX energy to our community with 2 power-packed sessions:
🛠️ Workshop: MuleSoft for Agentforce
Explore the new version of our hands-on workshop featuring the latest Topic Center and API Catalog updates.
📄 Talk: Power Up Document Processing
Dive into smart automation with MuleSoft IDP, NLP, and Einstein AI for intelligent document workflows.
Quantum Computing Quick Research Guide by Arthur MorganArthur Morgan
This is a Quick Research Guide (QRG).
QRGs include the following:
- A brief, high-level overview of the QRG topic.
- A milestone timeline for the QRG topic.
- Links to various free online resource materials to provide a deeper dive into the QRG topic.
- Conclusion and a recommendation for at least two books available in the SJPL system on the QRG topic.
QRGs planned for the series:
- Artificial Intelligence QRG
- Quantum Computing QRG
- Big Data Analytics QRG
- Spacecraft Guidance, Navigation & Control QRG (coming 2026)
- UK Home Computing & The Birth of ARM QRG (coming 2027)
Any questions or comments?
- Please contact Arthur Morgan at [email protected].
100% human made.
What is Model Context Protocol(MCP) - The new technology for communication bw...Vishnu Singh Chundawat
The MCP (Model Context Protocol) is a framework designed to manage context and interaction within complex systems. This SlideShare presentation will provide a detailed overview of the MCP Model, its applications, and how it plays a crucial role in improving communication and decision-making in distributed systems. We will explore the key concepts behind the protocol, including the importance of context, data management, and how this model enhances system adaptability and responsiveness. Ideal for software developers, system architects, and IT professionals, this presentation will offer valuable insights into how the MCP Model can streamline workflows, improve efficiency, and create more intuitive systems for a wide range of use cases.
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersToradex
Toradex brings robust Linux support to SMARC (Smart Mobility Architecture), ensuring high performance and long-term reliability for embedded applications. Here’s how:
• Optimized Torizon OS & Yocto Support – Toradex provides Torizon OS, a Debian-based easy-to-use platform, and Yocto BSPs for customized Linux images on SMARC modules.
• Seamless Integration with i.MX 8M Plus and i.MX 95 – Toradex SMARC solutions leverage NXP’s i.MX 8 M Plus and i.MX 95 SoCs, delivering power efficiency and AI-ready performance.
• Secure and Reliable – With Secure Boot, over-the-air (OTA) updates, and LTS kernel support, Toradex ensures industrial-grade security and longevity.
• Containerized Workflows for AI & IoT – Support for Docker, ROS, and real-time Linux enables scalable AI, ML, and IoT applications.
• Strong Ecosystem & Developer Support – Toradex offers comprehensive documentation, developer tools, and dedicated support, accelerating time-to-market.
With Toradex’s Linux support for SMARC, developers get a scalable, secure, and high-performance solution for industrial, medical, and AI-driven applications.
Do you have a specific project or application in mind where you're considering SMARC? We can help with Free Compatibility Check and help you with quick time-to-market
For more information: https://www.toradex.com/computer-on-modules/smarc-arm-family
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxJustin Reock
Building 10x Organizations with Modern Productivity Metrics
10x developers may be a myth, but 10x organizations are very real, as proven by the influential study performed in the 1980s, ‘The Coding War Games.’
Right now, here in early 2025, we seem to be experiencing YAPP (Yet Another Productivity Philosophy), and that philosophy is converging on developer experience. It seems that with every new method we invent for the delivery of products, whether physical or virtual, we reinvent productivity philosophies to go alongside them.
But which of these approaches actually work? DORA? SPACE? DevEx? What should we invest in and create urgency behind today, so that we don’t find ourselves having the same discussion again in a decade?
Dev Dives: Automate and orchestrate your processes with UiPath MaestroUiPathCommunity
This session is designed to equip developers with the skills needed to build mission-critical, end-to-end processes that seamlessly orchestrate agents, people, and robots.
📕 Here's what you can expect:
- Modeling: Build end-to-end processes using BPMN.
- Implementing: Integrate agentic tasks, RPA, APIs, and advanced decisioning into processes.
- Operating: Control process instances with rewind, replay, pause, and stop functions.
- Monitoring: Use dashboards and embedded analytics for real-time insights into process instances.
This webinar is a must-attend for developers looking to enhance their agentic automation skills and orchestrate robust, mission-critical processes.
👨🏫 Speaker:
Andrei Vintila, Principal Product Manager @UiPath
This session streamed live on April 29, 2025, 16:00 CET.
Check out all our upcoming Dev Dives sessions at https://community.uipath.com/dev-dives-automation-developer-2025/.
Role of Data Annotation Services in AI-Powered ManufacturingAndrew Leo
From predictive maintenance to robotic automation, AI is driving the future of manufacturing. But without high-quality annotated data, even the smartest models fall short.
Discover how data annotation services are powering accuracy, safety, and efficiency in AI-driven manufacturing systems.
Precision in data labeling = Precision on the production floor.
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfAbi john
Analyze the growth of meme coins from mere online jokes to potential assets in the digital economy. Explore the community, culture, and utility as they elevate themselves to a new era in cryptocurrency.
Artificial Intelligence is providing benefits in many areas of work within the heritage sector, from image analysis, to ideas generation, and new research tools. However, it is more critical than ever for people, with analogue intelligence, to ensure the integrity and ethical use of AI. Including real people can improve the use of AI by identifying potential biases, cross-checking results, refining workflows, and providing contextual relevance to AI-driven results.
News about the impact of AI often paints a rosy picture. In practice, there are many potential pitfalls. This presentation discusses these issues and looks at the role of analogue intelligence and analogue interfaces in providing the best results to our audiences. How do we deal with factually incorrect results? How do we get content generated that better reflects the diversity of our communities? What roles are there for physical, in-person experiences in the digital world?
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfSoftware Company
Explore the benefits and features of advanced logistics management software for businesses in Riyadh. This guide delves into the latest technologies, from real-time tracking and route optimization to warehouse management and inventory control, helping businesses streamline their logistics operations and reduce costs. Learn how implementing the right software solution can enhance efficiency, improve customer satisfaction, and provide a competitive edge in the growing logistics sector of Riyadh.
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxAnoop Ashok
In today's fast-paced retail environment, efficiency is key. Every minute counts, and every penny matters. One tool that can significantly boost your store's efficiency is a well-executed planogram. These visual merchandising blueprints not only enhance store layouts but also save time and money in the process.
TrsLabs - Fintech Product & Business ConsultingTrs Labs
Hybrid Growth Mandate Model with TrsLabs
Strategic Investments, Inorganic Growth, Business Model Pivoting are critical activities that business don't do/change everyday. In cases like this, it may benefit your business to choose a temporary external consultant.
An unbiased plan driven by clearcut deliverables, market dynamics and without the influence of your internal office equations empower business leaders to make right choices.
Getting things done within a budget within a timeframe is key to Growing Business - No matter whether you are a start-up or a big company
Talk to us & Unlock the competitive advantage
AI and Data Privacy in 2025: Global TrendsInData Labs
In this infographic, we explore how businesses can implement effective governance frameworks to address AI data privacy. Understanding it is crucial for developing effective strategies that ensure compliance, safeguard customer trust, and leverage AI responsibly. Equip yourself with insights that can drive informed decision-making and position your organization for success in the future of data privacy.
This infographic contains:
-AI and data privacy: Key findings
-Statistics on AI data privacy in the today’s world
-Tips on how to overcome data privacy challenges
-Benefits of AI data security investments.
Keep up-to-date on how AI is reshaping privacy standards and what this entails for both individuals and organizations.
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPathCommunity
Join this UiPath Community Berlin meetup to explore the Orchestrator API, Swagger interface, and the Test Manager API. Learn how to leverage these tools to streamline automation, enhance testing, and integrate more efficiently with UiPath. Perfect for developers, testers, and automation enthusiasts!
📕 Agenda
Welcome & Introductions
Orchestrator API Overview
Exploring the Swagger Interface
Test Manager API Highlights
Streamlining Automation & Testing with APIs (Demo)
Q&A and Open Discussion
Perfect for developers, testers, and automation enthusiasts!
👉 Join our UiPath Community Berlin chapter: https://community.uipath.com/berlin/
This session streamed live on April 29, 2025, 18:00 CET.
Check out all our upcoming UiPath Community sessions at https://community.uipath.com/events/.
Procurement Insights Cost To Value Guide.pptxJon Hansen
Procurement Insights integrated Historic Procurement Industry Archives, serves as a powerful complement — not a competitor — to other procurement industry firms. It fills critical gaps in depth, agility, and contextual insight that most traditional analyst and association models overlook.
Learn more about this value- driven proprietary service offering here.
3. APCPCWM_4828539:WP_0000010WP_0000010APCPCWM_4828539:WP_0000010WP_000001
intro
Hyperledger Composer enables architects and developers to quickly create "full-stack" blockchain
solutions. I.e. business logic that runs on the blockchain, REST APIs that expose the blockchain logic to
web or mobile applications, as well as integrating the blockchain with existing enterprise systems of
record.
source : https://hyperledger.github.io/composer/latest/introduction/solution-architecture.html
20. APCPCWM_4828539:WP_0000010WP_0000010APCPCWM_4828539:WP_0000010WP_000001
Truck 모델 생성
hyper@hwy:~/fabric-tools/kopodeliverysvc/models$ more org.kopo.deliverysvc.truck.cto
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Write your model definitions here
*/
namespace org.kopo.deliverysvc.truck
participant User identified by email {
o String email
}
asset SampleAsset identified by assetId {
o String assetId
o String value
}
transaction ChangeAssetValue {
o String newValue
--> Asset relatedAsset
}
21. APCPCWM_4828539:WP_0000010WP_0000010APCPCWM_4828539:WP_0000010WP_000001
Truck 모델 수정
namespace org.kopo.deliverysvc.truck
/** Kopo has truck*/
asset Truck identified by truckId {
o String truckId // truck plate number
o Ownership ownershipType default="OWNED"
o String location // 차고지
o String fee
o Integer status // 0. not departed 100. departed 200. on delivery
o String memo optional
}
enum Ownership {
o LEASED
o OWNED
}
22. APCPCWM_4828539:WP_0000010WP_0000010APCPCWM_4828539:WP_0000010WP_000001
Participant 모델 생성
namespace org.kopo.deliverysvc.participant
abstract participant KOPOParticipant identified by parcelKey {
o String parcelKey
o String startingPoint
o String endPoint
o String estimatedPrice
o String fee
o Integer status // 0. not departed 100. departed 200. on delivery 300. arrived ...
o String memo optional
}
concept Contact {
o String fName
o String lname
o String email
o String mobile
o String tel
}
participant KOPONetworkAdmin extends KOPOParticipant {
}
participant KOPOCustomer extends KOPOParticipant {
o Contact senderContact
o Contact receiverContact
}
participant KOPOB2BPartner extends KOPOParticipant {
o String kind
}
24. APCPCWM_4828539:WP_0000010WP_0000010APCPCWM_4828539:WP_0000010WP_000001
CLI Tool의 활용 bna 생성
bna 파일 만들기
mkdir dist
composer archive create -a dist/kopodeliverysvc.bna --sourceType dir --
sourceName .
hyper@hwy:~/fabric-tools/kopodeliverysvc$ composer archive create -a dist/kopodeliverysvc1.bna --sourceType dir --sourceName .
Creating Business Network Archive
Looking for package.json of Business Network Definition
Input directory: /home/hyper/fabric-tools/kopodeliverysvc
Found:
Description: kopo delivery service
Name: kopodeliverysvc
Identifier: [email protected]
Written Business Network Definition Archive file to
Output file: dist/kopodeliverysvc1.bna
Command succeeded
package.json 이 위치한 경로에서 실행해야 함
46. APCPCWM_4828539:WP_0000010WP_0000010APCPCWM_4828539:WP_0000010WP_000001
hyper@hwy:~/fabric-tools/kopodeliverysvc$ composer archive create -a dist/kopodeliverysvc.bna --sourceType dir --sourceName .
Creating Business Network Archive
Looking for package.json of Business Network Definition
Input directory: /home/hyper/fabric-tools/kopodeliverysvc
Found:
Description: kopo delivery service
Name: kopodeliverysvc
Identifier: [email protected]
Written Business Network Definition Archive file to
Output file: dist/kopodeliverysvc.bna
Command succeeded
사전 조건 : ./startFabric.sh 실행
hyper@hwy:~/fabric-tools/kopodeliverysvc/dist$ pwd
/home/hyper/fabric-tools/kopodeliverysvc/dist
hyper@hwy:~/fabric-tools/kopodeliverysvc/dist$ ll
total 16
drwxrwxr-x 2 hyper hyper 4096 Sep 27 11:36 ./
drwxrwxr-x 5 hyper hyper 4096 Sep 27 11:34 ../
-rw-rw-r-- 1 hyper hyper 8101 Sep 27 11:35 kopodeliverysvc.bna
hyper@hwy:~/fabric-tools/kopodeliverysvc/dist$ composer network install -a ./kopodeliverysvc.bna -c PeerAdmin@hlfv1
✔ Installing business network. This may take a minute...
Successfully installed business network kopodeliverysvc, version 0.0.1
Command succeeded
47. APCPCWM_4828539:WP_0000010WP_0000010APCPCWM_4828539:WP_0000010WP_000001
hyper@hwy:~/fabric-tools/kopodeliverysvc/dist$ composer network start -n kopodeliverysvc -c PeerAdmin@hlfv1 -V 0.0.1 -A admin -S adminpw
Starting business network kopodeliverysvc at version 0.0.1
Processing these Network Admins:
userName: admin
✔ Starting business network definition. This may take a minute...
Successfully created business network card:
Filename: [email protected]
Command succeeded
Package.json
hyper@hwy:~/fabric-tools/kopodeliverysvc/dist$ composer card import -f [email protected]
Successfully imported business network card
Card file: [email protected]
Card name: admin@kopodeliverysvc
Command succeeded
hyper@hwy:~/fabric-tools/kopodeliverysvc/dist$ ll
total 20
drwxrwxr-x 2 hyper hyper 4096 Sep 27 11:44 ./
drwxrwxr-x 5 hyper hyper 4096 Sep 27 11:34 ../
-rw-rw-r-- 1 hyper hyper 1017 Sep 27 11:44 '[email protected]'
-rw-rw-r-- 1 hyper hyper 8101 Sep 27 11:35 kopodeliverysvc.bna
hyper@hwy:~/fabric-tools/kopodeliverysvc/dist$
48. APCPCWM_4828539:WP_0000010WP_0000010APCPCWM_4828539:WP_0000010WP_000001
hyper@hwy:~$ cd .composer
hyper@hwy:~/.composer$ ll
total 20
drwxrwxr-x 5 hyper hyper 4096 Sep 26 06:13 ./
drwxr-xr-x 10 hyper hyper 4096 Sep 26 08:07 ../
drwxrwxr-x 4 hyper hyper 4096 Sep 27 11:47 cards/
drwxrwxr-x 4 hyper hyper 4096 Sep 27 11:47 client-data/
drwxrwxr-x 2 hyper hyper 4096 Sep 26 06:12 logs/
hyper@hwy:~/.composer$ cd cards/
hyper@hwy:~/.composer/cards$ ll
total 16
drwxrwxr-x 4 hyper hyper 4096 Sep 27 11:47 ./
drwxrwxr-x 5 hyper hyper 4096 Sep 26 06:13 ../
drwxr-x--- 3 hyper hyper 4096 Sep 27 11:47 'admin@kopodeliverysvc'/
drwxr-x--- 3 hyper hyper 4096 Sep 26 06:13 'PeerAdmin@hlfv1'/
hyper@hwy:~/.composer/cards$ cd ~/fabric-tools/kopodeliverysvc/dist/
hyper@hwy:~/fabric-tools/kopodeliverysvc/dist$ composer network ping -c admin@kopodeliverysvc
The connection to the network was successfully tested: kopodeliverysvc
Business network version: 0.0.1
Composer runtime version: 0.20.9
participant: org.hyperledger.composer.system.NetworkAdmin#admin
identity: org.hyperledger.composer.system.Identity#32a89531df78bf0ba5040216314687ba7c6837adf0c315b909da71ced1918cdc
Command succeeded
카드의 위치와 이름 확인
49. APCPCWM_4828539:WP_0000010WP_0000010APCPCWM_4828539:WP_0000010WP_000001
hyper@hwy:~/fabric-tools/kopodeliverysvc/dist$ composer network list -c admin@kopodeliverysvc
✔ List business network from card admin@kopodeliverysvc
models:
- org.hyperledger.composer.system
- org.kopo.deliverysvc.dispatcher
- org.kopo.deliverysvc.participant
- org.kopo.deliverysvc.truck
scripts:
- lib/script.js
registries:
org.kopo.deliverysvc.dispatcher.Dispatcher:
id: org.kopo.deliverysvc.dispatcher.Dispatcher
name: Asset registry for org.kopo.deliverysvc.dispatcher.Dispatcher
registryType: Asset
org.kopo.deliverysvc.truck.Truck:
id: org.kopo.deliverysvc.truck.Truck
name: Asset registry for org.kopo.deliverysvc.truck.Truck
registryType: Asset
org.kopo.deliverysvc.participant.KOPOB2BPartner:
id: org.kopo.deliverysvc.participant.KOPOB2BPartner
name: Participant registry for org.kopo.deliverysvc.participant.KOPOB2BPartner
registryType: Participant
org.kopo.deliverysvc.participant.KOPOCustomer:
id: org.kopo.deliverysvc.participant.KOPOCustomer
name: Participant registry for org.kopo.deliverysvc.participant.KOPOCustomer
registryType: Participant
org.kopo.deliverysvc.participant.KOPONetworkAdmin:
id: org.kopo.deliverysvc.participant.KOPONetworkAdmin
name: Participant registry for org.kopo.deliverysvc.participant.KOPONetworkAdmin
registryType: Participant
Command succeeded
50. APCPCWM_4828539:WP_0000010WP_0000010APCPCWM_4828539:WP_0000010WP_000001
hyper@hwy:~/fabric-tools/kopodeliverysvc/dist$ composer-rest-server -c admin@kopodeliverysvc -n always -w true
Discovering types from business network definition ...
Discovering the Returning Transactions..
Discovered types from business network definition
Generating schemas for all types in business network definition ...
Registering named query: AllDispatchers
Registering named query: AllDispatchersWithSkipLimit
Registering named query: DispatchersOriginAndDestination
Generated schemas for all types in business network definition
Adding schemas for all types to Loopback ...
Swagger: skipping unknown type "org.kopo.deliverysvc.dispatcher.Dispatcher".
Swagger: skipping unknown type "org_kopo_deliverysvc_dispatcher_Route".
Swagger: skipping unknown type "org.kopo.deliverysvc.dispatcher.Dispatcher".
Swagger: skipping unknown type "org.kopo.deliverysvc.dispatcher.Dispatcher".
Swagger: skipping unknown type "org.kopo.deliverysvc.dispatcher.Dispatcher".
Swagger: skipping unknown type "org.kopo.deliverysvc.dispatcher.Dispatcher".
Swagger: skipping unknown type "org.kopo.deliverysvc.dispatcher.Dispatcher".
Swagger: skipping unknown type "org.kopo.deliverysvc.dispatcher.Dispatcher".
Swagger: skipping unknown type "org.kopo.deliverysvc.dispatcher.Dispatcher".
Swagger: skipping unknown type "org.kopo.deliverysvc.dispatcher.Dispatcher".
Swagger: skipping unknown type "org.kopo.deliverysvc.dispatcher.Dispatcher".
Added schemas for all types to Loopback
Web server listening at: http://localhost:3000
Browse your REST API at http://localhost:3000/explorer
localhost:3000/explorer
68. APCPCWM_4828539:WP_0000010WP_0000010APCPCWM_4828539:WP_0000010WP_000001
rule KopoNetworkAdminPermissionSystem {
description: "can READ the system registries"
participant: "ANY"
operation: READ
resource: "org.hyperledger.composer.system.**"
action: ALLOW
}
rule NetworkControlPermission {
description: "give admin ALL access to system resources"
participant: "org.hyperledger.composer.system.NetworkAdmin"
operation: ALL
resource: "org.hyperledger.composer.system.*"
action: ALLOW
}
rule ParticipantRegistryControlPermission {
description: "give admin ALL access to KOPO participant types"
participant: "org.hyperledger.composer.system.NetworkAdmin"
operation: ALL
resource: "org.kopo.deliverysvc.participant.*"
action: ALLOW
}
rule ParticipantRegistryControlPermission2 {
description: "give admin ALL access to KOPO participant types"
participant: "org.kopo.deliverysvc.participant.KOPONetworkAdmin"
operation: ALL
resource: "org.hyperledger.composer.system.*"
action: ALLOW
}
rule ParticipantRegistryControlPermission3 {
description: "give admin ALL access to KOPO participant types"
participant: "org.kopo.deliverysvc.participant.KOPONetworkAdmin"
operation: ALL
resource: "org.kopo.deliverysvc.participant.*"
action: ALLOW
}
1. ACL 추가
composer archive create -a dist/kopodeliverysvc.bna --sourceType dir --sourceName .
composer network install -a dist/kopodeliverysvc.bna -c PeerAdmin@hlfv1
composer network upgrade -n kopodeliverysvc -c PeerAdmin@hlfv1 -V 0.0.3
2. Package.json 버전 수정
3. Bna 재빌드 및 네트워크 배포
69. APCPCWM_4828539:WP_0000010WP_0000010APCPCWM_4828539:WP_0000010WP_000001
rule ParticipantRegistryControlPermission4 {
description: "give admin ALL access to KOPO
participant types"
participant: "org.kopo.deliverysvc.participan
t.KOPONetworkAdmin"
operation: ALL
resource: "org.kopo.deliverysvc.truck.*"
action: ALLOW
}
composer archive create -a dist/kopodeliverysvc.bna --sourceType dir --sourceName .
composer network install -a dist/kopodeliverysvc.bna -c PeerAdmin@hlfv1
composer network upgrade -n kopodeliverysvc -c PeerAdmin@hlfv1 -V 0.0.3
2. Package.json 버전 수정
3. Bna 재빌드 및 네트워크 배포
1. ACL 수정
4. Rest server 실행 (카드명 주의 issue한 카드로 지정)
5. Asset(Truck) 추가 테스트